arm,arm64: do not always merge biovec if we are running on Xen
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:33:26 +0000 (10:33 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Oct 2013 10:33:26 +0000 (10:33 +0000)
commit3d1975b57097820c131c692d2e0d075641370369
tree92784190b99b6b9e1a665a29dc2f1efb60623ff6
parent783d0281043b9a1111d81d11ed0610b83d8857ed
arm,arm64: do not always merge biovec if we are running on Xen

This is similar to what it is done on X86: biovecs are prevented from merging
otherwise every dma requests would be forced to bounce on the swiotlb buffer.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Changes in v7:
- remove the extra autotranslate check in biomerge.c.
arch/arm/include/asm/io.h
arch/arm64/include/asm/io.h