News: 0001623593

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Revives Linux Kernel Patches For Hardware-Accelerated vIOMMU

([AMD] 6 Hours Ago AMD vIOMMU)


Back in 2023 AMD posted [1]hardware-accelerated virtualized IOMMU patches for the Linux kernel as a request for comments (RFC). In 2024 they then posted a second iteration of the AMD vIOMMU patches but then seemingly fell off the radar. This morning is now the first set of updated AMD vIOMMU patches sent out on the Linux kernel mailing list with the RFC tag now removed.

Suravee Suthikulpanit of AMD sent out the set of 22 patches working on the AMD hardware-accelerated Virtualized IOMMU "vIOMMU" support for guest IOMMUs. When implemented, the AMD vIOMMU provides lower CPU overhead for the HV intercepts and with lower latency.

"AMD IOMMU introduces the vIOMMU feature, which provides partial hardware acceleration when implementing Guest IOMMUs. This feature provides acceleration for guest Command Buffer, Event Log, and PPR Log. This eliminates the CPU overhead needed for the supporting HV intercepts and reduces the latency of these operations.

...

Guest IOMMUs are IOMMUs exposed to VMs with additional support from VMM (QEMU) to generate guest ACPI IVRS table and define guest PCI topology for IOMMU and pass-through VFIO devices, which are not covered by this series."

Still planned for future patches are adding Guest Event Injection support and Extended Interrupt Remapping support.

Those interested in AMD vIOMMU can find these updated Linux kernel patches now out for review on the [2]Linux kernel mailing list .



[1] https://www.phoronix.com/news/AMD-HW-vIOMMU-Linux-Patches

[2] https://lore.kernel.org/all/20260330084206.9251-1-suravee.suthikulpanit@amd.com/



Do not fold, spindle or mutilate.