From mboxrd@z Thu Jan 1 00:00:00 1970 From: NISHIGUCHI Naoki Subject: [PATCH] x86: fix l1_disallow_mask() Date: Thu, 21 Aug 2008 18:31:02 +0900 Message-ID: <48AD35D6.4040509@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050903040502020204050103" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------050903040502020204050103 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit 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 Regards, Naoki Nishiguchi --------------050903040502020204050103 Content-Type: text/x-patch; name="fix_l1_disallow_mask.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix_l1_disallow_mask.patch" 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 --------------050903040502020204050103 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050903040502020204050103--