Skip to content

Commit 1a5da78

Browse files
Kan LiangIngo Molnar
authored andcommitted
perf/x86/msr: Add new CPU model numbers for Ice Lake
PPERF and SMI_COUNT MSRs are also supported by Ice Lake desktop and server. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent 1ffa6c0 commit 1a5da78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arch/x86/events/msr.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ static bool test_intel(int idx, void *data)
9292
case INTEL_FAM6_COMETLAKE_L:
9393
case INTEL_FAM6_COMETLAKE:
9494
case INTEL_FAM6_ICELAKE_L:
95+
case INTEL_FAM6_ICELAKE:
96+
case INTEL_FAM6_ICELAKE_X:
97+
case INTEL_FAM6_ICELAKE_D:
9598
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
9699
return true;
97100
break;

0 commit comments

Comments
 (0)