* [PATCH] x86: fix l1_disallow_mask()
@ 2008-08-21 9:31 NISHIGUCHI Naoki
0 siblings, 0 replies; only message in thread
From: NISHIGUCHI Naoki @ 2008-08-21 9:31 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
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@jp.fujitsu.com>
Regards,
Naoki Nishiguchi
[-- Attachment #2: fix_l1_disallow_mask.patch --]
[-- Type: text/x-patch, Size: 660 bytes --]
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
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-21 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 9:31 [PATCH] x86: fix l1_disallow_mask() NISHIGUCHI Naoki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.