mbox series

[0/2] Implement 2 missing TPM related firmware API calls

Message ID 20241028135149.3135243-1-stefanb@linux.ibm.com
Headers show
Series Implement 2 missing TPM related firmware API calls | expand

Message

Stefan Berger Oct. 28, 2024, 1:51 p.m. UTC
This series implements 2 missing TPM related firmware API calls. One is to
get the maximum TPM command size and the other one allows passing a TPM
command through to the TPM. These calls will be used by ppc64-enablement of
the following grub series where grub calls similar API calls in the x86
firmware:

https://lore.kernel.org/grub-devel/qurvz3ceq5fwbbq6c3u6xpmbsjbxnvoqg2tyqq47rdfaemwbl2@mgqwgv5ik445/T/#t 

Regards,
   Stefan

v2:
  - Added explanation what the API calls will be used for
  - Improved commit messages

Stefan Berger (2):
  tpm: Implement firmware API call get-maximum-cmd-size
  tpm: Implement firmware API call pass-through-to-tpm

 board-qemu/slof/vio-vtpm-cdriver.fs | 19 +++++++++++++++++++
 lib/libtpm/tcgbios.c                | 21 +++++++++++++++++++++
 lib/libtpm/tcgbios.h                |  2 ++
 lib/libtpm/tpm.code                 | 21 +++++++++++++++++++++
 lib/libtpm/tpm.in                   |  2 ++
 5 files changed, 65 insertions(+)

Comments

Stefan Berger Oct. 28, 2024, 4:49 p.m. UTC | #1
This is supposed to be v2...

On 10/28/24 9:51 AM, Stefan Berger wrote:
> This series implements 2 missing TPM related firmware API calls. One is to
> get the maximum TPM command size and the other one allows passing a TPM
> command through to the TPM. These calls will be used by ppc64-enablement of
> the following grub series where grub calls similar API calls in the x86
> firmware:
> 
> https://lore.kernel.org/grub-devel/qurvz3ceq5fwbbq6c3u6xpmbsjbxnvoqg2tyqq47rdfaemwbl2@mgqwgv5ik445/T/#t
> 
> Regards,
>     Stefan
> 
> v2:
>    - Added explanation what the API calls will be used for
>    - Improved commit messages
> 
> Stefan Berger (2):
>    tpm: Implement firmware API call get-maximum-cmd-size
>    tpm: Implement firmware API call pass-through-to-tpm
> 
>   board-qemu/slof/vio-vtpm-cdriver.fs | 19 +++++++++++++++++++
>   lib/libtpm/tcgbios.c                | 21 +++++++++++++++++++++
>   lib/libtpm/tcgbios.h                |  2 ++
>   lib/libtpm/tpm.code                 | 21 +++++++++++++++++++++
>   lib/libtpm/tpm.in                   |  2 ++
>   5 files changed, 65 insertions(+)
>