Skip to content

Enable Automatic Disk Unlock with TPM2 on ieee1275

Stefan Berger grub-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 2 repliesIn review
  2. v25 patches 7 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Applied Daniel's R-b tags
- Added patches 2 & 3/7 for cleaning up of IEEE1275_IHANDLE_INVALID
- Using bools instead of ints
- Fixed commit messages

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tss2: Adjust bit fields for big endian targetsgrub-core/lib/tss2/tss2_structs.h+38 -00 replies
2/7ieee1275/serial: Cast 0 to proper typegrub-core/term/ieee1275/serial.c+1 -10 replies
3/7ieee1275: Consolidate repeated definitions of IEEE1275_IHANDLE_INVALIDgrub-core/commands/ieee1275/ibmvtpm.c grub-core/term/ieee1275/serial.c include/grub/ieee1275/ieee1275.h+5 -80 replies
4/7ieee1275/ibmvpm: Move TPM initializaton functions to own filegrub-core/Makefile.core.def grub-core/commands/ieee1275/ibmvtpm.c grub-core/lib/ieee1275/tcg2.c +1 more+97 -400 replies
5/7ieee1275/tcg2: Refactor grub_ieee1275_tpm_initgrub-core/commands/ieee1275/ibmvtpm.c grub-core/lib/ieee1275/tcg2.c include/grub/ieee1275/tpm.h+18 -250 replies
6/7ieee1275/tcg2: Add TCG2 driver for ieee1275 PowerPC firmwaregrub-core/Makefile.core.def grub-core/lib/ieee1275/tcg2.c+106 -10 replies
7/7tpm2_key_protector: Enable build for powerpc_ieee1275grub-core/Makefile.core.def+1 -00 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGary LinDaniel Kiper
SeriesR-b R-b
1/7R-b R-b
2/7
3/7
4/7R-b
5/7
6/7
7/7R-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/7] Enable Automatic Disk Unlock with TPM2 on ieee1275

This series of patches enables the 'Automatic Disk Unlock with TPM2' support for ieee1275 PowerPC platforms. It adds a TCG2 driver for this platform, which has the same API as the one for EFI. Further, it adjusts the definition of TPM 2 related bit fields for big endian targets.

Regards,
Stefan

v3:
- Applied Daniel's R-b tags
- Added patches 2 & 3/7 for cleaning up of IEEE1275_IHANDLE_INVALID
- Using bools instead of ints
- Fixed commit messages

v2:
- Applied Gary's R-b tag to 1/5
- Split v1 2/2 into 4 patches
- Refactoring of grub_ieee1275_tpm_init

Stefan Berger (7):
tss2: Adjust bit fields for big endian targets ieee1275/serial: Cast 0 to proper type
ieee1275: Consolidate repeated definitions of IEEE1275_IHANDLE_INVALID ieee1275/ibmvpm: Move TPM initializaton functions to own file ieee1275/tcg2: Refactor grub_ieee1275_tpm_init ieee1275/tcg2: Add TCG2 driver for ieee1275 PowerPC firmware
tpm2_key_protector: Enable build for powerpc_ieee1275

 grub-core/Makefile.core.def           |   3 +
 grub-core/commands/ieee1275/ibmvtpm.c |  46 +-------
 grub-core/lib/ieee1275/tcg2.c         | 159 ++++++++++++++++++++++++++
 grub-core/lib/tss2/tss2_structs.h     |  38 ++++++
 grub-core/term/ieee1275/serial.c      |   8 +-
 include/grub/ieee1275/ieee1275.h      |   1 +
 include/grub/ieee1275/tpm.h           |  30 +++++
 7 files changed, 238 insertions(+), 47 deletions(-)
 create mode 100644 grub-core/lib/ieee1275/tcg2.c
 create mode 100644 include/grub/ieee1275/tpm.h
Signature · 7 lines
2.25.1


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel