Re: [PATCH 3/9] xen: add hooks for mapping phys<->bus addresses inswiotlb

From: FUJITA Tomonori
Date: Sun May 10 2009 - 23:43:17 EST


On Thu, 7 May 2009 17:17:16 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> From: Ian Campbell <ian.campbell@xxxxxxxxxx>
>
> Impact: Xen support for DMA
>
> Add hooks to allow Xen to do translation between pfn and mfns for the swiotlb
> layer, so that dma actually ends up going to the proper machine pages.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
> Reviewed-by: "H. Peter Anvin" <hpa@xxxxxxxxx>
> Cc: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> ---
> arch/x86/kernel/pci-swiotlb.c | 10 ----------
> arch/x86/xen/pci-swiotlb.c | 18 ++++++++++++++++++
> drivers/pci/xen-iommu.c | 11 +++++++++++
> include/xen/swiotlb.h | 2 ++
> 4 files changed, 31 insertions(+), 10 deletions(-)

Acked-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/