Skip to content

tpm: Add reserved memory event log

Eddie James linux-devicetree linux-integrity lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 8 repliesSuperseded
  3. v11 patch 2 repliesSuperseded

Changes in v3 from the cover letter

- Improve commit message for patch 2

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm: Use managed allocation for bios event logdrivers/char/tpm/eventlog/acpi.c drivers/char/tpm/eventlog/efi.c drivers/char/tpm/eventlog/of.c +1 more+12 -100 replies
2/2tpm: Add reserved memory event logdrivers/char/tpm/eventlog/of.c+37 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJarkko Sakkinen
1/2T-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] 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.
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 v2:
- Improve commit message for patch 2

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(-)
Signature · 1 line
2.31.1