Skip to content

IOMMU infrastructure

Benjamin Herrenschmidt qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 42 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Better support for dma_addr_t variablesdma.h hw/qdev-dma.h+13 -00 replies
2/13Implement cpu_physical_memory_zero()cpu-common.h exec.c+54 -03 replies
3/13iommu: Add universal DMA helper functionsdma.h hw/pci.h qemu-common.h+113 -90 replies
4/13usb-ohci: Use universal DMA helper functionshw/usb/hcd-ohci.c+51 -420 replies
5/13iommu: Make sglists and dma_bdrv helpers use new universal DMA helpersdma-helpers.c dma.h hw/ide/ahci.c +2 more+19 -170 replies
6/13ide/ahci: Use universal DMA helper functionshw/ide/ahci.c hw/ide/ahci.h hw/ide/ich.c+23 -160 replies
6/13ide/ahci: Use universal DMA helper functionshw/ide/ahci.c hw/ide/ahci.h hw/ide/ich.c+32 -240 replies
7/13usb: Convert usb_packet_{map, unmap} to universal DMA helpershw/usb.h hw/usb/hcd-ehci.c hw/usb/hcd-uhci.c +1 more+15 -140 replies
8/13iommu: Introduce IOMMU emulation infrastructuredma-helpers.c dma.h hw/qdev-dma.h+299 -2715 replies
9/13iommu: Add facility to cancel in-use dma memory mapsdma-helpers.c dma.h+48 -240 replies
10/13pseries: Convert sPAPR TCEs to use generic IOMMU infrastructureMakefile.target hw/spapr.c hw/spapr.h +7 more+375 -3430 replies
11/13iommu: Allow PCI to use IOMMU infrastructurehw/pci.c hw/pci.h hw/pci_internals.h+18 -20 replies
12/13pseries: Implement IOMMU and DMA for PAPR PCI deviceshw/spapr.h hw/spapr_iommu.c hw/spapr_pci.c +1 more+45 -240 replies
13/13iommu: Add a memory barrier to DMA RW functiondma-helpers.c+3 -055 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 00/13] IOMMU infrastructure

Hi folks !

This is a repose (& rebase on top of current HEAD) of David and Eduard iommu patch series which provides the necessary infrastructure for doing DMA through an iommu, along with the SPAPR iommu implementation.

David is on vacation, so make sure to CC all comments to me.