tpm: Preserve TPM measurement log across kexec (ppc64)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest4 patches 9 repliesIn review
- v84 patches 8 repliesSuperseded
- v76 patches 9 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 6 patches | 10 replies | Superseded | |
| v5 | 6 patches | 5 replies | Superseded | |
| v4 | 5 patches | 4 replies | Superseded | |
| v3 | 3 patches | 1 reply | Superseded | |
| v2 | 3 patches | 7 replies | Superseded | |
| v1 | 3 patches | 9 replies | Superseded |
Changes in v9 from the cover letter
- 2/4: Rebased on 6.3-rc7: call tpm_read_log_memory_region if -ENODEV returned
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drivers: of: kexec ima: Support 32-bit platformsdrivers/ | +2 | 1 reply | |
| 2/4 | tpm: of: Make of-tree specific function commonly availabledrivers/ include/ | +41 | 5 replies | |
| 3/4 | of: kexec: Refactor IMA buffer related functions to make them reusabledrivers/ | +74 | 2 replies | |
| 4/4 | tpm/kexec: Duplicate TPM measurement log in of-tree for kexecdrivers/ include/ include/ +1 more | +232 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring | Mimi Zohar | Nageswara R Sastry | Coiby Xu | Jarkko Sakkinen | Jerry Snitselaar |
|---|---|---|---|---|---|---|
| 1/4 | A-b | R-b | R-b | |||
| 2/4 | R-b | T-b | T-b | A-b | R-b | |
| 3/4 | R-b | R-b | T-b | T-b | R-b | |
| 4/4 | R-b | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH v9 0/4] 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
v9:
- 2/4: Rebased on 6.3-rc7: call tpm_read_log_memory_region if -ENODEV returned
v8:
- Added Jarkko's, Coiby's, and Rob's tags
- Rebase on v6.0-rc3 that absorbed 2 already upstreamed patches
v7:
- Added Nageswara's Tested-by tags
- Added back original comment to inline function and removed Jarkko's R-b tag
v6:
- Add __init to get_kexec_buffer as suggested by Jonathan
- Fixed issue detected by kernel test robot
v5:
- Rebased on 1 more patch that would otherwise create merge conflicts
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
drivers/char/tpm/eventlog/of.c | 30 +-- drivers/of/kexec.c | 336 ++++++++++++++++++++++++++++----- include/linux/kexec.h | 6 + include/linux/of.h | 6 + include/linux/tpm.h | 36 ++++ kernel/kexec_file.c | 6 + 6 files changed, 344 insertions(+), 76 deletions(-)
base-commit: 6a8f57ae2eb07ab39a6f0ccad60c760743051026
Signature · 1 line
2.38.1