Hi tip-bot2,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3-rc6 next-20190826]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/tip-bot2-for-Peter-Zijlstra/x86-cpu-intel-Aggregate-big-core-client-naming/20190827-055636
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-10) 7.4.0
reproduce:
        # 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 <l...@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/powercap/intel_rapl_common.c:27:0:
>> arch/x86/include/asm/intel-family.h:114:23: error: 'INTEL_FAM6_HASWELL_CORE' 
>> undeclared here (not in a function); did you mean 'INTEL_FAM6_HASWELL_GT3E'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl_common.c:960:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(HASWELL_CORE, rapl_defaults_core),
     ^~~~~~~~~~~~~~
>> arch/x86/include/asm/intel-family.h:114:23: error: 
>> 'INTEL_FAM6_BROADWELL_CORE' undeclared here (not in a function); did you 
>> mean 'INTEL_FAM6_BROADWELL_GT3E'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl_common.c:965:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(BROADWELL_CORE, rapl_defaults_core),
     ^~~~~~~~~~~~~~
   arch/x86/include/asm/intel-family.h:114:23: error: 
'INTEL_FAM6_SKYLAKE_DESKTOP' undeclared here (not in a function); did you mean 
'INTEL_FAM6_SKYLAKE_X'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl_common.c:970:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(SKYLAKE_DESKTOP, rapl_defaults_core),
     ^~~~~~~~~~~~~~
   arch/x86/include/asm/intel-family.h:114:23: error: 
'INTEL_FAM6_KABYLAKE_DESKTOP' undeclared here (not in a function); did you mean 
'INTEL_FAM6_SKYLAKE_DESKTOP'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl_common.c:974:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(KABYLAKE_DESKTOP, rapl_defaults_core),
     ^~~~~~~~~~~~~~
   arch/x86/include/asm/intel-family.h:114:23: error: 
'INTEL_FAM6_ICELAKE_DESKTOP' undeclared here (not in a function); did you mean 
'INTEL_FAM6_SKYLAKE_DESKTOP'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl_common.c:977:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(ICELAKE_DESKTOP, rapl_defaults_core),
     ^~~~~~~~~~~~~~
--
   In file included from drivers/idle/intel_idle.c:53:0:
>> arch/x86/include/asm/intel-family.h:114:23: error: 'INTEL_FAM6_HASWELL_CORE' 
>> undeclared here (not in a function); did you mean 'INTEL_FAM6_HASWELL_GT3E'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/idle/intel_idle.c:1075:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(HASWELL_CORE,  idle_cpu_hsw),
     ^~~~~~~~~~~~~~
>> arch/x86/include/asm/intel-family.h:114:23: error: 
>> 'INTEL_FAM6_BROADWELL_CORE' undeclared here (not in a function); did you 
>> mean 'INTEL_FAM6_BROADWELL_GT3E'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/idle/intel_idle.c:1080:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(BROADWELL_CORE,  idle_cpu_bdw),
     ^~~~~~~~~~~~~~
   arch/x86/include/asm/intel-family.h:114:23: error: 
'INTEL_FAM6_SKYLAKE_DESKTOP' undeclared here (not in a function); did you mean 
'INTEL_FAM6_SKYLAKE_MOBILE'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/idle/intel_idle.c:1085:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(SKYLAKE_DESKTOP,  idle_cpu_skl),
     ^~~~~~~~~~~~~~
   arch/x86/include/asm/intel-family.h:114:23: error: 
'INTEL_FAM6_KABYLAKE_DESKTOP' undeclared here (not in a function); did you mean 
'INTEL_FAM6_SKYLAKE_DESKTOP'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:108:12: note: in definition of macro 
'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/idle/intel_idle.c:1087:2: note: in expansion of macro 
'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(KABYLAKE_DESKTOP, idle_cpu_skl),
     ^~~~~~~~~~~~~~

vim +114 arch/x86/include/asm/intel-family.h

e2ce67b2b34b6e Andy Shevchenko 2018-06-29  112  
e2ce67b2b34b6e Andy Shevchenko 2018-06-29  113  #define INTEL_CPU_FAM6(_model, 
_driver_data)                    \
e2ce67b2b34b6e Andy Shevchenko 2018-06-29 @114          INTEL_CPU_FAM_ANY(6, 
INTEL_FAM6_##_model, _driver_data)
e2ce67b2b34b6e Andy Shevchenko 2018-06-29  115  

:::::: The code at line 114 was first introduced by commit
:::::: e2ce67b2b34b6e9d77da2f375dba5b525508f7df x86/cpu: Introduce 
INTEL_CPU_FAM*() helper macros

:::::: TO: Andy Shevchenko <andriy.shevche...@linux.intel.com>
:::::: CC: Thomas Gleixner <t...@linutronix.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to