projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c07311b
)
perf/x86/rapl: Add support for Intel Meteor Lake
author
Zhang Rui
<rui.zhang@intel.com>
Wed, 4 Jan 2023 14:58:30 +0000
(22:58 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 4 Jan 2023 20:00:28 +0000
(21:00 +0100)
Meteor Lake RAPL support is the same as previous Sky Lake.
Add Meteor Lake 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-1-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 ae5779ea44174f4b1dfb30ef32787d555772a85c..589c6885560d21395aeb04866bf6caa3adaf7e4b 100644
(file)
--- a/
arch/x86/events/rapl.c
+++ b/
arch/x86/events/rapl.c
@@
-809,6
+809,8
@@
static const struct x86_cpu_id rapl_model_match[] __initconst = {
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),
+ X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, &model_skl),
+ X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, &model_skl),
{},
};
MODULE_DEVICE_TABLE(x86cpu, rapl_model_match);