From: kbuild test robot <lkp@intel.com>
To: Rajneesh Bhardwaj <rajneesh.bhardwaj@linux.intel.com>
Cc: kbuild-all@01.org, linux-acpi@vger.kernel.org, devel@acpica.org,
linux-pm@vger.kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>
Subject: [pm:bleeding-edge 51/55] drivers//powercap/intel_rapl.c:1148:2: note: in expansion of macro 'INTEL_CPU_FAM6'
Date: Tue, 18 Jun 2019 18:29:31 +0800 [thread overview]
Message-ID: <201906181829.CstPoifV%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4113 bytes --]
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@intel.com>
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 #2: .config.gz --]
[-- Type: application/gzip, Size: 68821 bytes --]
next reply other threads:[~2019-06-18 10:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-18 10:29 kbuild test robot [this message]
2019-06-18 12:38 ` [pm:bleeding-edge 51/55] drivers//powercap/intel_rapl.c:1148:2: note: in expansion of macro 'INTEL_CPU_FAM6' Bhardwaj, Rajneesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201906181829.CstPoifV%lkp@intel.com \
--to=lkp@intel.com \
--cc=devel@acpica.org \
--cc=kbuild-all@01.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rajneesh.bhardwaj@linux.intel.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).