]> Git Repo - linux.git/commitdiff
perf/x86/msr: Add Rocket Lake CPU support
authorKan Liang <[email protected]>
Mon, 19 Oct 2020 15:35:27 +0000 (08:35 -0700)
committerPeter Zijlstra <[email protected]>
Thu, 29 Oct 2020 10:00:40 +0000 (11:00 +0100)
Like Ice Lake and Tiger Lake, PPERF and SMI_COUNT MSRs are also
supported by Rocket Lake.

Signed-off-by: Kan Liang <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/events/msr.c

index 4be8f9cabd07055515b7e51e4878bfb1ae0a2df7..680404c58cb17b4bcbcdca90eaf6679b902904e2 100644 (file)
@@ -99,6 +99,7 @@ static bool test_intel(int idx, void *data)
        case INTEL_FAM6_ICELAKE_D:
        case INTEL_FAM6_TIGERLAKE_L:
        case INTEL_FAM6_TIGERLAKE:
+       case INTEL_FAM6_ROCKETLAKE:
                if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
                        return true;
                break;
This page took 0.054838 seconds and 4 git commands to generate.