arch/x86/kernel/cpu/intel_epb.c:208:2: error: use of undeclared identifier 'INTEL_FAM6_RAPTORLAKE_P'
A message that is not in the archive (sent off-list or not yet received): [email protected]
Compostella
I submitted a patch earlier today to linux-power-mgmt(a)eclists.intel.com and linux-drivers-review(a)eclists.intel.com (cf. x86: intel_epb: Set RaptorLake appropriate EPB.
I received the following robot build error. The information shared below does not provide the version of the kernel it applied the patch to and that it tried to build. My understanding is that the family declaration my patch rely on has been introduced in 5.18. Which version is the robot using ? I there way to make it use a 5.18 ?
Regards,
Jeremy
Quoted 33 lines · kernel test robot
tree: internal-linux-review/Compostella-Jeremy/x86-intel_epb-Set-RaptorLake-desired-normal-EPB/20220706-012133 head: be007fa090c5cd552460eb38cca02eb3918afd1c commit: be007fa090c5cd552460eb38cca02eb3918afd1c x86: intel_epb: Set RaptorLake desired normal EPB date: 2 hours ago config: i386-randconfig-a014-20220704 (attached as .config) compiler: clang version 15.0.0 (<https://github.com/llvm/llvm-project> 142aca7741d5b06207e87bf4880fbe308c8d6823)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
git checkoutbe007fa090c5cd552460eb38cca02eb3918afd1c
# save the config file
mkdirbuild_dir&& cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bashIf you fix the issue, kindly add following tag where applicable
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
arch/x86/kernel/cpu/intel_epb.c:208:2: error: use of undeclared identifier 'INTEL_FAM6_RAPTORLAKE_P'X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, 7), ^ arch/x86/include/asm/cpu_device_id.h:161:39: note: expanded from macro 'X86_MATCH_INTEL_FAM6_MODEL' X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data) ^<scratch space>:13:1: note: expanded from here
INTEL_FAM6_RAPTORLAKE_P
^
1 error generated.vim +/INTEL_FAM6_RAPTORLAKE_P +208
arch/x86/kernel/cpu/intel_epb.c
Quoted 7 lines
205 206 static const struct x86_cpu_id intel_epb_normal[] = { 207 X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, 7),Quoted 1 line
208
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, 7),209 {}
210 }; 211
--
Jeremy
One Emacs to rule them all
Chen
Hi Jeremy,
The bot applied the patch to tip/x86/core according to the information in MAINTAINERS files, but the tip/x86/core branch seems old.
21578 X86 ARCHITECTURE (32-BIT AND 64-BIT)
21579 M:› Thomas Gleixner <[email protected]>
21580 M:› Ingo Molnar <[email protected]>
21581 M:› Borislav Petkov <[email protected]>
21582 M:› Dave Hansen <[email protected]> 21583 M:› x86(a)kernel.org
21584 R:› "H. Peter Anvin" <[email protected]>
21585 L:› linux-kernel(a)vger.kernel.org
21586 S:› Maintained
21587 T:› gitgit://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/core
21588 F:› Documentation/devicetree/bindings/x86/ 21589 F:› Documentation/x86/
21590 F:› arch/x86/
we suggest to use '--base' to provide the base info as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information
Best Regards,
Rong Chen
Quoted 65 lines · Jeremy
I submitted a patch earlier today to linux-power-mgmt(a)eclists.intel.com and linux-drivers-review(a)eclists.intel.com (cf. x86:
intel_epb: Set RaptorLake appropriate EPB.I received the following robot build error. The information shared below does not provide the version of the kernel it applied the patch to and that it tried to build. My understanding is that the family declaration my patch rely on has been introduced in 5.18. Which version is the robot using ? I there way to make it use a 5.18 ?
Regards,
JeremyQuoted 33 lines · kernel test robot
tree: internal-linux-review/Compostella-Jeremy/x86-intel_epb-Set-RaptorLake-desired-normal-EPB/20220706-012133 head: be007fa090c5cd552460eb38cca02eb3918afd1c commit: be007fa090c5cd552460eb38cca02eb3918afd1c x86: intel_epb: Set RaptorLake desired normal EPB date: 2 hours ago config: i386-randconfig-a014-20220704 (attached as .config) compiler: clang version 15.0.0 (<https://github.com/llvm/llvm-project> 142aca7741d5b06207e87bf4880fbe308c8d6823)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
git checkoutbe007fa090c5cd552460eb38cca02eb3918afd1c
# save the config file
mkdirbuild_dir&& cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bashIf you fix the issue, kindly add following tag where applicable
Reported-by kernel test robot <[email protected]>All errors (new ones prefixed by >>):
Quoted 1 line
Quoted 1 line
arch/x86/kernel/cpu/intel_epb.c:208:2: error: use of undeclared identifier 'INTEL_FAM6_RAPTORLAKE_P'X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, 7), ^ arch/x86/include/asm/cpu_device_id.h:161:39: note: expanded from macro 'X86_MATCH_INTEL_FAM6_MODEL' X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data) ^ <scratch space>:13:1: note: expanded from here INTEL_FAM6_RAPTORLAKE_P ^ 1 error generated.vim +/INTEL_FAM6_RAPTORLAKE_P +208
arch/x86/kernel/cpu/intel_epb.cQuoted 7 lines
205 206 static const struct x86_cpu_id intel_epb_normal[] = { 207 X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, 7),Quoted 1 line
208
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, 7),209 {} 210 }; 211--
Jeremy
One Emacs to rule them all_______________________________________________
LKP mailing list -- lkp(a)lists.01.org
To unsubscribe send an email to lkp-leave(a)lists.01.org