]> git.baikalelectronics.ru Git - kernel.git/commitdiff
perf/x86/msr: Add Sapphire Rapids CPU support
authorKan Liang <kan.liang@linux.intel.com>
Wed, 6 Oct 2021 20:12:17 +0000 (13:12 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 15 Oct 2021 09:25:26 +0000 (11:25 +0200)
SMI_COUNT MSR is supported on Sapphire Rapids CPU.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/1633551137-192083-1-git-send-email-kan.liang@linux.intel.com
arch/x86/events/msr.c

index c853b28efa334546a104c4dbb25c43a0665faa6f..96c775abe31ff7ebbf0fd39b1c6e65395b78af96 100644 (file)
@@ -68,6 +68,7 @@ static bool test_intel(int idx, void *data)
        case INTEL_FAM6_BROADWELL_D:
        case INTEL_FAM6_BROADWELL_G:
        case INTEL_FAM6_BROADWELL_X:
+       case INTEL_FAM6_SAPPHIRERAPIDS_X:
 
        case INTEL_FAM6_ATOM_SILVERMONT:
        case INTEL_FAM6_ATOM_SILVERMONT_D: