From: kernel test robot <lkp@intel.com>
To: Yushan Wang <wangyushan12@huawei.com>,
xuwei5@hisilicon.com, yangyicong@hisilicon.com,
Jonathan.Cameron@huawei.com, wangjie125@huawei.com,
linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, prime.zeng@hisilicon.com,
fanghao11@huawei.com, wangyushan12@huawei.com,
linuxarm@huawei.com
Subject: Re: [PATCH 2/2] soc cache: L3 cache lockdown support for HiSilicon SoC
Date: Wed, 8 Jan 2025 23:32:30 +0800 [thread overview]
Message-ID: <202501082340.1dunPeza-lkp@intel.com> (raw)
In-Reply-To: <20250107132907.3521574-3-wangyushan12@huawei.com>
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@intel.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
prev parent reply other threads:[~2025-01-08 15:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-07 13:29 [PATCH 0/2] soc cache: Add support for HiSilicon L3 cache Yushan Wang
2025-01-07 13:29 ` [PATCH 1/2] soc cache: Add framework driver for HiSilicon SoC cache Yushan Wang
2025-01-07 19:05 ` Christophe JAILLET
2025-01-08 9:59 ` wangyushan
2025-01-08 13:54 ` kernel test robot
2025-01-07 13:29 ` [PATCH 2/2] soc cache: L3 cache lockdown support for HiSilicon SoC Yushan Wang
2025-01-08 14:37 ` kernel test robot
2025-01-08 15:32 ` kernel test robot [this message]
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=202501082340.1dunPeza-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=fanghao11@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=prime.zeng@hisilicon.com \
--cc=wangjie125@huawei.com \
--cc=wangyushan12@huawei.com \
--cc=xuwei5@hisilicon.com \
--cc=yangyicong@hisilicon.com \
/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