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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to