[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 0/13] Support for guest visible IOMMUs
From: |
David Gibson |
Subject: |
[Qemu-devel] [RFC 0/13] Support for guest visible IOMMUs |
Date: |
Fri, 20 Apr 2012 14:16:44 +1000 |
Here is the latest update of my series of patches adding
infrastructure to allow the emulation of guest visible IOMMUs. I
think this is conceptually ready to go, but I'm sending it as an RFC
for now because it needs a bit more testing and review, particularly
of the invalidation paths. I believe the first two preliminary
patches are already on their way invia the USB tree.
The big change since the last version is improved handling of IOMMU
invalidations versus dma_memory_map():
It's no longer necessary to have a "cancel" callback which must
synchronously cancel any current usage of a dma_memory_map() buffer.
Instead, we delay the completion of invalidate operations until
outstanding maps are gone. Later patches do add a cancel callback to
accelerate that freeing up, but it no longer has the potentially
tricky to accomplish synchronous requirements.
I'm really hoping I can get some extra review of this code path. I
believe it's correct, but it's not straightforward to test, since it
will not be exercise by correct guest software.
There are also some more minor updates based on the previous round of
feedback.
- [Qemu-devel] [RFC 0/13] Support for guest visible IOMMUs,
David Gibson <=
- [Qemu-devel] [PATCH 03/13] Implement cpu_physical_memory_zero(), David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 07/13] ide/ahci: Use universal DMA helper functions, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 04/13] iommu: Add universal DMA helper functions, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 01/13] Better support for dma_addr_t variables, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 12/13] iommu: Allow PCI to use IOMMU infrastructure, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 08/13] usb: Convert usb_packet_{map, unmap} to universal DMA helpers, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 02/13] usb-xhci: Use PCI DMA helper functions, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 13/13] pseries: Implement IOMMU and DMA for PAPR PCI devices, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 06/13] iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers, David Gibson, 2012/04/20
- [Qemu-devel] [PATCH 09/13] iommu: Introduce IOMMU emulation infrastructure, David Gibson, 2012/04/20