diff options
author | Eddie James <eajames@linux.ibm.com> | 2023-01-26 15:08:10 -0600 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-02-13 10:11:20 +0200 |
commit | 1e2714bb83fc783d58701967391bea242c65eaff (patch) | |
tree | 239a6ca8dc4433d9728f02ab7ef8e05829d9e6af /kernel/ptrace.c | |
parent | 441b7152729f4a2bdb100135a58625fa0aeb69e4 (diff) | |
download | linux-stable-1e2714bb83fc783d58701967391bea242c65eaff.tar.gz linux-stable-1e2714bb83fc783d58701967391bea242c65eaff.tar.bz2 linux-stable-1e2714bb83fc783d58701967391bea242c65eaff.zip |
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 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions