Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/devices/uncore_iio_x/dieX
0002 Date:           February 2020
0003 Contact:        Roman Sudarikov <roman.sudarikov@linux.intel.com>
0004 Description:
0005                 Each IIO stack (PCIe root port) has its own IIO PMON block, so
0006                 each dieX file (where X is die number) holds "Segment:Root Bus"
0007                 for PCIe root port, which can be monitored by that IIO PMON
0008                 block.
0009                 For example, on 4-die Xeon platform with up to 6 IIO stacks per
0010                 die and, therefore, 6 IIO PMON blocks per die, the mapping of
0011                 IIO PMON block 0 exposes as the following::
0012 
0013                     $ ls /sys/devices/uncore_iio_0/die*
0014                     -r--r--r-- /sys/devices/uncore_iio_0/die0
0015                     -r--r--r-- /sys/devices/uncore_iio_0/die1
0016                     -r--r--r-- /sys/devices/uncore_iio_0/die2
0017                     -r--r--r-- /sys/devices/uncore_iio_0/die3
0018 
0019                     $ tail /sys/devices/uncore_iio_0/die*
0020                     ==> /sys/devices/uncore_iio_0/die0 <==
0021                     0000:00
0022                     ==> /sys/devices/uncore_iio_0/die1 <==
0023                     0000:40
0024                     ==> /sys/devices/uncore_iio_0/die2 <==
0025                     0000:80
0026                     ==> /sys/devices/uncore_iio_0/die3 <==
0027                     0000:c0
0028 
0029                 Which means::
0030 
0031                     IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000
0032                     IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000
0033                     IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000
0034                     IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000