LSIOMMU(1)

πŸ“¦ version 1.0, in opensuse-leap 16.0

πŸ’… LSIOMMU(1) πŸ’…

okay so this is a User Commands page for lsiommu, and bestie, it's literally a little detective tool for your hardware. let's get into it 🫢


✨ NAME ✨

lsiommu β€” it enumerates IOMMU groups, and lists the PCIe devices and USB controllers associated with each group 🌸


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so lsiommu is a hardware inspection utility that shows you the relationships between IOMMU groups, physical PCIe hardware, and nested USB buses. it's giving "family tree but for your motherboard" ngl 😭

it's commonly used when you're setting up Kernel-based Virtual Machines (KVM) with VFIO hardware passthrough β€” like, PCIe passthrough of a host device (such as a graphics card or a network interface) to a guest VM. that's the main character use case fr fr πŸ‘‘

so the utility performs four core actions:

🌈 Group Mapping

it iterates sequentially through the system kernel directory /sys/kernel/iommu_groups/ to discover physical hardware isolation clusters. cute little walk through the kernel tree, no cap ✨

πŸ”₯ Hardware Details

it executes lspci(8) queries to extract and cleanly format vendor names, hardware descriptions, and precise hardware IDs for graphics cards, network interfaces, and storage drives. it ate, honestly πŸ’…

πŸ’€ Reset Support Flag

it checks the system tree for device reset capabilities. it appends an [R] flag if a hardware device natively supports a function-level reset β€” which is required for reliable virtual machine attach/detach cycles. so like, if you're hot-swapping devices between VMs, this flag is your bestie, pay attention πŸ™ˆ

🧚 USB Mapping

it correlates nested USB controllers via lsusb(8) with their parent PCIe buses. this exposes exactly which physical USB ports belong to which isolated IOMMU group β€” so you know precisely which ports go with which group, periodt πŸ’œ


⭐ NOTES ⭐

IOMMU groups are a part of the kernel's VFIO (Virtual Function IO) driver framework β€” here's the link, bookmark it, iykyk:

https://docs.kernel.org/driver-api/vfio.html

πŸŽ€ SEE ALSO πŸŽ€

lspci(8), lsusb(8),


and that's the whole vibe πŸ’– this one comes from the Linux System Utilities crew, dated July 2026 β€” go check your IOMMU groups bestie, they're waiting πŸŒΈπŸ¦‹πŸ“

πŸ“¦ where this page comes from