diff options
author | Eddie James <eajames@linux.ibm.com> | 2023-01-27 00:08:10 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-02-13 11:11:20 +0300 |
commit | 1e2714bb83fc783d58701967391bea242c65eaff (patch) | |
tree | 239a6ca8dc4433d9728f02ab7ef8e05829d9e6af /drivers/char/tpm/tpm2-cmd.c | |
parent | 441b7152729f4a2bdb100135a58625fa0aeb69e4 (diff) | |
download | linux-1e2714bb83fc783d58701967391bea242c65eaff.tar.xz |
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>
Diffstat (limited to 'drivers/char/tpm/tpm2-cmd.c')
0 files changed, 0 insertions, 0 deletions