ALTracer

AMD IOMMU groups

Oct 16th, 2021
1,816
127 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. altracer@glacier ~> inxi -M -xM
  2. Machine:   Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH MAX (MS-7A38) v: 8.0 serial: <superuser/root required>
  3.            UEFI: American Megatrends LLC. v: B.C0 date: 05/14/2021
  4. altracer@glacier ~> dmesg | grep -i mmu
  5. [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-5.10.61-gentoo-x86_64 root=UUID=5424b031-92d2-42be-b9b9-66464607ce00 ro amd_iommu=fullflush iommu=pt
  6. [    0.032304] Kernel command line: BOOT_IMAGE=/vmlinuz-5.10.61-gentoo-x86_64 root=UUID=5424b031-92d2-42be-b9b9-66464607ce00 ro amd_iommu=fullflush iommu=pt
  7. [    0.200283] iommu: Default domain type: Passthrough (set via kernel command line)
  8. [    0.811477] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
  9. [    0.811566] pci 0000:00:01.0: Adding to iommu group 0
  10. [    0.811576] pci 0000:00:01.2: Adding to iommu group 1
  11. [    0.811584] pci 0000:00:01.6: Adding to iommu group 2
  12. [    0.811600] pci 0000:00:08.0: Adding to iommu group 3
  13. [    0.811608] pci 0000:00:08.1: Adding to iommu group 4
  14. [    0.811620] pci 0000:00:14.0: Adding to iommu group 5
  15. [    0.811627] pci 0000:00:14.3: Adding to iommu group 5
  16. [    0.811652] pci 0000:00:18.0: Adding to iommu group 6
  17. [    0.811659] pci 0000:00:18.1: Adding to iommu group 6
  18. [    0.811665] pci 0000:00:18.2: Adding to iommu group 6
  19. [    0.811671] pci 0000:00:18.3: Adding to iommu group 6
  20. [    0.811678] pci 0000:00:18.4: Adding to iommu group 6
  21. [    0.811684] pci 0000:00:18.5: Adding to iommu group 6
  22. [    0.811691] pci 0000:00:18.6: Adding to iommu group 6
  23. [    0.811697] pci 0000:00:18.7: Adding to iommu group 6
  24. [    0.811712] pci 0000:12:00.0: Adding to iommu group 7
  25. [    0.811737] pci 0000:12:00.1: Adding to iommu group 7
  26. [    0.811745] pci 0000:12:00.2: Adding to iommu group 7
  27. [    0.811749] pci 0000:20:04.0: Adding to iommu group 7
  28. [    0.811753] pci 0000:20:05.0: Adding to iommu group 7
  29. [    0.811757] pci 0000:20:06.0: Adding to iommu group 7
  30. [    0.811760] pci 0000:20:07.0: Adding to iommu group 7
  31. [    0.811764] pci 0000:25:00.0: Adding to iommu group 7
  32. [    0.811768] pci 0000:26:00.0: Adding to iommu group 7
  33. [    0.811776] pci 0000:29:00.0: Adding to iommu group 8
  34. [    0.811801] pci 0000:2a:00.0: Adding to iommu group 9
  35. [    0.811823] pci 0000:2a:00.1: Adding to iommu group 10
  36. [    0.811833] pci 0000:2a:00.2: Adding to iommu group 10
  37. [    0.811844] pci 0000:2a:00.3: Adding to iommu group 10
  38. [    0.811855] pci 0000:2a:00.4: Adding to iommu group 10
  39. [    0.811866] pci 0000:2a:00.6: Adding to iommu group 10
  40. [    0.812316] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
  41. [    0.812594] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
  42. [    4.522606] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
  43. altracer@glacier ~> cat iommu.sh
  44. #!/bin/bash
  45. shopt -s nullglob
  46. for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do
  47.     echo "IOMMU Group ${g##*/}:"
  48.     for d in $g/devices/*; do
  49.         echo -e "\t$(lspci -nns ${d##*/})"
  50.     done;
  51. done;
  52. altracer@glacier ~> bash ./iommu.sh
  53. IOMMU Group 0:
  54.         00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
  55. IOMMU Group 1:
  56.         00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3]
  57. IOMMU Group 2:
  58.         00:01.6 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 PCIe GPP Bridge [6:0] [1022:15d3]
  59. IOMMU Group 3:
  60.         00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge [1022:1452]
  61. IOMMU Group 4:
  62.         00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A [1022:15db]
  63. IOMMU Group 5:
  64.         00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
  65.         00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
  66. IOMMU Group 6:
  67.         00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 0 [1022:15e8]
  68.         00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 1 [1022:15e9]
  69.         00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 2 [1022:15ea]
  70.         00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 3 [1022:15eb]
  71.         00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 4 [1022:15ec]
  72.         00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 5 [1022:15ed]
  73.         00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 6 [1022:15ee]
  74.         00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 Device 24: Function 7 [1022:15ef]
  75. IOMMU Group 7:
  76.         12:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller [1022:43d5] (rev 01)
  77.         12:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01)
  78.         12:00.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge [1022:43c6] (rev 01)
  79.         20:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
  80.         20:05.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
  81.         20:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
  82.         20:07.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port [1022:43c7] (rev 01)
  83.         25:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
  84.         26:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
  85. IOMMU Group 8:
  86.         29:00.0 Non-Volatile memory controller [0108]: ADATA Technology Co., Ltd. XPG SX8200 Pro PCIe Gen3x4 M.2 2280 Solid State Drive [1cc1:8201] (rev 03)
  87. IOMMU Group 9:
  88.         2a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Picasso [1002:15d8] (rev c9)
  89. IOMMU Group 10:
  90.         2a:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller [1002:15de]
  91.         2a:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
  92.         2a:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e0]
  93.         2a:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Raven USB 3.1 [1022:15e1]
  94.         2a:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3]
RAW Paste Data