Re: [PATCH v5 5/6] xen/arm/arm64: introduce xen_arch_need_swiotlb

2014-10-24 Thread Ian Campbell
On Thu, 2014-10-23 at 18:27 +0100, Stefano Stabellini wrote: > Introduce an arch specific function to find out whether a particular dma > mapping operation needs to bounce on the swiotlb buffer. > > On ARM and ARM64, if the page involved is a foreign page and the device > is not coherent, we need

[PATCH v5 5/6] xen/arm/arm64: introduce xen_arch_need_swiotlb

2014-10-23 Thread Stefano Stabellini
Introduce an arch specific function to find out whether a particular dma mapping operation needs to bounce on the swiotlb buffer. On ARM and ARM64, if the page involved is a foreign page and the device is not coherent, we need to bounce because at unmap time we cannot execute any required cache ma