[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

Attachment: xen0_console_revised.patch
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.