tree:
git://git.infradead.org/linux-platform-drivers-x86 review-andy
head: 407d14e619b1249eef142163b078312ed7c821cb
commit: 379191bd1d00a141b80a26c68e6506c3271a870a [72/83] platform/x86: intel_pmc_core: Add
Atom based Jasper Lake (JSL) platform support
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout 379191bd1d00a141b80a26c68e6506c3271a870a
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/platform/x86/intel_pmc_core.c:27:0:
> arch/x86/include/asm/intel-family.h:131:23: error:
'INTEL_FAM6_ATOM_TREMONT_L' undeclared here (not in a function); did you mean
'INTEL_FAM6_ATOM_TREMONT_D'?
INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model,
_driver_data)
^
arch/x86/include/asm/intel-family.h:125:12: note: in definition of macro
'INTEL_CPU_FAM_ANY'
.model = _model, \
^~~~~~
drivers/platform/x86/intel_pmc_core.c:886:2: note: in expansion of macro
'INTEL_CPU_FAM6'
INTEL_CPU_FAM6(ATOM_TREMONT_L, tgl_reg_map),
^~~~~~~~~~~~~~
--
In file included from drivers/platform//x86/intel_pmc_core.c:27:0:
> arch/x86/include/asm/intel-family.h:131:23: error:
'INTEL_FAM6_ATOM_TREMONT_L' undeclared here (not in a function); did you mean
'INTEL_FAM6_ATOM_TREMONT_D'?
INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model,
_driver_data)
^
arch/x86/include/asm/intel-family.h:125:12: note: in definition of macro
'INTEL_CPU_FAM_ANY'
.model = _model, \
^~~~~~
drivers/platform//x86/intel_pmc_core.c:886:2: note: in expansion of macro
'INTEL_CPU_FAM6'
INTEL_CPU_FAM6(ATOM_TREMONT_L, tgl_reg_map),
^~~~~~~~~~~~~~
vim +131 arch/x86/include/asm/intel-family.h
e2ce67b2b34b6e Andy Shevchenko 2018-06-29 129
e2ce67b2b34b6e Andy Shevchenko 2018-06-29 130 #define INTEL_CPU_FAM6(_model,
_driver_data) \
e2ce67b2b34b6e Andy Shevchenko 2018-06-29 @131 INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model,
_driver_data)
e2ce67b2b34b6e Andy Shevchenko 2018-06-29 132
:::::: The code at line 131 was first introduced by commit
:::::: e2ce67b2b34b6e9d77da2f375dba5b525508f7df x86/cpu: Introduce INTEL_CPU_FAM*() helper
macros
:::::: TO: Andy Shevchenko <andriy.shevchenko(a)linux.intel.com>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation