diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-10-23 15:51:19 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-10-27 11:27:31 +0300 |
commit | 1ab28f17eeeecf7d832e686fdd903d74569854ed (patch) | |
tree | 1c4a8804c2cea0f64bbb7e49216dacffc97d87f3 /arch/x86/events | |
parent | 4b66ff46f2e18b1d32e18c881799ef911606f3be (diff) | |
download | linux-1ab28f17eeeecf7d832e686fdd903d74569854ed.tar.xz |
perf/x86/rapl: Add support for Intel AlderLake-N
AlderLake-N RAPL support is the same as previous Sky Lake.
Add AlderLake-N 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-1-rui.zhang@intel.com
Diffstat (limited to 'arch/x86/events')
-rw-r--r-- | arch/x86/events/rapl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/events/rapl.c b/arch/x86/events/rapl.c index 77e3a47af5ad..165c506cd37c 100644 --- 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(COMETLAKE, &model_skl), X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, &model_skl), 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), {}, }; |