qemu-patch-raspberry4/hw/ide
David Gibson 10ca2943aa ide/ahci: Use universal DMA helper functions
The AHCI device can provide both PCI and SysBus AHCI device
emulations.  For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions.  Now that we have universal DMA
helper functions, this converts AHCI to use them.

The DMAContext is obtained from pci_dma_context() in the PCI case and
set to NULL in the SysBus case (i.e. we assume for now that a SysBus
AHCI has no IOMMU translation).

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:33:25 -05:00
..
ahci.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
ahci.h ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
atapi.c
cmd646.c
core.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
ich.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
internal.h qdev: Convert busses to QEMU Object Model 2012-06-18 15:14:38 +02:00
isa.c
macio.c iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers 2012-06-27 16:33:25 -05:00
Makefile.objs build: convert libhw to nested Makefile.objs 2012-06-07 09:21:17 +02:00
microdrive.c
mmio.c
pci.c
pci.h
piix.c Un-inline fdctrl_init_isa() 2012-06-15 14:03:42 +02:00
qdev.c qdev: Convert busses to QEMU Object Model 2012-06-18 15:14:38 +02:00
via.c