mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
perf/x86/msr: Add new Alder Lake and Raptor Lake support
The new Alder Lake N and Raptor Lake P also support PPERF and SMI_COUNT MSRs. Signed-off-by: Kan Liang <kan.liang@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220504194413.1003071-2-kan.liang@linux.intel.com
This commit is contained in:
parent
c2a960f7c5
commit
d773a73366
1 changed files with 2 additions and 0 deletions
|
@ -103,7 +103,9 @@ static bool test_intel(int idx, void *data)
|
||||||
case INTEL_FAM6_ROCKETLAKE:
|
case INTEL_FAM6_ROCKETLAKE:
|
||||||
case INTEL_FAM6_ALDERLAKE:
|
case INTEL_FAM6_ALDERLAKE:
|
||||||
case INTEL_FAM6_ALDERLAKE_L:
|
case INTEL_FAM6_ALDERLAKE_L:
|
||||||
|
case INTEL_FAM6_ALDERLAKE_N:
|
||||||
case INTEL_FAM6_RAPTORLAKE:
|
case INTEL_FAM6_RAPTORLAKE:
|
||||||
|
case INTEL_FAM6_RAPTORLAKE_P:
|
||||||
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
|
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
|
||||||
return true;
|
return true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue