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-ia64-devel

[Xen-ia64-devel] [PATCH] prevent domU from mapping uncacheable memory

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] [PATCH] prevent domU from mapping uncacheable memory
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 20 Jun 2006 11:51:21 -0600
Delivery-date: Tue, 20 Jun 2006 10:51:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: OSLO R&D
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
   I ran across a problem with booting domUs on an sx1000 chipset based
system.  The interesting thing about these systems is that they do not
support uncached access to system memory.  When domU boots, there are
some I/O port space probes, this is what seems to be causing problems.
The lookup_domain_mpa() function returns a pte for pfn 0, to which
translate_domain_pte() applies the requested memory attributes.  This
allows the domU to access the page as uncachable, causing an MCA.

   The patch below avoids this by preventing non-dom0 domains from
adding memory attributes to ptes.  Anyone have a better solution?
Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>

Attachment: no_uncached_domu_ptes.patch
Description: Text Data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [PATCH] prevent domU from mapping uncacheable memory, Alex Williamson <=