perf/x86/intel: Add Jasper Lake support
Subsystems (2)
PATCH 1/2 perf/x86/intel: Add Jasper Lake support
From: Kan Liang <[email protected]>
The Jasper Lake processor is also a Tremont microarchitecture. From the perspective of Intel PMU, there is nothing changed compared with Elkhart Lake.
Share the perf code with Elkhart Lake.
Signed-off-by Kan Liang <[email protected]>
--- arch/x86/events/intel/core.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/events/intel/core.c +1 -0
@@ -5135,6 +5135,7 @@ __init int intel_pmu_init(void)case INTEL_FAM6_ATOM_TREMONT_D :case INTEL_FAM6_ATOM_TREMONT : +case INTEL_FAM6_ATOM_TREMONT_L : x86_pmu.late_ack = true;memcpy (hw_cache_event_ids, glp_hw_cache_event_ids,sizeof (hw_cache_event_ids));
Signature · 1 line
2.7.4
PATCH 2/2 perf/x86/msr: Add Jasper Lake support
From: Kan Liang <[email protected]>
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 <[email protected]>
--- arch/x86/events/msr.c | 1 + 1 file changed, 1 insertion(+)
arch/x86/events/msr.c +1 -0
@@ -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 :
Signature · 1 line
2.7.4