mbox series

[0/3] sun4m: implement memory region IOMMU translation and DMA API

Message ID 1508005498-29037-1-git-send-email-mark.cave-ayland@ilande.co.uk
Headers show
Series sun4m: implement memory region IOMMU translation and DMA API | expand

Message

Mark Cave-Ayland Oct. 14, 2017, 6:24 p.m. UTC
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-ayland@ilande.co.uk>
Based-on: 1508004545-28578-1-git-send-email-mark.cave-ayland@ilande.co.uk ([PATCHv2 00/13] sun4m: sparc32_dma tidy-ups)

Mark Cave-Ayland (3):
  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

 hw/dma/sparc32_dma.c     |   17 +++++----
 hw/dma/sun4m_iommu.c     |   87 ++++++++++++++++++++++++++++++----------------
 include/hw/sparc/sun4m.h |   21 +++--------
 3 files changed, 74 insertions(+), 51 deletions(-)