sysfs-devices-mapping 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. What: /sys/devices/uncore_iio_x/dieX
  2. Date: February 2020
  3. Contact: Roman Sudarikov <roman.sudarikov@linux.intel.com>
  4. Description:
  5. Each IIO stack (PCIe root port) has its own IIO PMON block, so
  6. each dieX file (where X is die number) holds "Segment:Root Bus"
  7. for PCIe root port, which can be monitored by that IIO PMON
  8. block.
  9. For example, on 4-die Xeon platform with up to 6 IIO stacks per
  10. die and, therefore, 6 IIO PMON blocks per die, the mapping of
  11. IIO PMON block 0 exposes as the following::
  12. $ ls /sys/devices/uncore_iio_0/die*
  13. -r--r--r-- /sys/devices/uncore_iio_0/die0
  14. -r--r--r-- /sys/devices/uncore_iio_0/die1
  15. -r--r--r-- /sys/devices/uncore_iio_0/die2
  16. -r--r--r-- /sys/devices/uncore_iio_0/die3
  17. $ tail /sys/devices/uncore_iio_0/die*
  18. ==> /sys/devices/uncore_iio_0/die0 <==
  19. 0000:00
  20. ==> /sys/devices/uncore_iio_0/die1 <==
  21. 0000:40
  22. ==> /sys/devices/uncore_iio_0/die2 <==
  23. 0000:80
  24. ==> /sys/devices/uncore_iio_0/die3 <==
  25. 0000:c0
  26. Which means::
  27. IIO PMU 0 on die 0 belongs to PCI RP on bus 0x00, domain 0x0000
  28. IIO PMU 0 on die 1 belongs to PCI RP on bus 0x40, domain 0x0000
  29. IIO PMU 0 on die 2 belongs to PCI RP on bus 0x80, domain 0x0000
  30. IIO PMU 0 on die 3 belongs to PCI RP on bus 0xc0, domain 0x0000