From: NISHIGUCHI Naoki <nisiguti@jp.fujitsu.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] x86: fix l1_disallow_mask()
Date: Thu, 21 Aug 2008 18:31:02 +0900 [thread overview]
Message-ID: <48AD35D6.4040509@jp.fujitsu.com> (raw)
[-- 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
reply other threads:[~2008-08-21 9:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48AD35D6.4040509@jp.fujitsu.com \
--to=nisiguti@jp.fujitsu.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.