All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Fix Atmel/Microchip TPMv1.2 issues
@ 2021-11-04  1:12 Mathew McBride
  2021-11-04  1:12 ` [PATCH 1/6] cmd: tpm-v1: fix compile error in TPMv1 list resources command Mathew McBride
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Mathew McBride @ 2021-11-04  1:12 UTC (permalink / raw)
  To: u-boot, Ilias Apalodimas, Simon Glass; +Cc: Mathew McBride

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.

I have checked that this set isn't impacted by Ilias' TPM cleanup
series[1] which only touches TPMv2.

[1] - http://patchwork.ozlabs.org/project/uboot/cover/20211103150910.69732-1-ilias.apalodimas@linaro.org/

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(-)

-- 
2.30.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2021-11-17 11:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  1:12 [PATCH 0/6] Fix Atmel/Microchip TPMv1.2 issues Mathew McBride
2021-11-04  1:12 ` [PATCH 1/6] cmd: tpm-v1: fix compile error in TPMv1 list resources command Mathew McBride
2021-11-04  7:07   ` Ilias Apalodimas
2021-11-04  1:12 ` [PATCH 2/6] cmd: tpm-v1: fix load_key_by_sha1 compile errors Mathew McBride
2021-11-04  7:08   ` Ilias Apalodimas
2021-11-04  1:12 ` [PATCH 3/6] drivers: tpm: atmel_twi: drop non-DM_I2C compatibility Mathew McBride
2021-11-04  7:10   ` Ilias Apalodimas
2021-11-04  1:12 ` [PATCH 4/6] drivers: tpm: atmel_twi: do not use an offset byte Mathew McBride
2021-11-04  7:14   ` Ilias Apalodimas
2021-11-04  1:12 ` [PATCH 5/6] drivers: tpm: atmel_twi: implement get_desc operation Mathew McBride
2021-11-04  7:39   ` Ilias Apalodimas
2021-11-10  2:43     ` Mathew McBride
2021-11-10  6:58       ` Ilias Apalodimas
2021-11-04  1:12 ` [PATCH 6/6] drivers: tpm: atmel_twi: fix printf specifier compile warning Mathew McBride
2021-11-04  7:41   ` Ilias Apalodimas
2021-11-09  8:42 ` [PATCH 0/6] Fix Atmel/Microchip TPMv1.2 issues Eugen.Hristev
2021-11-09  8:57   ` Ilias Apalodimas
2021-11-17 10:35     ` Ilias Apalodimas
2021-11-17 11:09       ` Eugen.Hristev
2021-11-17 11:27         ` Tom Rini
2021-11-17 11:34           ` Eugen.Hristev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.