Skip to contentSkip to conversation

perf/x86/intel/rapl: Add Knights Mill CPUID

PATCH New Piotr Luc 2 participants 3 messages Oct 12, 2016 – Oct 17, 2016

Subsystems (2)
lore
Share & tools
lore

Piotr Luc

author
#0 lore raw

PATCH 1/1 perf/x86/intel/rapl: Add Knights Mill CPUID

Add Knights Mill (KNM) to the list of CPUIDs supported by rapl.

---
Depends-on: x86/cpu/intel: Add Knights Mill to Intel family
https://lkml.kernel.org/r/20161012180520.30976-1-piotr.luc () intel ! com

 arch/x86/events/intel/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/rapl.c +1 -0
index 2886593..779e7c8 100644
@@ -761,6 +761,7 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_XEON_D, hsw_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNL, knl_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNM, knl_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_MOBILE,  skl_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_DESKTOP, skl_rapl_init),
Signature · 1 line
2.10.1
#1 lore raw
perf/x86/intel/rapl: Add Knights Mill CPUID
Commit-ID:  8d6feacbdb233b81ea8fb2047032e3073f7fc15e
Gitweb:     http://git.kernel.org/tip/8d6feacbdb233b81ea8fb2047032e3073f7fc15e
Author:     Piotr Luc <[email protected]>
AuthorDate: Wed, 12 Oct 2016 20:27:25 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 16 Oct 2016 11:32:11 +0200

perf/x86/intel/rapl: Add Knights Mill CPUID

Add Knights Mill (KNM) to the list of CPUIDs supported by rapl.

Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Brian Gerst <[email protected]>
Cc Denys Vlasenko <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 arch/x86/events/intel/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/rapl.c +1 -0
index b0f0e83..0a535ce 100644
@@ -763,6 +763,7 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_XEON_D, hsw_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNL, knl_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNM, knl_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_MOBILE,  skl_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_DESKTOP, skl_rapl_init),
#2 lore raw
In reply to Piotr Luc
perf/x86/intel/rapl: Add Knights Mill CPUID
Commit-ID:  36c4b6c14d20b37fda79cbcd3e8ef7d11f5ef9dc
Gitweb:     http://git.kernel.org/tip/36c4b6c14d20b37fda79cbcd3e8ef7d11f5ef9dc
Author:     Piotr Luc <[email protected]>
AuthorDate: Wed, 12 Oct 2016 20:27:25 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 17 Oct 2016 10:45:09 +0200

perf/x86/intel/rapl: Add Knights Mill CPUID

Add Knights Mill (KNM) to the list of CPUIDs supported by rapl.

Cc Andy Lutomirski <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Brian Gerst <[email protected]>
Cc Denys Vlasenko <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
---
 arch/x86/events/intel/rapl.c | 1 +
 1 file changed, 1 insertion(+)
arch/x86/events/intel/rapl.c +1 -0
index b0f0e83..0a535ce 100644
@@ -763,6 +763,7 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_BROADWELL_XEON_D, hsw_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNL, knl_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_XEON_PHI_KNM, knl_rapl_init),
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_MOBILE,  skl_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_DESKTOP, skl_rapl_init),