[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202501082340.1dunPeza-lkp@intel.com>
Date: Wed, 8 Jan 2025 23:32:30 +0800
From: kernel test robot <lkp@...el.com>
To: Yushan Wang <wangyushan12@...wei.com>, xuwei5@...ilicon.com,
yangyicong@...ilicon.com, Jonathan.Cameron@...wei.com,
wangjie125@...wei.com, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, prime.zeng@...ilicon.com,
fanghao11@...wei.com, wangyushan12@...wei.com, linuxarm@...wei.com
Subject: Re: [PATCH 2/2] soc cache: L3 cache lockdown support for HiSilicon
SoC
Hi Yushan,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.13-rc6 next-20250108]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Yushan-Wang/soc-cache-Add-framework-driver-for-HiSilicon-SoC-cache/20250107-213022
base: linus/master
patch link: https://lore.kernel.org/r/20250107132907.3521574-3-wangyushan12%40huawei.com
patch subject: [PATCH 2/2] soc cache: L3 cache lockdown support for HiSilicon SoC
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20250108/202501082340.1dunPeza-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250108/202501082340.1dunPeza-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501082340.1dunPeza-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/soc/hisilicon/hisi_soc_l3c.c: In function 'hisi_read_sccl_and_ccl_id':
>> drivers/soc/hisilicon/hisi_soc_l3c.c:456:21: error: implicit declaration of function 'read_cpuid_mpidr' [-Wimplicit-function-declaration]
456 | u64 mpidr = read_cpuid_mpidr();
| ^~~~~~~~~~~~~~~~
>> drivers/soc/hisilicon/hisi_soc_l3c.c:457:20: error: implicit declaration of function 'MPIDR_AFFINITY_LEVEL' [-Wimplicit-function-declaration]
457 | int aff3 = MPIDR_AFFINITY_LEVEL(mpidr, 3);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/soc/hisilicon/hisi_soc_l3c.c:462:21: error: 'MPIDR_MT_BITMASK' undeclared (first use in this function)
462 | if (mpidr & MPIDR_MT_BITMASK) {
| ^~~~~~~~~~~~~~~~
drivers/soc/hisilicon/hisi_soc_l3c.c:462:21: note: each undeclared identifier is reported only once for each function it appears in
vim +/read_cpuid_mpidr +456 drivers/soc/hisilicon/hisi_soc_l3c.c
453
454 static void hisi_read_sccl_and_ccl_id(int *scclp, int *cclp)
455 {
> 456 u64 mpidr = read_cpuid_mpidr();
> 457 int aff3 = MPIDR_AFFINITY_LEVEL(mpidr, 3);
458 int aff2 = MPIDR_AFFINITY_LEVEL(mpidr, 2);
459 int aff1 = MPIDR_AFFINITY_LEVEL(mpidr, 1);
460 int sccl, ccl;
461
> 462 if (mpidr & MPIDR_MT_BITMASK) {
463 sccl = aff3;
464 ccl = aff2;
465 } else {
466 sccl = aff2;
467 ccl = aff1;
468 }
469
470 *scclp = sccl;
471 *cclp = ccl;
472 }
473
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists