Skip to content

Commit 2a8e51e

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
perf/x86/intel/uncore: Add Sapphire Rapids server M3UPI support
M3 Intel UPI is the interface between the mesh and the Intel UPI link layer. It is responsible for translating between the mesh protocol packets and the flits that are used for transmitting data across the Intel UPI interface. The layout of the control registers for a M3UPI uncore unit is similar to a UPI uncore unit. Signed-off-by: Kan Liang <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Andi Kleen <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent da5a915 commit 2a8e51e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

arch/x86/events/intel/uncore_snbep.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5703,6 +5703,11 @@ static struct intel_uncore_type spr_uncore_upi = {
57035703
.name = "upi",
57045704
};
57055705

5706+
static struct intel_uncore_type spr_uncore_m3upi = {
5707+
SPR_UNCORE_PCI_COMMON_FORMAT(),
5708+
.name = "m3upi",
5709+
};
5710+
57065711
#define UNCORE_SPR_NUM_UNCORE_TYPES 12
57075712

57085713
static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
@@ -5715,7 +5720,7 @@ static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
57155720
&spr_uncore_imc,
57165721
&spr_uncore_m2m,
57175722
&spr_uncore_upi,
5718-
NULL,
5723+
&spr_uncore_m3upi,
57195724
NULL,
57205725
NULL,
57215726
};

0 commit comments

Comments
 (0)