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] x86: fix l1_disallow_mask()

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] x86: fix l1_disallow_mask()
From: NISHIGUCHI Naoki <nisiguti@xxxxxxxxxxxxxx>
Date: Thu, 21 Aug 2008 18:31:02 +0900
Delivery-date: Thu, 21 Aug 2008 02:31:42 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Hi,

When it is shutting down a Windows XP guest that has been passed through
HD Audio Controller of ICH9 by VT-d, there is a problem that the
following message is repeated many times in hypervisor's log and the
shutdown's process does not end.

  (XEN) mm.c:661:d1 Bad L1 flags 10

Attached patch fixes this problem.


Signed-off-by: Naoki Nishiguchi <nisiguti@xxxxxxxxxxxxxx>

Regards,
Naoki Nishiguchi
diff -r 8b1ebe5e8fd7 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Mon Aug 11 16:51:02 2008 +0100
+++ b/xen/arch/x86/mm.c Tue Aug 12 09:48:55 2008 +0900
@@ -163,7 +163,8 @@
 #define l1_disallow_mask(d)                                     \
     ((d != dom_io) &&                                           \
      (rangeset_is_empty((d)->iomem_caps) &&                     \
-      rangeset_is_empty((d)->arch.ioport_caps)) ?               \
+      rangeset_is_empty((d)->arch.ioport_caps)) &&              \
+     !has_arch_pdevs(d) ?                                       \
      L1_DISALLOW_MASK : (L1_DISALLOW_MASK & ~PAGE_CACHE_ATTRS))
 
 #ifdef CONFIG_COMPAT
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86: fix l1_disallow_mask(), NISHIGUCHI Naoki <=