Re: [PATCH v3] Enable A20 using KBC for some MSI laptops to fix S3resume

From: H. Peter Anvin
Date: Tue Dec 11 2012 - 14:07:58 EST


On 12/11/2012 10:59 AM, Ondrej Zary wrote:

As I said before, the BIOS probably breaks on resume before any Linux code is
executed. So any fix must be done before suspending.


Well, that code should be independent of A20, being in low memory, but if the BIOS itself crashes, then that's... yeah.

I hate quirks too. A general solution would be to always enable A20 using KBC
(if KBC is present) but that's probably not acceptable.

I don't see why not. If so we could just do it as part of the initialization of the i8042 driver.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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