Re: [PATCH] tpm, tpm_crb: fail when TPM2 ACPI table contents look corrupted

From: Peter Hüwe
Date: Mon Jul 13 2015 - 17:09:47 EST


Am Mittwoch, 24. Juni 2015, 16:14:55 schrieb Jarkko Sakkinen:
> 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.

Reviewed-by: Peter Huewe <peterhuewe@xxxxxx>

Thanks for fixing this.
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/