diff options
author | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2015-06-24 17:14:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-08-03 09:29:11 -0700 |
commit | c2c40e1af2a2a78c04120567709344b1bf9f8111 (patch) | |
tree | d6738357b0f4e1a7a5ac4c791ce3492464da3f7d /Documentation/crypto/api-intro.txt | |
parent | f7ea8a3bd52da9670d32fd9869657a8501edff23 (diff) |
tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted
commit b371616b8537d6450ebca0819defbf53452bebf3 upstream.
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.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/crypto/api-intro.txt')
0 files changed, 0 insertions, 0 deletions