18c2ecf20Sopenharmony_ciWhat:           /sys/devices/uncore_iio_x/dieX
28c2ecf20Sopenharmony_ciDate:           February 2020
38c2ecf20Sopenharmony_ciContact:        Roman Sudarikov <roman.sudarikov@linux.intel.com>
48c2ecf20Sopenharmony_ciDescription:
58c2ecf20Sopenharmony_ci                Each IIO stack (PCIe root port) has its own IIO PMON block, so
68c2ecf20Sopenharmony_ci                each dieX file (where X is die number) holds "Segment:Root Bus"
78c2ecf20Sopenharmony_ci                for PCIe root port, which can be monitored by that IIO PMON
88c2ecf20Sopenharmony_ci                block.
98c2ecf20Sopenharmony_ci                For example, on 4-die Xeon platform with up to 6 IIO stacks per
108c2ecf20Sopenharmony_ci                die and, therefore, 6 IIO PMON blocks per die, the mapping of
118c2ecf20Sopenharmony_ci                IIO PMON block 0 exposes as the following::
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci		    $ ls /sys/devices/uncore_iio_0/die*
148c2ecf20Sopenharmony_ci		    -r--r--r-- /sys/devices/uncore_iio_0/die0
158c2ecf20Sopenharmony_ci		    -r--r--r-- /sys/devices/uncore_iio_0/die1
168c2ecf20Sopenharmony_ci		    -r--r--r-- /sys/devices/uncore_iio_0/die2
178c2ecf20Sopenharmony_ci		    -r--r--r-- /sys/devices/uncore_iio_0/die3
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci		    $ tail /sys/devices/uncore_iio_0/die*
208c2ecf20Sopenharmony_ci		    ==> /sys/devices/uncore_iio_0/die0 <==
218c2ecf20Sopenharmony_ci		    0000:00
228c2ecf20Sopenharmony_ci		    ==> /sys/devices/uncore_iio_0/die1 <==
238c2ecf20Sopenharmony_ci		    0000:40
248c2ecf20Sopenharmony_ci		    ==> /sys/devices/uncore_iio_0/die2 <==
258c2ecf20Sopenharmony_ci		    0000:80
268c2ecf20Sopenharmony_ci		    ==> /sys/devices/uncore_iio_0/die3 <==
278c2ecf20Sopenharmony_ci		    0000:c0
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci                Which means::
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci		    IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000
328c2ecf20Sopenharmony_ci		    IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000
338c2ecf20Sopenharmony_ci		    IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000
348c2ecf20Sopenharmony_ci		    IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000
35