Re: [PATCH] x86, setup (2.6.30-stable) fix 80x34 and 80x60 consolemodes

From: H. Peter Anvin
Date: Mon Jun 29 2009 - 21:39:35 EST


Marc Aurele La France wrote:
> As coded, most INT10 calls in video-vga.c allow the compiler to assume EAX
> remains unchanged across them, which is not always the case. This
> triggers an optimisation issue that causes vga_set_vertical_end() to be
> called with an incorrect number of scanlines. Fix this by beefing up the
> asm constraints on these calls.
>
> Reported-by: Marc Aurele La France <tsi@xxxxxxxxxxx>
> Signed-off-by: Marc Aurele La France <tsi@xxxxxxxxxxx>
> Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

Note: this is not in upstream since upstream is not affected due to the
new "BIOS glovebox" subsystem.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/