tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s"
authorJarkko Sakkinen <jarkko@kernel.org>
Mon, 14 Aug 2023 16:17:49 +0000 (19:17 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Thu, 17 Aug 2023 15:53:09 +0000 (15:53 +0000)
commitbff24699b94a34c5fcb8d3283794e7d39adb092c
tree125dfdc3f51e361581ca9090e5f23643919d5196
parent16931859a6500d360b90aeacab3b505a3560a3ed
tpm_tis: Revert "tpm_tis: Disable interrupts on ThinkPad T490s"

Since for MMIO driver using FIFO registers, also known as tpm_tis, the
default (and tbh recommended) behaviour is now the polling mode, the
"tristate" workaround is no longer for benefit.

If someone wants to explicitly enable IRQs for a TPM chip that should be
without question allowed. It could very well be a piece hardware in the
existing deny list because of e.g. firmware update or something similar.

While at it, document the module parameter, as this was not done in 2006
when it first appeared in the mainline.

Link: https://lore.kernel.org/linux-integrity/20201015214430.17937-1-jsnitsel@redhat.com/
Link: https://lore.kernel.org/all/1145393776.4829.19.camel@localhost.localdomain/
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/char/tpm/tpm_tis.c