linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Catalin Marinas <catalin.marinas@arm.com>
Subject: [linux-next:master 6855/7934] drivers/perf/arm_spe_pmu.c:677:7: error: use of undeclared identifier 'ID_AA64DFR0_PMSVER_8_2'
Date: Tue, 20 Sep 2022 15:08:58 +0800	[thread overview]
Message-ID: <202209201518.HcP4DoUZ-lkp@intel.com> (raw)

Hi Mark,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4c9ca5b1597e3222177ba2a94658f78fa5ef4f58
commit: c0357a73fa4a96d8ed9ee46e9927d9fcbc9d0828 [6855/7934] arm64/sysreg: Align field names in ID_AA64DFR0_EL1 with architecture
config: arm64-randconfig-r036-20220919 (https://download.01.org/0day-ci/archive/20220920/202209201518.HcP4DoUZ-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c0357a73fa4a96d8ed9ee46e9927d9fcbc9d0828
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout c0357a73fa4a96d8ed9ee46e9927d9fcbc9d0828
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/clk/rockchip/ drivers/perf/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/perf/arm_spe_pmu.c:677:7: error: use of undeclared identifier 'ID_AA64DFR0_PMSVER_8_2'
           case ID_AA64DFR0_PMSVER_8_2:
                ^
>> drivers/perf/arm_spe_pmu.c:679:7: error: use of undeclared identifier 'ID_AA64DFR0_PMSVER_8_3'
           case ID_AA64DFR0_PMSVER_8_3:
                ^
>> drivers/perf/arm_spe_pmu.c:961:10: error: use of undeclared identifier 'ID_AA64DFR0_PMSVER_SHIFT'
                                                      ID_AA64DFR0_PMSVER_SHIFT);
                                                      ^
   3 errors generated.


vim +/ID_AA64DFR0_PMSVER_8_2 +677 drivers/perf/arm_spe_pmu.c

d5d9696b03808b Will Deacon 2016-09-22  673  
4a669e2432fce9 Wei Li      2020-12-03  674  static u64 arm_spe_pmsevfr_res0(u16 pmsver)
4a669e2432fce9 Wei Li      2020-12-03  675  {
4a669e2432fce9 Wei Li      2020-12-03  676  	switch (pmsver) {
4a669e2432fce9 Wei Li      2020-12-03 @677  	case ID_AA64DFR0_PMSVER_8_2:
4a669e2432fce9 Wei Li      2020-12-03  678  		return SYS_PMSEVFR_EL1_RES0_8_2;
4a669e2432fce9 Wei Li      2020-12-03 @679  	case ID_AA64DFR0_PMSVER_8_3:
4a669e2432fce9 Wei Li      2020-12-03  680  	/* Return the highest version we support in default */
4a669e2432fce9 Wei Li      2020-12-03  681  	default:
4a669e2432fce9 Wei Li      2020-12-03  682  		return SYS_PMSEVFR_EL1_RES0_8_3;
4a669e2432fce9 Wei Li      2020-12-03  683  	}
4a669e2432fce9 Wei Li      2020-12-03  684  }
4a669e2432fce9 Wei Li      2020-12-03  685  

:::::: The code at line 677 was first introduced by commit
:::::: 4a669e2432fce9c01522a8453460e89f877dccd4 drivers/perf: Add support for ARMv8.3-SPE

:::::: TO: Wei Li <liwei391@huawei.com>
:::::: CC: Will Deacon <will@kernel.org>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp


                 reply	other threads:[~2022-09-20  7:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202209201518.HcP4DoUZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox