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

From: H. Peter Anvin
Date: Tue Jun 30 2009 - 02:34:51 EST


Greg KH wrote:
> On Mon, Jun 29, 2009 at 06:27:40PM -0700, H. Peter Anvin wrote:
>> 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.
>
> So it is a ".30 only" type patch? Any older kernel versions affected?
>

Yes, all the way back to .23 or something like that.

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