WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH RESEND] enable swiotlb on i386 in linux-2.6-xen tree

To: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH RESEND] enable swiotlb on i386 in linux-2.6-xen tree
From: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Date: Thu, 15 Dec 2005 19:18:28 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jon Mason <jdmason@xxxxxxxxxx>
Delivery-date: Thu, 15 Dec 2005 17:20:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
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 <mulix@xxxxxxxxx>

diff -r c1c170a55fe0e97156379d10870aed024ed0012a arch/i386/Kconfig
--- a/arch/i386/Kconfig Thu Dec  8 20:50:02 2005 -0700
+++ b/arch/i386/Kconfig Tue Dec 13 20:07:34 2005 +0200
@@ -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"
 
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>