]> git.baikalelectronics.ru Git - kernel.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)
commit25d229451027c87e5651347fc18eaf51f06a7bd9
tree68fd88509c9254801030f79f397471835339cc3e
parent962e00a85fbae198ad21b400af9b39031eeba6e3
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