Skip to content

iommu: isa dma engine support

Jason Baron qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu: remove extra 'typedef struct DMAContext'dma.h+2 -31 reply
2/3iommu: add support for the isa dma enginehw/cs4231a.c hw/dma.c hw/fdc.c +6 more+29 -190 replies
3/3iommu: add generic mapping support for the isa bushw/isa-bus.c hw/isa.h+16 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] iommu: isa dma engine support

Hi,

Based on Benjamin Herrenschmidt's iommu series - these patches provide infrastructure for a chipset topology where an iommu can sit between main memory and the isa dma engine. The idea is remap addresses according to the iommu's wish when we are performing a dma engine r/w operation.

Since the iommu context is tied to the isa device structure, it can be set independently of the bus on which the isa device resides. Thus, I'm hoping that this patchset allows us to correctly model more complex chipset topologies.

Thanks,

-Jason

Jason Baron (3):
iommu: remove extra 'typedef struct DMAContext'
iommu: add support for the isa dma engine
iommu: add generic mapping support for the isa bus

 dma.h        |    5 ++---
 hw/cs4231a.c |    2 +-
 hw/dma.c     |   19 ++++++++++++-------
 hw/fdc.c     |   10 +++++-----
 hw/gus.c     |    2 +-
 hw/isa-bus.c |   14 ++++++++++++++
 hw/isa.h     |    9 ++++++++-
 hw/sb16.c    |    4 ++--
 hw/sun4m.c   |    2 +-
 hw/sun4u.c   |    2 +-
 10 files changed, 47 insertions(+), 22 deletions(-)