[PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address
From: David Vrabel
Date: Mon May 12 2014 - 06:16:11 EST
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
--
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/