Skip to content

Commit 5a796d5

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
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
1 parent bc4000f commit 5a796d5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/x86/events/msr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ static bool test_intel(int idx, void *data)
7070
case INTEL_FAM6_BROADWELL_X:
7171
case INTEL_FAM6_SAPPHIRERAPIDS_X:
7272
case INTEL_FAM6_EMERALDRAPIDS_X:
73+
case INTEL_FAM6_GRANITERAPIDS_X:
74+
case INTEL_FAM6_GRANITERAPIDS_D:
7375

7476
case INTEL_FAM6_ATOM_SILVERMONT:
7577
case INTEL_FAM6_ATOM_SILVERMONT_D:

0 commit comments

Comments
 (0)