diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-06-24 17:14:55 +0300 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2015-07-13 23:34:12 +0200 |
commit | b371616b8537d6450ebca0819defbf53452bebf3 (patch) | |
tree | bd428e4d43248d258ba4a075d19ae39967e2a0b2 /virt/kvm | |
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: <stable@vger.kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions