projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaef048
)
perf/x86/msr: Add Meteor Lake support
author
Kan Liang
<kan.liang@linux.intel.com>
Wed, 4 Jan 2023 20:13:47 +0000
(12:13 -0800)
committer
Ingo Molnar
<mingo@kernel.org>
Mon, 9 Jan 2023 11:22:09 +0000
(12:22 +0100)
Meteor Lake is Intel's successor to Raptor lake. PPERF and SMI_COUNT MSRs
are also supported.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link:
https://lore.kernel.org/r/20230104201349.1451191-7-kan.liang@linux.intel.com
arch/x86/events/msr.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/msr.c
b/arch/x86/events/msr.c
index
ecced3a
..
074150d
100644
(file)
--- a/
arch/x86/events/msr.c
+++ b/
arch/x86/events/msr.c
@@
-107,6
+107,8
@@
static bool test_intel(int idx, void *data)
case INTEL_FAM6_RAPTORLAKE:
case INTEL_FAM6_RAPTORLAKE_P:
case INTEL_FAM6_RAPTORLAKE_S:
+ case INTEL_FAM6_METEORLAKE:
+ case INTEL_FAM6_METEORLAKE_L:
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
return true;
break;