diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-12-09 16:55:11 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-12-11 17:21:00 +0100 |
commit | 02ab71cdae248533620abefa1d46097581457110 (patch) | |
tree | 9304a15a0f04b931e66980f367760626117aa555 /scripts/headers_install.sh | |
parent | xen: privcmd: do not return pages which we have failed to unmap (diff) | |
download | linux-02ab71cdae248533620abefa1d46097581457110.tar.xz linux-02ab71cdae248533620abefa1d46097581457110.zip |
xen/arm64: do not call the swiotlb functions twice
On arm64 the dma_map_ops implementation is based on the swiotlb.
swiotlb-xen, used by default in dom0 on Xen, is also based on the
swiotlb.
Avoid calling into the default arm64 dma_map_ops functions from
xen_dma_map_page, xen_dma_unmap_page, xen_dma_sync_single_for_cpu, and
xen_dma_sync_single_for_device otherwise we end up calling into the
swiotlb twice.
When arm64 gets a non-swiotlb based implementation of dma_map_ops, we'll
probably have to reintroduce dma_map_ops calls in page-coherent.h.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: catalin.marinas@arm.com
CC: Will.Deacon@arm.com
CC: Ian.Campbell@citrix.com
Diffstat (limited to 'scripts/headers_install.sh')
0 files changed, 0 insertions, 0 deletions