kexec.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] tpm: Preserve TPM measurement log across kexec
@ 2022-06-14 16:12 Stefan Berger
  2022-06-14 16:12 ` [PATCH 1/3] of: kexec: Refactor IMA buffer related functions to make them reusable Stefan Berger
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Stefan Berger @ 2022-06-14 16:12 UTC (permalink / raw)
  To: kexec, devicetree; +Cc: nayna, nasastry, Stefan Berger

The current of-tree driver does not currently preserve the vTPM 1.2 and
vTPM 2.0 measurement log across a kexec. 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):
  of: kexec: Refactor IMA buffer related functions to make them reusable
  tpm/kexec: Duplicate TPM measurement log in of-tree for kexec
  tpm: of: Call of_tpm_get_sml_parameters() to get base and size of log

 drivers/char/tpm/eventlog/of.c |  31 +---
 drivers/of/device.c            |  24 +++
 drivers/of/kexec.c             | 284 +++++++++++++++++++++++++++++----
 include/linux/kexec.h          |   6 +
 include/linux/of.h             |   5 +
 include/linux/of_device.h      |   3 +
 kernel/kexec_file.c            |   6 +
 7 files changed, 298 insertions(+), 61 deletions(-)

-- 
2.35.1


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2022-06-15 21:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 16:12 [PATCH 0/3] tpm: Preserve TPM measurement log across kexec Stefan Berger
2022-06-14 16:12 ` [PATCH 1/3] of: kexec: Refactor IMA buffer related functions to make them reusable Stefan Berger
2022-06-14 16:35   ` Nageswara R Sastry
2022-06-14 16:12 ` [PATCH 2/3] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec Stefan Berger
2022-06-14 16:46   ` Nageswara R Sastry
2022-06-14 17:48   ` Rob Herring
2022-06-15 13:08     ` Stefan Berger
2022-06-15 20:14       ` Rob Herring
2022-06-15 21:45         ` Stefan Berger
2022-06-15 20:18     ` Rob Herring
2022-06-14 18:58   ` kernel test robot
2022-06-15  0:54   ` kernel test robot
2022-06-15  9:42   ` kernel test robot
2022-06-14 16:12 ` [PATCH 3/3] tpm: of: Call of_tpm_get_sml_parameters() to get base and size of log Stefan Berger
2022-06-14 16:47   ` Nageswara R Sastry
2022-06-15 21:25   ` Jarkko Sakkinen

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).