[PATCH for-linus-v5.5-rc6 0/3] TPM changes for v5.5-rc6

From: Jarkko Sakkinen
Date: Fri Jan 03 2020 - 18:29:48 EST


There has been a bunch of reports (one from kernel bugzilla linked)
reporting that when this commit is applied it causes on some machines
boot freezes.

Unfortunately hardware where this commit causes a failure is not widely
available (only one I'm aware is Lenovo T490), which means we cannot
predict yet how long it will take to properly fix tpm_tis interrupt
probing.

Thus, the least worst short term action is to revert the code to the
state before this commit. In long term we need fix the tpm_tis probing
code to work on machines that Stefan's code was supposed to fix.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=205935
Cc: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>
Cc: Dan Williams <dan.j.williams@xxxxxxxxx>

Jarkko Sakkinen (1):
tpm: Revert "tpm_tis: reserve chip for duration of tpm_tis_core_init"

Stefan Berger (2):
tpm: Revert "tpm_tis_core: Set TPM_CHIP_FLAG_IRQ before probing for
interrupts"
tpm: Revert "tpm_tis_core: Turn on the TPM before probing IRQ's"

drivers/char/tpm/tpm_tis_core.c | 34 +++++++++++++++------------------
1 file changed, 15 insertions(+), 19 deletions(-)

--
2.20.1