lkml.org 
[lkml]   [2023]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] tpm: Add reserved memory event log
Date
Some platforms may desire to pass the event log up to linux in the
form of a reserved memory region. Add support for this in the TPM
core to find the reserved memory region and map it. Since the memory
is mapped, not allocated, change all the event log allocation
functions to managed allocations so that the memory can be either
automatically freed or unmapped.

Changes since v1:
- Use managed memory

Eddie James (2):
tpm: Use managed allocation for bios event log
tpm: Add reserved memory event log

drivers/char/tpm/eventlog/acpi.c | 5 ++--
drivers/char/tpm/eventlog/efi.c | 13 +++++-----
drivers/char/tpm/eventlog/of.c | 41 ++++++++++++++++++++++++++++++--
drivers/char/tpm/tpm-chip.c | 1 -
4 files changed, 49 insertions(+), 11 deletions(-)

--
2.31.1

\
 
 \ /
  Last update: 2023-03-26 23:39    [W:0.178 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site