drivers: tpm: Fix Atmel/Microchip TPMv1.2 issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 8 repliesIn review
- v16 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Include model number in get_desc output
Example: "Atmel AT97SC3204T I2C 1.2 TPM (tpm@29)"
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | cmd: tpm-v1: fix compile error in TPMv1 list resources commandcmd/ | +6 | 1 reply | |
| 2/6 | cmd: tpm-v1: fix load_key_by_sha1 compile errorscmd/ lib/ | +7 | 1 reply | |
| 3/6 | drivers: tpm: atmel_twi: drop non-DM_I2C compatibilitydrivers/ | +1 | 1 reply | |
| 4/6 | drivers: tpm: atmel_twi: do not use an offset bytedrivers/ | +1 | 2 replies | |
| 5/6 | drivers: tpm: atmel_twi: implement get_desc operationdrivers/ | +4 | 1 reply | |
| 6/6 | drivers: tpm: atmel_twi: fix printf specifier compile warningdrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Ilias Apalodimas | Simon Glass |
|---|---|---|
| 1/6 | R-b | R-b |
| 2/6 | R-b | R-b |
| 3/6 | R-b | R-b |
| 4/6 | A-b | R-b |
| 5/6 | R-b | |
| 6/6 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] drivers: tpm: Fix Atmel/Microchip TPMv1.2 issues
While doing bringup/rebase for the Ten64 I did some troubleshooting for the tpm (v1.2, NOT tpm2) command which did not appear to function, despite the Linux driver and tools (tcsd) working on the same board.
Evidently the Atmel TPM driver hasn't kept up with various step changes in the I2C and TPM stacks, and while TPMv1.2 is quite dated to TPMv2 it would be nice to make some use of the hardware that is there.
(Admittedly I would love to replace our hardware TPM with an fTPM but that is a project for another day)
There are also subcommands in tpm-v1 which also have been missed in changes to the TPMv1 API and are fixed in this patchset.
Changes in v2:
- Include model number in get_desc output
Example: "Atmel AT97SC3204T I2C 1.2 TPM (tpm@29)"
Mathew McBride (6):
cmd: tpm-v1: fix compile error in TPMv1 list resources command
cmd: tpm-v1: fix load_key_by_sha1 compile errors
drivers: tpm: atmel_twi: drop non-DM_I2C compatibility
drivers: tpm: atmel_twi: do not use an offset byte
drivers: tpm: atmel_twi: implement get_desc operation
drivers: tpm: atmel_twi: fix printf specifier compile warning
cmd/tpm-v1.c | 17 +++++++++++------ drivers/tpm/tpm_atmel_twi.c | 22 +++++++--------------- lib/tpm-v1.c | 4 ++-- 3 files changed, 20 insertions(+), 23 deletions(-)
Signature · 1 line
2.30.1