diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2022-09-28 08:33:29 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-09-29 12:20:53 +0200 |
commit | 193c888b7ffe4da97346950c0e98dd77cc629f24 (patch) | |
tree | 9afa34baeba18b430dfa7f4d67a1965b93e4c266 | |
parent | 50b0c97bf00e4815aee09cace28b940ebb060e69 (diff) | |
download | lwn-193c888b7ffe4da97346950c0e98dd77cc629f24.tar.gz lwn-193c888b7ffe4da97346950c0e98dd77cc629f24.zip |
perf/x86/msr: Add new Raptor Lake S support
The same as the other hybrid {ALDER,RAPTOP}LAKE, the new Raptor Lake S
also support PPERF and SMI_COUNT MSRs.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220928153331.3757388-2-kan.liang@linux.intel.com
-rw-r--r-- | arch/x86/events/msr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index ac542f98c070..ecced3a52668 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -106,6 +106,7 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_ALDERLAKE_N: case INTEL_FAM6_RAPTORLAKE: case INTEL_FAM6_RAPTORLAKE_P: + case INTEL_FAM6_RAPTORLAKE_S: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break; |