Skip to content

Commit da5a915

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
perf/x86/intel/uncore: Add Sapphire Rapids server UPI support
Sapphire Rapids uses a coherent interconnect for scaling to multiple sockets known as Intel UPI. Intel UPI technology provides a cache coherent socket to socket external communication interface between processors. The layout of the control registers for a UPI uncore unit is similar to a M2M 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 f57191e commit da5a915

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
@@ -5698,6 +5698,11 @@ static struct intel_uncore_type spr_uncore_m2m = {
56985698
.name = "m2m",
56995699
};
57005700

5701+
static struct intel_uncore_type spr_uncore_upi = {
5702+
SPR_UNCORE_PCI_COMMON_FORMAT(),
5703+
.name = "upi",
5704+
};
5705+
57015706
#define UNCORE_SPR_NUM_UNCORE_TYPES 12
57025707

57035708
static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
@@ -5709,7 +5714,7 @@ static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
57095714
NULL,
57105715
&spr_uncore_imc,
57115716
&spr_uncore_m2m,
5712-
NULL,
5717+
&spr_uncore_upi,
57135718
NULL,
57145719
NULL,
57155720
NULL,

0 commit comments

Comments
 (0)