perf/x86/msr: Add Jasper Lake support
authorKan Liang <kan.liang@linux.intel.com>
Mon, 28 Sep 2020 12:30:42 +0000 (05:30 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 29 Sep 2020 07:57:02 +0000 (09:57 +0200)
The Jasper Lake processor is also a Tremont microarchitecture. From the
perspective of perf MSR, there is nothing changed compared with
Elkhart Lake.
Share the code path with Elkhart Lake.

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/1601296242-32763-2-git-send-email-kan.liang@linux.intel.com
arch/x86/events/msr.c

index a949f6f55991dc5dd1756288cecad675fe55f78f..4be8f9cabd07055515b7e51e4878bfb1ae0a2df7 100644 (file)
@@ -78,6 +78,7 @@ static bool test_intel(int idx, void *data)
        case INTEL_FAM6_ATOM_GOLDMONT_PLUS:
        case INTEL_FAM6_ATOM_TREMONT_D:
        case INTEL_FAM6_ATOM_TREMONT:
+       case INTEL_FAM6_ATOM_TREMONT_L:
 
        case INTEL_FAM6_XEON_PHI_KNL:
        case INTEL_FAM6_XEON_PHI_KNM: