[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |