* [PATCH 2/4] perf/x86/msr: Add new Raptor Lake S support
2022-08-23 21:01 [PATCH 1/4] perf/x86: Add new Raptor Lake S support kan.liang
@ 2022-08-23 21:01 ` kan.liang
2022-08-23 21:01 ` [PATCH 3/4] perf/x86/cstate: " kan.liang
2022-08-23 21:01 ` [PATCH 4/4] perf/x86/uncore: " kan.liang
2 siblings, 0 replies; 4+ messages in thread
From: kan.liang @ 2022-08-23 21:01 UTC (permalink / raw)
To: peterz, mingo, linux-kernel; +Cc: Kan Liang
From: Kan Liang <kan.liang@linux.intel.com>
The same as the other {ALDER,RAPTOP}LAKE, the new Raptor Lake S also
supports the PPERF and SMI_COUNT MSRs.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
---
arch/x86/events/msr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c
index ac542f98c070..ecced3a52668 100644
--- a/arch/x86/events/msr.c
+++ b/arch/x86/events/msr.c
@@ -106,6 +106,7 @@ static bool test_intel(int idx, void *data)
case INTEL_FAM6_ALDERLAKE_N:
case INTEL_FAM6_RAPTORLAKE:
case INTEL_FAM6_RAPTORLAKE_P:
+ case INTEL_FAM6_RAPTORLAKE_S:
if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF)
return true;
break;
--
2.35.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 3/4] perf/x86/cstate: Add new Raptor Lake S support
2022-08-23 21:01 [PATCH 1/4] perf/x86: Add new Raptor Lake S support kan.liang
2022-08-23 21:01 ` [PATCH 2/4] perf/x86/msr: " kan.liang
@ 2022-08-23 21:01 ` kan.liang
2022-08-23 21:01 ` [PATCH 4/4] perf/x86/uncore: " kan.liang
2 siblings, 0 replies; 4+ messages in thread
From: kan.liang @ 2022-08-23 21:01 UTC (permalink / raw)
To: peterz, mingo, linux-kernel; +Cc: Kan Liang
From: Kan Liang <kan.liang@linux.intel.com>
From the perspective of Intel cstate residency counters, the new
Raptor Lake S is the same as the other {ALDER,RAPTOP}LAKE.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
---
arch/x86/events/intel/cstate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index 8ec23f47fee9..a2834bc93149 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -685,6 +685,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N, &adl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &adl_cstates),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &adl_cstates),
+ X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &adl_cstates),
{ },
};
MODULE_DEVICE_TABLE(x86cpu, intel_cstates_match);
--
2.35.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH 4/4] perf/x86/uncore: Add new Raptor Lake S support
2022-08-23 21:01 [PATCH 1/4] perf/x86: Add new Raptor Lake S support kan.liang
2022-08-23 21:01 ` [PATCH 2/4] perf/x86/msr: " kan.liang
2022-08-23 21:01 ` [PATCH 3/4] perf/x86/cstate: " kan.liang
@ 2022-08-23 21:01 ` kan.liang
2 siblings, 0 replies; 4+ messages in thread
From: kan.liang @ 2022-08-23 21:01 UTC (permalink / raw)
To: peterz, mingo, linux-kernel; +Cc: Kan Liang
From: Kan Liang <kan.liang@linux.intel.com>
From the perspective of the uncore PMU, the new Raptor Lake S is the
same as the other {ALDER,RAPTOP}LAKE.
Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
---
arch/x86/events/intel/uncore.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c
index db6c31bca809..6f1ccc57a692 100644
--- a/arch/x86/events/intel/uncore.c
+++ b/arch/x86/events/intel/uncore.c
@@ -1831,6 +1831,7 @@ static const struct x86_cpu_id intel_uncore_match[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_N, &adl_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, &adl_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, &adl_uncore_init),
+ X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, &adl_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &spr_uncore_init),
X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_D, &snr_uncore_init),
{},
--
2.35.1
^ permalink raw reply [flat|nested] 4+ messages in thread