The original sun4m IOMMU/DMA code dates from before the introduction of the QEMU memory region API (in particular IOMMU memory regions) and the DMA API.
This patchset removes these sun4m-specific implementations and replaces them with the more up-to-date QEMU APIs instead. Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> Based-on: 1508947167-5304-1-git-send-email-mark.cave-ayl...@ilande.co.uk ([PATCHv4 00/13] sun4m: sparc32_dma tidy-ups) v2: - Rebase onto v4 sparc32_dma tidy-up patchset - Change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu" as suggested by Philippe Mark Cave-Ayland (4): sun4m: implement IOMMU translation using IOMMU memory region sparc32_dma: switch over to using IOMMU memory region and DMA API sun4m_iommu: remove legacy sparc_iommu_memory_rw() function sun4m: change TYPE_SUN4M_IOMMU macro from "iommu" to "sun4m-iommu" hw/dma/sparc32_dma.c | 17 +++++---- hw/dma/sun4m_iommu.c | 87 ++++++++++++++++++++++++++++++---------------- include/hw/sparc/sun4m.h | 23 ++++-------- 3 files changed, 75 insertions(+), 52 deletions(-) -- 1.7.10.4