devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] tpm: Preserve TPM measurement log across kexec (ppc64)
@ 2022-06-28 16:58 Stefan Berger
  2022-06-28 16:58 ` [PATCH v3 1/3] tpm: of: Make of-tree specific function commonly available Stefan Berger
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Stefan Berger @ 2022-06-28 16:58 UTC (permalink / raw)
  To: kexec, devicetree, linux-integrity, linux-kernel, linuxppc-dev
  Cc: nayna, nasastry, mpe, Stefan Berger

The of-tree subsystem does not currently preserve the IBM vTPM 1.2 and
vTPM 2.0 measurement logs across a kexec on ppc64. This series fixes this
for the kexec_file_load() syscall using the flattened device tree (fdt) to
carry the measurement log's buffer across kexec.

   Stefan

Stefan Berger (3):
  tpm: of: Make of-tree specific function commonly available
  of: kexec: Refactor IMA buffer related functions to make them reusable
  tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

 drivers/char/Makefile              |   1 +
 drivers/char/tpm/Makefile          |   1 +
 drivers/char/tpm/eventlog/of.c     |  31 +--
 drivers/char/tpm/eventlog/tpm_of.c |  27 +++
 drivers/of/kexec.c                 | 293 +++++++++++++++++++++++++----
 include/linux/kexec.h              |   6 +
 include/linux/of.h                 |   8 +-
 include/linux/tpm.h                |   5 +
 kernel/kexec_file.c                |   6 +
 9 files changed, 315 insertions(+), 63 deletions(-)
 create mode 100644 drivers/char/tpm/eventlog/tpm_of.c

-- 
2.35.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-28 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-28 16:58 [PATCH v3 0/3] tpm: Preserve TPM measurement log across kexec (ppc64) Stefan Berger
2022-06-28 16:58 ` [PATCH v3 1/3] tpm: of: Make of-tree specific function commonly available Stefan Berger
2022-06-28 16:58 ` [PATCH v3 2/3] of: kexec: Refactor IMA buffer related functions to make them reusable Stefan Berger
2022-06-28 16:58 ` [PATCH v3 3/3] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec Stefan Berger
2022-06-28 17:25 ` [PATCH v3 0/3] tpm: Preserve TPM measurement log across kexec (ppc64) Stefan Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).