Skip to content
Snippets Groups Projects
Commit 448e9c55 authored by Scot Doyle's avatar Scot Doyle Committed by Peter Huewe
Browse files

tpm_tis: verify interrupt during init


Some machines, such as the Acer C720 and Toshiba CB35, have TPMs that do
not send IRQs while also having an ACPI TPM entry indicating that they
will be sent. These machines freeze on resume while the tpm_tis module
waits for an IRQ, eventually timing out.

When in interrupt mode, the tpm_tis module should receive an IRQ during
module init. Fall back to polling mode if none is received when expected.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarScot Doyle <lkml14@scotdoyle.com>
Tested-by: default avatarMichael Mullin <masmullin@gmail.com>
Reviewed-by: default avatarJason Gunthorpe <jgunthorpe@obsidianresearch.com>
[phuewe: minor checkpatch fixed]
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent bb95cd34
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment