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

RE: Resend [Xen-ia64-devel] [PATCH]Fix domain0 no VGA console bug.

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: RE: Resend [Xen-ia64-devel] [PATCH]Fix domain0 no VGA console bug.
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Mon, 5 Jun 2006 15:39:05 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 05 Jun 2006 00:40:27 -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>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaH9w3JMYXKsIWrR32Y+ZWzoNSrIgAc6PWQ
Thread-topic: Resend [Xen-ia64-devel] [PATCH]Fix domain0 no VGA console bug.
OK, the logic seems more clear. It should be fine with our platforms. :)
Thanks & Best Regards
-Xiantao

OTC,Intel Corporation

> -----Original Message-----
> From: Alex Williamson [mailto:alex.williamson@xxxxxx]
> Sent: 2006年6月5日 0:50
> To: Zhang, Xiantao
> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: Resend [Xen-ia64-devel] [PATCH]Fix domain0 no VGA console bug.
> 
> On Sun, 2006-06-04 at 21:16 +0800, Zhang, Xiantao wrote:
> >     The updated patch should be happy for all platforms. If EFI doesn't
> > provide md for range(0xa0000-0xc0000) to OS. It maybe a hole or
> > occupied by legacy vga.  Therefore, I used the efi_mmio function to
> > check it. If these pages was not mapped yet and efi_mmio return true,
> > we can map them as MMIO safely.
> 
> Hi Xiantao,
> 
>    This patch has a couple problems.  First, if a page is mapped, as
> indicated by domain_page_mapped(), it shouldn't fall into the else and
> get mapped again.  Second, I believe domain_page_mapped() should use
> lookup_noalloc_domain_pte() instead of the alloc version.
> 
>    I've updated the patch and expanded on it a little to create
> conventional memory ranges in low memory corresponding to the ranges the
> platform provides.  This prevents my non-VGA system from improperly
> detecting a VGA console and reclaims that little bit of memory in it's
> address space.  Please let me know if this attached patch works for you
> as well.  Thanks,
> 
>       Alex
> 
> --
> Alex Williamson                             HP Open Source & Linux Org.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>