enable swiotlb on i386 in linux-2.6-xen tree
PATCH RESEND 1/1 enable swiotlb on i386 in linux-2.6-xen tree
The linux-2.6-xen tree has a typo in the Kconfig file for i386 that disables building swiotlb. This patch fixes it in the same manner that x86-64 does it.
Cheers,
Muli
Signed-off-by Muli Ben-Yehuda <[email protected]>
arch/i386/Kconfig +2 -2
@@ -58,6 +58,7 @@ bool "Xen-compatible" select X86_UP_APIC if !SMP && XEN_PRIVILEGED_GUEST select X86_UP_IOAPIC if !SMP && XEN_PRIVILEGED_GUEST + select SWIOTLB if XEN_PHYSDEV_ACCESS help Choose this option is you plan to run this kernel on top of Xen Hypervisor.
@@ -716,8 +717,7 @@ config SWIOTLB bool - depends on X86_PRIVILEGED_GUEST - default y + default n source "drivers/firmware/Kconfig"
Signature · 2 lines
Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/
Quoted 3 lines · Muli Ben-Yehuda
The linux-2.6-xen tree has a typo in the
Kconfigfile for i386 that disables building swiotlb. This patch fixes it in the same manner that x86-64 does it.
Thanks! I've applied the patch.
christian
Quoted 31 lines
Cheers,
MuliSigned-off-by Muli Ben-Yehuda <[email protected]>diff -r
c1c170a55fe0e97156379d10870aed024ed0012aarch/i386/Kconfigarch/i386/Kconfig +2
-2@@ -58,6 +58,7 @@ bool "Xen-compatible" select X86_UP_APIC if !SMP && XEN_PRIVILEGED_GUEST select X86_UP_IOAPIC if !SMP && XEN_PRIVILEGED_GUEST + select SWIOTLB if XEN_PHYSDEV_ACCESS help Choose this option is you plan to run this kernel on top of Xen Hypervisor.@@ -716,8 +717,7 @@ config SWIOTLB bool - depends on X86_PRIVILEGED_GUEST - default y + default n source "drivers/firmware/Kconfig"Signature · 2 lines
Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/