Skip to content

Commit 0d771ca

Browse files
Kan LiangPeter Zijlstra
authored andcommitted
perf/x86/intel/uncore: Add Sapphire Rapids server MDF support
The MDF subsystem is a new IP built to support the new Intel Xeon architecture that bridges multiple dies with a embedded bridge system. The layout of the control registers for a MDF uncore unit is similar to a IRP 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 2a8e51e commit 0d771ca

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
@@ -5708,6 +5708,11 @@ static struct intel_uncore_type spr_uncore_m3upi = {
57085708
.name = "m3upi",
57095709
};
57105710

5711+
static struct intel_uncore_type spr_uncore_mdf = {
5712+
SPR_UNCORE_COMMON_FORMAT(),
5713+
.name = "mdf",
5714+
};
5715+
57115716
#define UNCORE_SPR_NUM_UNCORE_TYPES 12
57125717

57135718
static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
@@ -5722,7 +5727,7 @@ static struct intel_uncore_type *spr_uncores[UNCORE_SPR_NUM_UNCORE_TYPES] = {
57225727
&spr_uncore_upi,
57235728
&spr_uncore_m3upi,
57245729
NULL,
5725-
NULL,
5730+
&spr_uncore_mdf,
57265731
};
57275732

57285733
static void uncore_type_customized_copy(struct intel_uncore_type *to_type,

0 commit comments

Comments
 (0)