]> www.infradead.org Git - users/jedix/linux-maple.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, 4 Dec 2012 17:32:50 +0000 (12:32 -0500)
commit5b4254773bd6b0f5dcd9782c634c3184fa263d35
tree1def0c57dae07765de9987a3ea6bfb2fa5239d89
parent7263be0591b01ca56d567baf9649e590125c74ab
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>
(cherry picked from commit fc2341df9e31be8a3940f4e302372d7ef46bab8c)

Conflicts:
arch/x86/xen/pci-swiotlb-xen.c
arch/x86/xen/pci-swiotlb-xen.c