The x86 cpu RAPL id was added in to support BXT core
PATCH 1/1 The x86 cpu RAPL id was added in to support BXT core
From: Amy Wiles <[email protected]>
BUG=None
TEST=Navigate to /sys/class/powercap and check that the directory intel-rapl:0 is present
Signed-off-by Amy Wiles <[email protected]>
--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)
drivers/powercap/intel_rapl.c +1 -0
@@ -1102,6 +1102,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {RAPL_CPU (0x4A , rapl_defaults_tng),/* Tangier */ RAPL_CPU (0x56 , rapl_defaults_core),/* Future Xeon */ RAPL_CPU (0x5A , rapl_defaults_ann),/* Annidale */ +RAPL_CPU (0X5C , rapl_defaults_core),/* Broxton */ RAPL_CPU (0x5E , rapl_defaults_core),/* Skylake-H/S */ RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing */ {}
Signature · 1 line
1.9.1
Quoted 5 lines · On Tue, 2015-10-13 at 08:59 -0700, [email protected] wrote:
From: Amy Wiles <[email protected]>
BUG=None
TEST=Navigate to/sys/class/powercapand check that the directory intel-rapl:0 is present
Remove above lines and just say "Enabled Broxton RAPL support". Copied to Jacob.
Thanks,
Srinivas
Quoted 20 lines
Signed-off-by Amy Wiles <[email protected]>--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)drivers/powercap/intel_rapl.c +1
-0@@ -1102,6 +1102,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {RAPL_CPU (0x4A , rapl_defaults_tng),/* Tangier */ RAPL_CPU (0x56 , rapl_defaults_core),/* Future Xeon */ RAPL_CPU (0x5A , rapl_defaults_ann),/* Annidale */ +RAPL_CPU (0X5C , rapl_defaults_core),/* Broxton */ RAPL_CPU (0x5E , rapl_defaults_core),/* Skylake-H/S */ RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights Landing*/
{}
Quoted 9 lines · Srinivas
Quoted 5 lines · On Tue, 2015-10-13 at 08:59 -0700, [email protected] wrote:
From: Amy Wiles <[email protected]>
BUG=None
TEST=Navigate to/sys/class/powercapand check that the directory intel-rapl:0 is presentRemove above lines and just say "Enabled Broxton RAPL support". Copied to Jacob.
agreed, other than that looks good to me.
Quoted 9 lines
Thanks,
SrinivasQuoted 5 lines
Signed-off-by Amy Wiles <[email protected]>--- drivers/powercap/intel_rapl.c | 1 + 1 file changed, 1 insertion(+)
Quoted 15 lines
Quoted 13 lines
drivers/powercap/intel_rapl.c +1
-0@@ -1102,6 +1102,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {RAPL_CPU (0x4A , rapl_defaults_tng),/* Tangier */ RAPL_CPU (0x56 , rapl_defaults_core),/* Future Xeon */ RAPL_CPU (0x5A , rapl_defaults_ann),/* Annidale */ +RAPL_CPU (0X5C , rapl_defaults_core),/* Broxton */ RAPL_CPU (0x5E , rapl_defaults_core),/* Skylake-H/S */ RAPL_CPU(0x57, rapl_defaults_hsw_server),/* Knights LandingQuoted 2 lines
*/
{}
[Jacob Pan]