Re: [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address

From: Konrad Rzeszutek Wilk
Date: Mon May 12 2014 - 11:29:27 EST


On Mon, May 12, 2014 at 11:15:40AM +0100, David Vrabel wrote:
> x86 uses the generic dma_get_required_mask() which assumes that DMA
> address == physical address. For Xen PV guests this is not the case
> and certain drivers will cause excessive use of the SWIOTLB.
>
> Patch #1 is a straight forward refactoring of a common function.
>
> Patch #2 addes the required arch-specific implementation of
> dma_get_required_mask() to x86.

David,

Thank you for taking a look at that. If you would like, you can
tack on Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>

And with the *SWIOTLB maintainer hat on - you can add that tag
as well.

Thanks!
>
> David
>
--
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/