Messages in this thread | | | From | David Vrabel <> | Subject | [PATCH 0/2] dma,x86,xen: fix dma_get_required_mask() when dma != phys address | Date | Mon, 12 May 2014 11:15:40 +0100 |
| |
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
| |