Skip to content

AMD IOMMU emulation patchset

Eduard - Gabriel Munteanu kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13Generic DMA memory access interfaceMakefile.target hw/dma_rw.c hw/dma_rw.h+282 -13 replies
2/13pci: add IOMMU support via the generic DMA layerhw/pci.c hw/pci.h hw/pci_internals.h+15 -00 replies
3/13AMD IOMMU emulationMakefile.target hw/amd_iommu.c hw/pc.c +2 more+700 -11 reply
4/13ide: use the DMA memory access interface for PCI IDE controllersdma-helpers.c dma.h hw/ide/ahci.c +3 more+37 -161 reply
5/13rtl8139: use the DMA memory access interfacehw/rtl8139.c+57 -430 replies
6/13eepro100: use the DMA memory access interfacehw/eepro100.c+57 -400 replies
7/13ac97: use the DMA memory access interfacehw/ac97.c+3 -30 replies
8/13es1370: use the DMA memory access interfacehw/es1370.c+2 -20 replies
9/13e1000: use the DMA memory access interfacehw/e1000.c+15 -110 replies
10/13lsi53c895a: use the DMA memory access interfacehw/lsi53c895a.c+12 -120 replies
11/13pcnet: use the DMA memory access interfacehw/pcnet-pci.c+3 -20 replies
12/13usb-uhci: use the DMA memory access interfacehw/usb-uhci.c+14 -120 replies
13/13usb-ohci: use the DMA memory access interfacehw/usb-ohci.c+37 -170 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] AMD IOMMU emulation patchset

Hi everybody,

I'm a bit late, I know, school kept me busy.

But here it is. I hope I answered your previous concerns in this patchset. Let me know what you think, I hope this gets merged soon. Some testing would be great.

The patchset is based on mst/pci. I'll send the SeaBIOS patches soon.

Cheers,
Eduard

Eduard - Gabriel Munteanu (13):
Generic DMA memory access interface
pci: add IOMMU support via the generic DMA layer
AMD IOMMU emulation
ide: use the DMA memory access interface for PCI IDE controllers
rtl8139: use the DMA memory access interface
eepro100: use the DMA memory access interface
ac97: use the DMA memory access interface
es1370: use the DMA memory access interface
e1000: use the DMA memory access interface
lsi53c895a: use the DMA memory access interface
pcnet: use the DMA memory access interface
usb-uhci: use the DMA memory access interface
usb-ohci: use the DMA memory access interface

 Makefile.target    |    2 +-
 dma-helpers.c      |   23 ++-
 dma.h              |    4 +-
 hw/ac97.c          |    6 +-
 hw/amd_iommu.c     |  694 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/dma_rw.c        |  124 ++++++++++
 hw/dma_rw.h        |  157 ++++++++++++
 hw/e1000.c         |   26 ++-
 hw/eepro100.c      |   97 +++++---
 hw/es1370.c        |    4 +-
 hw/ide/ahci.c      |    3 +-
 hw/ide/internal.h  |    1 +
 hw/ide/macio.c     |    4 +-
 hw/ide/pci.c       |   18 +-
 hw/lsi53c895a.c    |   24 +-
 hw/pc.c            |    2 +
 hw/pci.c           |    7 +
 hw/pci.h           |    7 +
 hw/pci_ids.h       |    2 +
 hw/pci_internals.h |    1 +
 hw/pci_regs.h      |    1 +
 hw/pcnet-pci.c     |    5 +-
 hw/rtl8139.c       |  100 +++++----
 hw/usb-ohci.c      |   54 +++--
 hw/usb-uhci.c      |   26 +-
 25 files changed, 1233 insertions(+), 159 deletions(-)
 create mode 100644 hw/amd_iommu.c
 create mode 100644 hw/dma_rw.c
 create mode 100644 hw/dma_rw.h
Signature · 1 line
1.7.3.4