diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-10-23 20:51:20 +0800 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-27 10:27:31 +0200 |
commit | eff98a7421b3ee73d62268115ffa5bfc0ba94544 (patch) | |
tree | 4851be1383589b2c5c06e1c69442afb754a90773 /arch | |
parent | 1ab28f17eeeecf7d832e686fdd903d74569854ed (diff) | |
download | linux-stable-eff98a7421b3ee73d62268115ffa5bfc0ba94544.tar.gz linux-stable-eff98a7421b3ee73d62268115ffa5bfc0ba94544.tar.bz2 linux-stable-eff98a7421b3ee73d62268115ffa5bfc0ba94544.zip |
perf/x86/rapl: Add support for Intel Raptor Lake
Raptor Lake RAPL support is the same as previous Sky Lake.
Add Raptor Lake model for RAPL.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Link: https://lkml.kernel.org/r/20221023125120.2727-2-rui.zhang@intel.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/events/rapl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c index 165c506cd37c..fea544e5842a 100644 --- a/arch/x86/events/rapl.c +++ b/arch/x86/events/rapl.c @@ -808,6 +808,9 @@ 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(RAPTORLAKE, &model_skl), + X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &model_skl), + X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &model_skl), {}, }; MODULE_DEVICE_TABLE(x86cpu, rapl_model_match); |