summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2015-06-24 17:14:55 +0300
committerPeter Huewe <peterhuewe@gmx.de>2015-07-13 23:34:12 +0200
commitb371616b8537d6450ebca0819defbf53452bebf3 (patch)
treebd428e4d43248d258ba4a075d19ae39967e2a0b2 /mm/vmscan.c
parentba0ef85479c46a2ab354c2220bdb6152f7f4baf3 (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 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions