diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2023-03-14 10:00:40 -0700 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2023-03-21 14:43:08 +0100 |
commit | 5a796d5cb5d11f5aad4893a59f22715810769928 (patch) | |
tree | b949d5b6873aa909a2c2345bda0707bca69cf0f2 /arch/x86/events/msr.c | |
parent | bc4000fdb009a531fc5b94339f8531eee64bc232 (diff) | |
download | linux-stable-5a796d5cb5d11f5aad4893a59f22715810769928.tar.gz linux-stable-5a796d5cb5d11f5aad4893a59f22715810769928.tar.bz2 linux-stable-5a796d5cb5d11f5aad4893a59f22715810769928.zip |
perf/x86/msr: Add Granite Rapids
The same as Sapphire Rapids, the SMI_COUNT MSR is also supported on
Granite Rapids. Add Granite Rapids model.
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/20230314170041.2967712-2-kan.liang@linux.intel.com
Diffstat (limited to 'arch/x86/events/msr.c')
-rw-r--r-- | arch/x86/events/msr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c index c65d8906cbcf..0feaaa571303 100644 --- a/arch/x86/events/msr.c +++ b/arch/x86/events/msr.c @@ -70,6 +70,8 @@ static bool test_intel(int idx, void *data) case INTEL_FAM6_BROADWELL_X: case INTEL_FAM6_SAPPHIRERAPIDS_X: case INTEL_FAM6_EMERALDRAPIDS_X: + case INTEL_FAM6_GRANITERAPIDS_X: + case INTEL_FAM6_GRANITERAPIDS_D: case INTEL_FAM6_ATOM_SILVERMONT: case INTEL_FAM6_ATOM_SILVERMONT_D: |