[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202406291547.ZClwWxgs-lkp@intel.com>
Date: Sat, 29 Jun 2024 16:22:41 +0800
From: kernel test robot <lkp@...el.com>
To: Robert Richter <rrichter@....com>,
Dan Williams <dan.j.williams@...el.com>,
Davidlohr Bueso <dave@...olabs.net>,
Jonathan Cameron <jonathan.cameron@...wei.com>,
Dave Jiang <dave.jiang@...el.com>,
Alison Schofield <alison.schofield@...el.com>,
Vishal Verma <vishal.l.verma@...el.com>,
Ira Weiny <ira.weiny@...el.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-cxl@...r.kernel.org, Robert Richter <rrichter@....com>
Subject: Re: [PATCH 5/5] cxl/acpi: Enable address translation for Zen4
platforms
Hi Robert,
kernel test robot noticed the following build errors:
[auto build test ERROR on 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0]
url: https://github.com/intel-lab-lkp/linux/commits/Robert-Richter/cxl-hdm-Moving-HDM-specific-code-to-core-hdm-c/20240629-045739
base: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
patch link: https://lore.kernel.org/r/20240627224615.854162-6-rrichter%40amd.com
patch subject: [PATCH 5/5] cxl/acpi: Enable address translation for Zen4 platforms
config: loongarch-allmodconfig
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build):
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/202406291547.ZClwWxgs-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
drivers/cxl/acpi.c: In function 'is_amd_zen4':
>> drivers/cxl/acpi.c:545:43: error: implicit declaration of function 'boot_cpu_has'; did you mean 'boot_cpu_data'? [-Werror=implicit-function-declaration]
545 | return (IS_ENABLED(CONFIG_X86) && boot_cpu_has(X86_FEATURE_ZEN4));
| ^~~~~~~~~~~~
| boot_cpu_data
>> drivers/cxl/acpi.c:545:56: error: 'X86_FEATURE_ZEN4' undeclared (first use in this function); did you mean 'X86_FEATURE_ANY'?
545 | return (IS_ENABLED(CONFIG_X86) && boot_cpu_has(X86_FEATURE_ZEN4));
| ^~~~~~~~~~~~~~~~
| X86_FEATURE_ANY
drivers/cxl/acpi.c:545:56: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/cxl/acpi.c:546:1: warning: control reaches end of non-void function [-Wreturn-type]
546 | }
| ^
cc1: some warnings being treated as errors
vim +545 drivers/cxl/acpi.c
542
543 static bool is_amd_zen4(void)
544 {
> 545 return (IS_ENABLED(CONFIG_X86) && boot_cpu_has(X86_FEATURE_ZEN4));
> 546 }
547
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
View attachment "reproduce" of type "text/plain" (621 bytes)
View attachment "config" of type "text/plain" (352103 bytes)
Powered by blists - more mailing lists