linux/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, tpm_tis: fix TPM 2.0 probing 2015-02-15 16:59:15 +01:00
tpm_acpi.c ACPI: Clean up acpi_os_map/unmap_memory() to eliminate __iomem. 2014-05-27 18:13:08 +02:00
tpm_atmel.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
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: simplify code by using %*phN specifier 2014-07-29 23:10:56 +02:00
tpm_eventlog.h
tpm_i2c_atmel.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_i2c_infineon.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_i2c_nuvoton.c tpm: device class for tpm 2015-01-17 14:00:10 +01:00
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: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_of.c tpm_ibmvtpm: remove unneccessary message level. 2015-06-16 23:21:28 +02:00
tpm_ppi.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_tis.c tpm, tpm_tis: fix TPM 2.0 probing 2015-02-15 16:59:15 +01:00
tpm-chip.c tpm: Fix initialization of the cdev 2015-07-13 23:33:57 +02:00
tpm-dev.c tpm: device class for tpm 2015-01-17 14:00:10 +01:00
tpm-interface.c tpm: fix suspend/resume paths for TPM 2.0 2015-02-15 16:56:49 +01:00
tpm-sysfs.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm.h tpm, tpm_tis: fix TPM 2.0 probing 2015-02-15 16:59:15 +01:00
xen-tpmfront.c xenbus_client: Extend interface to support multi-page ring 2015-04-15 10:56:47 +01:00