AMD IOMMU Driver Reworked For Linux 5.5

Written by Michael Larabel in AMD on 2 December 2019 at 07:07 AM EST. 3 Comments
AMD
With the IOMMU updates for the Linux 5.5 kernel there is a major rework to the AMD IOMMU driver to make use of more common DMA IOMMU code for implementing the DMA API but with an admitted risk of potential new regressions.

The AMD IOMMU Linux driver now makes use of the "dma-iommu" kernel code that allows the driver to be lightened up by several hundred lines of code thanks to the code sharing/re-use. Besides the DMA IOMMU changes, the AMD IOMMU driver now also has multiple PCI DMA alias support.

The IOMMU updates acknowledge, "This gets rid of quite some code in the driver itself, but also has some potential for regressions (non are known at the moment)."

The IOMMU changes for Linux 5.5 also include Qualcomm SMMUv2 support with the SDM845 SoC, ARM SMMU driver changes, Renesas IOMMU driver changes working towards future hardware support, and other changes.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week