mirror_ubuntu-kernels/drivers/char/tpm/eventlog
Eddie James 1e2714bb83 tpm: Add reserved memory event log
Some platforms may desire to pass the event log up to Linux in the
form of a reserved memory region. In particular, this is desirable
for embedded systems or baseboard management controllers (BMCs)
booting with U-Boot. IBM OpenBMC BMCs will be the first user.
Add support for the reserved memory in the TPM core to find the
region and map it.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
[jarkko: removed spurious dev_info()'s from tpm_read_log_memory_region()]
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
[yang: return -ENOMEM when devm_memremap() fails]
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
2023-02-13 10:11:20 +02:00
..
acpi.c tpm: Use managed allocation for bios event log 2023-02-13 10:11:20 +02:00
common.c tpm: vtpm_proxy: Avoid reading host log when using a virtual device 2021-04-14 16:30:30 +03:00
common.h tpm: Move eventlog declarations to its own header 2018-05-09 14:45:46 +03:00
efi.c tpm: Use managed allocation for bios event log 2023-02-13 10:11:20 +02:00
of.c tpm: Add reserved memory event log 2023-02-13 10:11:20 +02:00
tpm1.c tpm: Fix fall-through warnings for Clang 2021-02-16 10:40:27 +02:00
tpm2.c tpm: eventlog: Replace zero-length array with flexible-array member 2020-05-22 18:50:12 +03:00