[pm:bleeding-edge 51/55] drivers//powercap/intel_rapl.c:1148:2: note: in expansion of macro 'INTEL_CPU_FAM6'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge
head:   02f436aad250841d42baf9a3c47ad5646eb4ad31
commit: d2658d7b4985a4fdbdab02e0e651a5778ccfcf1c [51/55] powercap: rapl: Add Ice Lake NNPI support to RAPL driver
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout d2658d7b4985a4fdbdab02e0e651a5778ccfcf1c
        # 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@xxxxxxxxx>

All error/warnings (new ones prefixed by >>):

   In file included from drivers//powercap/intel_rapl.c:25:0:
>> arch/x86/include/asm/intel-family.h:97:23: error: 'INTEL_FAM6_ICELAKE_NNPI' undeclared here (not in a function); did you mean 'INTEL_FAM6_ICELAKE_X'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:91:12: note: in definition of macro 'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
>> drivers//powercap/intel_rapl.c:1148:2: note: in expansion of macro 'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(ICELAKE_NNPI,  rapl_defaults_core),
     ^~~~~~~~~~~~~~
--
   In file included from drivers/powercap/intel_rapl.c:25:0:
>> arch/x86/include/asm/intel-family.h:97:23: error: 'INTEL_FAM6_ICELAKE_NNPI' undeclared here (not in a function); did you mean 'INTEL_FAM6_ICELAKE_X'?
     INTEL_CPU_FAM_ANY(6, INTEL_FAM6_##_model, _driver_data)
                          ^
   arch/x86/include/asm/intel-family.h:91:12: note: in definition of macro 'INTEL_CPU_FAM_ANY'
     .model  = _model,    \
               ^~~~~~
   drivers/powercap/intel_rapl.c:1148:2: note: in expansion of macro 'INTEL_CPU_FAM6'
     INTEL_CPU_FAM6(ICELAKE_NNPI,  rapl_defaults_core),
     ^~~~~~~~~~~~~~

vim +/INTEL_CPU_FAM6 +1148 drivers//powercap/intel_rapl.c

  1123	
  1124	static const struct x86_cpu_id rapl_ids[] __initconst = {
  1125		INTEL_CPU_FAM6(SANDYBRIDGE,		rapl_defaults_core),
  1126		INTEL_CPU_FAM6(SANDYBRIDGE_X,		rapl_defaults_core),
  1127	
  1128		INTEL_CPU_FAM6(IVYBRIDGE,		rapl_defaults_core),
  1129		INTEL_CPU_FAM6(IVYBRIDGE_X,		rapl_defaults_core),
  1130	
  1131		INTEL_CPU_FAM6(HASWELL_CORE,		rapl_defaults_core),
  1132		INTEL_CPU_FAM6(HASWELL_ULT,		rapl_defaults_core),
  1133		INTEL_CPU_FAM6(HASWELL_GT3E,		rapl_defaults_core),
  1134		INTEL_CPU_FAM6(HASWELL_X,		rapl_defaults_hsw_server),
  1135	
  1136		INTEL_CPU_FAM6(BROADWELL_CORE,		rapl_defaults_core),
  1137		INTEL_CPU_FAM6(BROADWELL_GT3E,		rapl_defaults_core),
  1138		INTEL_CPU_FAM6(BROADWELL_XEON_D,	rapl_defaults_core),
  1139		INTEL_CPU_FAM6(BROADWELL_X,		rapl_defaults_hsw_server),
  1140	
  1141		INTEL_CPU_FAM6(SKYLAKE_DESKTOP,		rapl_defaults_core),
  1142		INTEL_CPU_FAM6(SKYLAKE_MOBILE,		rapl_defaults_core),
  1143		INTEL_CPU_FAM6(SKYLAKE_X,		rapl_defaults_hsw_server),
  1144		INTEL_CPU_FAM6(KABYLAKE_MOBILE,		rapl_defaults_core),
  1145		INTEL_CPU_FAM6(KABYLAKE_DESKTOP,	rapl_defaults_core),
  1146		INTEL_CPU_FAM6(CANNONLAKE_MOBILE,	rapl_defaults_core),
  1147		INTEL_CPU_FAM6(ICELAKE_MOBILE,		rapl_defaults_core),
> 1148		INTEL_CPU_FAM6(ICELAKE_NNPI,		rapl_defaults_core),
  1149	
  1150		INTEL_CPU_FAM6(ATOM_SILVERMONT,		rapl_defaults_byt),
  1151		INTEL_CPU_FAM6(ATOM_AIRMONT,		rapl_defaults_cht),
  1152		INTEL_CPU_FAM6(ATOM_SILVERMONT_MID,	rapl_defaults_tng),
  1153		INTEL_CPU_FAM6(ATOM_AIRMONT_MID,	rapl_defaults_ann),
  1154		INTEL_CPU_FAM6(ATOM_GOLDMONT,		rapl_defaults_core),
  1155		INTEL_CPU_FAM6(ATOM_GOLDMONT_PLUS,	rapl_defaults_core),
  1156		INTEL_CPU_FAM6(ATOM_GOLDMONT_X,		rapl_defaults_core),
  1157		INTEL_CPU_FAM6(ATOM_TREMONT_X,		rapl_defaults_core),
  1158	
  1159		INTEL_CPU_FAM6(XEON_PHI_KNL,		rapl_defaults_hsw_server),
  1160		INTEL_CPU_FAM6(XEON_PHI_KNM,		rapl_defaults_hsw_server),
  1161		{}
  1162	};
  1163	MODULE_DEVICE_TABLE(x86cpu, rapl_ids);
  1164	

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux