]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 28 Jul 2012 00:16:00 +0000 (20:16 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 21 Aug 2012 18:47:24 +0000 (14:47 -0400)
commitfc2341df9e31be8a3940f4e302372d7ef46bab8c
tree68fd88509c9254801030f79f397471835339cc3e
parent988f0e24bbcbbf550dff016faf8273a94f4eb1af
xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB.

If a PV guest is booted the native SWIOTLB should not be
turned on. It does not help us (we don't have any PCI devices)
and it eats 64MB of good memory. In the case of PV guests
with PCI devices we need the Xen-SWIOTLB one.

[v1: Rewrite comment per Stefano's suggestion]
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/pci-swiotlb-xen.c