summaryrefslogtreecommitdiff
path: root/drivers/s390/block/scm_drv.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-11-21 11:07:39 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-05 22:36:10 -0800
commita6df13631781815752638547a49222610929f89e (patch)
treeaef6ba965b3b4aa5513c914fd28dc440eda5f275 /drivers/s390/block/scm_drv.c
parentb2f21d1b7bc80150f2b7d1fecae5f64c9ead26fa (diff)
xen/arm/arm64: introduce xen_arch_need_swiotlb
commit a4dba130891271084344c12537731542ec77cb85 upstream. 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 maintenance operations (we don't know how to find the pfn from the mfn). No change of behaviour for x86. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/s390/block/scm_drv.c')
0 files changed, 0 insertions, 0 deletions