Skip to content

Extend TPM PPI interface to support revision 1.3

Stefan Berger linux-integrity linux-security-module lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 4 repliesIn review

Changes in v2 from the cover letter

- reformatted badly aligned code
- changed TPM_PPI_REVISION_1 to TPM_PPI_REVISION_ID_1
- Added R-b's and T-b's

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tpm: ppi: pass function revision ID to tpm_eval_dsm()drivers/char/tpm/tpm_ppi.c+8 -80 replies
2/5tpm: ppi: rename TPM_PPI_REVISION_ID to TPM_PPI_REVISION_ID_1drivers/char/tpm/tpm_ppi.c+11 -101 reply
3/5tpm: ppi: Display up to 101 operations as define for version 1.3drivers/char/tpm/tpm_ppi.c+1 -10 replies
4/5tpm: ppi: Possibly show command parameter if TPM PPI 1.3 is useddrivers/char/tpm/tpm_ppi.c+29 -21 reply
5/5tpm: ppi: Enable submission of optional command parameter for PPI 1.3drivers/char/tpm/tpm_ppi.c+16 -62 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchDavid SaffordJarkko Sakkinen
1/5T-b R-b
2/5T-b R-b
3/5T-b R-b
4/5T-b R-b
5/5T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Extend TPM PPI interface to support revision 1.3

This series of patches extends the TPM subsystem's PPI support to support TPM PPI revision 1.3 where more commands are supported (up to 101) and the TPM 2 command code '23' takes an additional parameter.

For the command code '23' see this document here on document page 39:
https://trustedcomputinggroup.org/wp-content/uploads/Physical-Presence-Interface_1-30_0-52.pdf

Stefan

v1->v2:
- reformatted badly aligned code
- changed TPM_PPI_REVISION_1 to TPM_PPI_REVISION_ID_1
- Added R-b's and T-b's

Stefan Berger (5):
tpm: ppi: pass function revision ID to tpm_eval_dsm()
tpm: ppi: rename TPM_PPI_REVISION_ID to TPM_PPI_REVISION_ID_1
tpm: ppi: Display up to 101 operations as define for version 1.3
tpm: ppi: Possibly show command parameter if TPM PPI 1.3 is used
tpm: ppi: Enable submission of optional command parameter for PPI 1.3

 drivers/char/tpm/tpm_ppi.c | 78 ++++++++++++++++++++++++++++++++++------------
 1 file changed, 58 insertions(+), 20 deletions(-)
Signature · 1 line
2.13.6