kernel-ark/drivers/char/tpm
Jarkko Sakkinen b371616b85 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>
2015-07-13 23:34:12 +02:00
..
st33zp24 tpm/st33zp24/spi: Add missing device table for spi phy. 2015-03-27 02:50:43 +01:00
Kconfig tpm: Update KConfig text to include TPM2.0 FIFO chips 2015-03-18 22:43:07 +01:00
Makefile tpm/tpm_i2c_stm_st33: Split tpm_i2c_tpm_st33 in 2 layers (core + phy) 2015-03-18 22:43:06 +01:00
tpm2-cmd.c
tpm_acpi.c
tpm_atmel.c
tpm_atmel.h
tpm_crb.c tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted 2015-07-13 23:34:12 +02:00
tpm_eventlog.c
tpm_eventlog.h
tpm_i2c_atmel.c
tpm_i2c_infineon.c
tpm_i2c_nuvoton.c
tpm_ibmvtpm.c vTPM: set virtual device before passing to ibmvtpm_reset_crq 2015-06-16 23:26:59 +02:00
tpm_ibmvtpm.h tpm/ibmvtpm: Additional LE support for tpm_ibmvtpm_send 2015-03-06 22:35:48 +01:00
tpm_infineon.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2015-04-15 11:08:27 -07:00
tpm_nsc.c
tpm_of.c tpm_ibmvtpm: remove unneccessary message level. 2015-06-16 23:21:28 +02:00
tpm_ppi.c
tpm_tis.c
tpm-chip.c tpm: Fix initialization of the cdev 2015-07-13 23:33:57 +02:00
tpm-dev.c
tpm-interface.c
tpm-sysfs.c
tpm.h
xen-tpmfront.c xenbus_client: Extend interface to support multi-page ring 2015-04-15 10:56:47 +01:00