[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] PATCH/RFC: PCI memory mapping
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] PATCH/RFC: PCI memory mapping |
Date: |
Thu, 2 Apr 2009 22:40:34 +0000 |
User-agent: |
KMail/1.9.9 |
On Thursday 02 April 2009, Brian Wheeler wrote:
> [first off, if there's an easier way to do this, let me know!]
>
> This patch adds an address mapping function to the PCI bus so the host
> chipset can remap PCI generated addresses to the appropriate physical
> addresses.
This should be integrated with the DMA APIs. Individual devices must not need
to be aware of bus bridges. All remapping should be handled by the DMA
routines. In principle there's no reason for this to be specific to PCI.
SPARC machines already have an IOMMU, so you should make sure your solution
also covers those systems.
I recommend looking back in the list archives, there have been several
discussions about the requirements for bus address mapping.
Paul