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

From: H. Peter Anvin
Date: Tue Dec 11 2012 - 15:56:22 EST


On 12/11/2012 12:50 PM, Ondrej Zary wrote:
On Tuesday 11 December 2012 21:36:46 H. Peter Anvin wrote:
On 12/11/2012 12:29 PM, Ondrej Zary wrote:
Something like this? (It works.)

Something like that. We need to make sure we send the proper sequence,
though, or it might break some SMM firmware...

Could you please create proper patch? You're the x86 expert (and I'm not).

I've read that 0xd1 command with 0xdf data is often used to enable A20. But I
don't know when this must be done or what else needs to be done for the SMM
to not break.


You need to send an FF dummy command afterwards, that's all.


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