projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6887a4d
)
perf/x86/msr: Add Emerald Rapids
author
Kan Liang
<kan.liang@linux.intel.com>
Fri, 6 Jan 2023 16:04:48 +0000
(08:04 -0800)
committer
Ingo Molnar
<mingo@kernel.org>
Mon, 9 Jan 2023 11:00:52 +0000
(12:00 +0100)
The same as Sapphire Rapids, the SMI_COUNT MSR is also supported on
Emerald Rapids. Add Emerald Rapids model.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/20230106160449.3566477-3-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 074150d28fa824b4b54c3672ab84ca82ef105fc8..c65d8906cbcf4de7e41f53a9a48d1625ca7cd4a2 100644
(file)
--- a/
arch/x86/events/msr.c
+++ b/
arch/x86/events/msr.c
@@
-69,6
+69,7
@@
static bool test_intel(int idx, void *data)
case INTEL_FAM6_BROADWELL_G:
case INTEL_FAM6_BROADWELL_X:
case INTEL_FAM6_SAPPHIRERAPIDS_X:
+ case INTEL_FAM6_EMERALDRAPIDS_X:
case INTEL_FAM6_ATOM_SILVERMONT:
case INTEL_FAM6_ATOM_SILVERMONT_D: