projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50b0c97
)
perf/x86/msr: Add new Raptor Lake S support
author
Kan Liang
<kan.liang@linux.intel.com>
Wed, 28 Sep 2022 15:33:29 +0000
(08:33 -0700)
committer
Peter Zijlstra
<peterz@infradead.org>
Thu, 29 Sep 2022 10:20:53 +0000
(12:20 +0200)
The same as the other hybrid {ALDER,RAPTOP}LAKE, the new Raptor Lake S
also support PPERF and SMI_COUNT MSRs.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link:
https://lore.kernel.org/r/20220928153331.3757388-2-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 ac542f98c0705e1220f0fa0689097deda823165c..ecced3a52668a129e3fbc38d38facaeff9c2ca61 100644
(file)
--- a/
arch/x86/events/msr.c
+++ b/
arch/x86/events/msr.c
@@
-106,6
+106,7
@@
static bool test_intel(int idx, void *data)
case INTEL_FAM6_ALDERLAKE_N:
case INTEL_FAM6_RAPTORLAKE:
case INTEL_FAM6_RAPTORLAKE_P:
+ case INTEL_FAM6_RAPTORLAKE_S:
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
return true;
break;