diff options
author | 2023-01-26 15:08:10 -0600 | |
---|---|---|
committer | 2023-02-13 10:11:20 +0200 | |
commit | 1e2714bb83fc783d58701967391bea242c65eaff (patch) | |
tree | 239a6ca8dc4433d9728f02ab7ef8e05829d9e6af /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | tpm: Use managed allocation for bios event log (diff) | |
download | wireguard-linux-1e2714bb83fc783d58701967391bea242c65eaff.tar.xz wireguard-linux-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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions