[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220701022603.31076-1-stefanb@linux.ibm.com>
Date: Thu, 30 Jun 2022 22:25:58 -0400
From: Stefan Berger <stefanb@...ux.ibm.com>
To: kexec@...ts.infradead.org, devicetree@...r.kernel.org,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Cc: nayna@...ux.ibm.com, nasastry@...ibm.com, mpe@...erman.id.au,
Stefan Berger <stefanb@...ux.ibm.com>
Subject: [PATCH v4 0/5] tpm: Preserve TPM measurement log across kexec (ppc64)
The of-tree subsystem does not currently preserve the IBM vTPM 1.2 and
vTPM 2.0 measurement logs across a kexec on PowerVM and PowerKVM. This
series fixes this for the kexec_file_load() syscall using the flattened
device tree (fdt) to carry the TPM measurement log's buffer across kexec.
Stefan
v4:
- Rebased on 2 patches that would otherwise create merge conflicts;
posting these patches in this series with several tags removed so
krobot can test the series already
- Changes to individual patches documented in patch descripitons
v3:
- Moved TPM Open Firmware related function to drivers/char/tpm/eventlog/tpm_of.c
v2:
- rearranged patches
- fixed compilation issues for x86
Palmer Dabbelt (1):
drivers: of: kexec ima: Support 32-bit platforms
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
Vaibhav Jain (1):
of: check previous kernel's ima-kexec-buffer against memory bounds
drivers/char/tpm/eventlog/of.c | 31 +---
drivers/of/kexec.c | 328 +++++++++++++++++++++++++++++----
include/linux/kexec.h | 6 +
include/linux/of.h | 8 +-
include/linux/tpm.h | 27 +++
kernel/kexec_file.c | 6 +
6 files changed, 340 insertions(+), 66 deletions(-)
base-commit: 03c765b0e3b4cb5063276b086c76f7a612856a9a
--
2.35.1
Powered by blists - more mailing lists