diff options
author | Scot Doyle | 2014-09-24 22:41:10 +0000 |
---|---|---|
committer | Peter Huewe | 2015-01-17 14:00:05 +0100 |
commit | 448e9c55c12d6bd4fa90a7e31d802e045666d7c8 (patch) | |
tree | 723a1174212ace1244c6dacd67f4450d8090bee5 /block/bsg-lib.c | |
parent | bb95cd34ba4c9467114acc78eeddd53ab1c10085 (diff) |
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: Scot Doyle <lkml14@scotdoyle.com>
Tested-by: Michael Mullin <masmullin@gmail.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
[phuewe: minor checkpatch fixed]
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'block/bsg-lib.c')
0 files changed, 0 insertions, 0 deletions