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

[Xen-devel] Re: [PATCH 5/8] xen/i386: make sure initial VGA/ISA mappings

To: Ingo Molnar <mingo@xxxxxxx>
Subject: [Xen-devel] Re: [PATCH 5/8] xen/i386: make sure initial VGA/ISA mappings are not overridden
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 08 May 2009 08:08:48 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
Delivery-date: Fri, 08 May 2009 08:09:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090508105728.GB11596@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1241727902-3176-1-git-send-email-jeremy@xxxxxxxx> <1241727902-3176-6-git-send-email-jeremy@xxxxxxxx> <20090508105728.GB11596@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
Ingo Molnar wrote:
* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

From: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

arch/x86/mm/init_32.c overrides the ISA/VGA mappings with direct mappings
which do not have _PAGE_IOMAP set, thereby making the ISA space inaccessible.

This patch adds to the existing hack to make sure the pre-constructed ISA mappings are not incorrectly overwritten.

This makes 32-bit dom0 VGA work properly.

I'm wondering, should we add this fix to .30 as well, is there any relevancy beyond dom0?

No, it only matters if the ISA region is mapping real hardware. For domU we set up a set of dummy maps for ISA to mop up any stray references, but they have no connection to underlying hardware.

This area is all a bit ugly, and I hope to ultimately address it by making 32 and 64-bit use the same code for setting up the kernel mappings (as the 64-bit code doesn't try to double-map the ISA area).

Thanks to Gerd Hoffman for pointing this out.

Please add Reported-by lines in such cases. That way not only does the reporting get reported prominently, but the tip-bot will Cc: Gerd too on the commit notification too. (which will sometimes spur further comments - while a commit hidden somewhere might not)

OK.  I guess Diagnosed-by: would be the most appropriate tag in this case.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

Please also add impact-footers to all commits you queue up, if you want me to pull your tree directly. I can only guess at the impact of this one, is it:

[ Impact: fix dom0-Xen-guest boot crash ]

or:

[ Impact: fix dom0-Xen-guest non-working VGA console ]

?

(Please look at latest tip/master for examples about various impact lines, their precise format, and what we try to describe in them and how.)

OK, they're footers now?

Do you want me to respin these patches and repost?

   J

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