projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f52853a
)
perf/x86/rapl: Add support for Intel Emerald Rapids
author
Zhang Rui
<rui.zhang@intel.com>
Wed, 4 Jan 2023 14:58:31 +0000
(22:58 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 4 Jan 2023 20:00:29 +0000
(21:00 +0100)
Emerald Rapids RAPL support is the same as previous Sapphire Rapids.
Add Emerald Rapids model for RAPL.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link:
https://lore.kernel.org/r/20230104145831.25498-2-rui.zhang@intel.com
arch/x86/events/rapl.c
patch
|
blob
|
history
diff --git
a/arch/x86/events/rapl.c
b/arch/x86/events/rapl.c
index 589c6885560d21395aeb04866bf6caa3adaf7e4b..52e6e7ed4f78a655414ce1b7548c8f0b7d5d8822 100644
(file)
--- a/
arch/x86/events/rapl.c
+++ b/
arch/x86/events/rapl.c
@@
-806,6
+806,7
@@
static const struct x86_cpu_id rapl_model_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &model_spr),
+ X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, &model_spr),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &model_skl),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &model_skl),