diff options
author | Jarkko Sakkinen <[email protected]> | 2015-06-24 17:14:55 +0300 |
---|---|---|
committer | Peter Huewe <[email protected]> | 2015-07-13 23:34:12 +0200 |
commit | b371616b8537d6450ebca0819defbf53452bebf3 (patch) | |
tree | bd428e4d43248d258ba4a075d19ae39967e2a0b2 /lib/timerqueue.c | |
parent | ba0ef85479c46a2ab354c2220bdb6152f7f4baf3 (diff) |
tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted
At least some versions of AMI BIOS have corrupted contents in the TPM2
ACPI table and namely the physical address of the control area is set to
zero.
This patch changes the driver to fail gracefully when we observe a zero
address instead of continuing to ioremap.
Cc: <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Reviewed-by: Peter Huewe <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions