Skip to content

Commit 61fb0f7

Browse files
Alexander AntonovPeter Zijlstra
authored andcommitted
perf/x86/intel/uncore: Update sysfs-devices-mapping file
Add description for /sys/devices/uncore_upi_*/die* attributes to sysfs-devices-mapping. Signed-off-by: Alexander Antonov <alexander.antonov@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Kan Liang <kan.liang@linux.intel.com> Link: https://lore.kernel.org/r/20221117122833.3103580-11-alexander.antonov@linux.intel.com
1 parent 9a3b675 commit 61fb0f7

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

Documentation/ABI/testing/sysfs-devices-mapping

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What: /sys/devices/uncore_iio_x/dieX
22
Date: February 2020
3-
Contact: Roman Sudarikov <roman.sudarikov@linux.intel.com>
3+
Contact: Alexander Antonov <alexander.antonov@linux.intel.com>
44
Description:
55
Each IIO stack (PCIe root port) has its own IIO PMON block, so
66
each dieX file (where X is die number) holds "Segment:Root Bus"
@@ -32,3 +32,31 @@ Description:
3232
IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000
3333
IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000
3434
IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000
35+
36+
What: /sys/devices/uncore_upi_x/dieX
37+
Date: March 2022
38+
Contact: Alexander Antonov <alexander.antonov@linux.intel.com>
39+
Description:
40+
Each /sys/devices/uncore_upi_X/dieY file holds "upi_Z,die_W"
41+
value that means UPI link number X on die Y is connected to UPI
42+
link Z on die W and this link between sockets can be monitored
43+
by UPI PMON block.
44+
For example, 4-die Sapphire Rapids platform has the following
45+
UPI 0 topology::
46+
47+
# tail /sys/devices/uncore_upi_0/die*
48+
==> /sys/devices/uncore_upi_0/die0 <==
49+
upi_1,die_1
50+
==> /sys/devices/uncore_upi_0/die1 <==
51+
upi_0,die_3
52+
==> /sys/devices/uncore_upi_0/die2 <==
53+
upi_1,die_3
54+
==> /sys/devices/uncore_upi_0/die3 <==
55+
upi_0,die_1
56+
57+
Which means::
58+
59+
UPI link 0 on die 0 is connected to UPI link 1 on die 1
60+
UPI link 0 on die 1 is connected to UPI link 0 on die 3
61+
UPI link 0 on die 2 is connected to UPI link 1 on die 3
62+
UPI link 0 on die 3 is connected to UPI link 0 on die 1

0 commit comments

Comments
 (0)