[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 2/7] pci: memory access API and IOMMU support
From: |
Eduard - Gabriel Munteanu |
Subject: |
[Qemu-devel] Re: [PATCH 2/7] pci: memory access API and IOMMU support |
Date: |
Mon, 30 Aug 2010 01:11:23 +0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Aug 30, 2010 at 01:08:23AM +0300, Eduard - Gabriel Munteanu wrote:
> PCI devices should access memory through pci_memory_*() instead of
> cpu_physical_memory_*(). This also provides support for translation and
> access checking in case an IOMMU is emulated.
>
> Memory maps are treated as remote IOTLBs (that is, translation caches
> belonging to the IOMMU-aware device itself). Clients (devices) must
> provide callbacks for map invalidation in case these maps are
> persistent beyond the current I/O context, e.g. AIO DMA transfers.
>
> Signed-off-by: Eduard - Gabriel Munteanu <address@hidden>
> ---
Please merge this instead of the patch I sent with the series. I wanted
to avoid resubmitting the whole series.
Eduard
- [Qemu-devel] Re: [PATCH 3/7] AMD IOMMU emulation, (continued)