Re: [BISECTED] tpm CLKRUN breaks PS/2 keyboard and touchpad on Braswell system
From: Jason Gunthorpe
Date: Tue Dec 12 2017 - 13:57:41 EST
On Tue, Dec 12, 2017 at 12:38:00PM +0100, Javier Martinez Canillas wrote:
> I'm not familiar with LPC so please let me know if my assumptions are wrong,
> but I find suspicious that a driver for a single device attached to the bus
> can control the CLKRUN# signal which AFAIU may be needed for other devices.
My understanding was that the fix was to force CLKRUN on before
starting a LPC transaction for TPM.
I guess the issues is blindly assuming that CLKRUN started out as off.
It needs to remember the old setting and put it back, and hope against
all hope there isn't another thread mucking with it.
Guessing that on a system with a LPC connected superio controller for
PS/2 that CLKRUN will be always high???
Jason