mbox series

[v2,0/4] Enable vTPM 2.0 for the IBM vTPM driver

Message ID 20200213202329.898607-1-stefanb@linux.vnet.ibm.com (mailing list archive)
Headers show
Series Enable vTPM 2.0 for the IBM vTPM driver | expand

Message

Stefan Berger Feb. 13, 2020, 8:23 p.m. UTC
From: Stefan Berger <stefanb@linux.ibm.com>

QEMU 5.0 will support the PAPR vTPM device model for TPM 1.2 and TPM 2.0.
This series of patches enables vTPM 2.0 support for the IBM vTPM driver.

Regards,
   Stefan

- v1->v2:
  - Addressed comments to v1; added patch 3 to handle case when
    TPM_OPS_AUTO_STARTUP is not set

Stefan Berger (4):
  tpm: of: Handle IBM,vtpm20 case when getting log parameters
  tpm: ibmvtpm: Wait for buffer to be set before proceeding
  tpm: Implement tpm2_init to call when TPM_OPS_AUTO_STARTUP is not set
  tpm: ibmvtpm: Add support for TPM 2

 drivers/char/tpm/eventlog/of.c   |  8 +++++++-
 drivers/char/tpm/tpm-interface.c |  5 ++++-
 drivers/char/tpm/tpm.h           |  1 +
 drivers/char/tpm/tpm2-cmd.c      | 14 ++++++++++++++
 drivers/char/tpm/tpm_ibmvtpm.c   | 15 ++++++++++++++-
 drivers/char/tpm/tpm_ibmvtpm.h   |  1 +
 6 files changed, 41 insertions(+), 3 deletions(-)

Comments

Stefan Berger Feb. 19, 2020, 7:23 p.m. UTC | #1
On 2/13/20 3:23 PM, Stefan Berger wrote:
> From: Stefan Berger <stefanb@linux.ibm.com>
>
> QEMU 5.0 will support the PAPR vTPM device model for TPM 1.2 and TPM 2.0.
> This series of patches enables vTPM 2.0 support for the IBM vTPM driver.


If there are no more comments to this series, maybe Jarkko can queue it?


    Stefan


>
> Regards,
>     Stefan
>
> - v1->v2:
>    - Addressed comments to v1; added patch 3 to handle case when
>      TPM_OPS_AUTO_STARTUP is not set
>
> Stefan Berger (4):
>    tpm: of: Handle IBM,vtpm20 case when getting log parameters
>    tpm: ibmvtpm: Wait for buffer to be set before proceeding
>    tpm: Implement tpm2_init to call when TPM_OPS_AUTO_STARTUP is not set
>    tpm: ibmvtpm: Add support for TPM 2
>
>   drivers/char/tpm/eventlog/of.c   |  8 +++++++-
>   drivers/char/tpm/tpm-interface.c |  5 ++++-
>   drivers/char/tpm/tpm.h           |  1 +
>   drivers/char/tpm/tpm2-cmd.c      | 14 ++++++++++++++
>   drivers/char/tpm/tpm_ibmvtpm.c   | 15 ++++++++++++++-
>   drivers/char/tpm/tpm_ibmvtpm.h   |  1 +
>   6 files changed, 41 insertions(+), 3 deletions(-)
>
Jarkko Sakkinen Feb. 20, 2020, 7:59 p.m. UTC | #2
On Wed, Feb 19, 2020 at 02:23:29PM -0500, Stefan Berger wrote:
> On 2/13/20 3:23 PM, Stefan Berger wrote:
> > From: Stefan Berger <stefanb@linux.ibm.com>
> > 
> > QEMU 5.0 will support the PAPR vTPM device model for TPM 1.2 and TPM 2.0.
> > This series of patches enables vTPM 2.0 support for the IBM vTPM driver.
> 
> 
> If there are no more comments to this series, maybe Jarkko can queue it?

Do not recall seeing this series before. Probably have missed it.
I'll look into it next week.

/Jarkkko
Jarkko Sakkinen Feb. 20, 2020, 8 p.m. UTC | #3
On Thu, Feb 20, 2020 at 09:59:06PM +0200, Jarkko Sakkinen wrote:
> On Wed, Feb 19, 2020 at 02:23:29PM -0500, Stefan Berger wrote:
> > On 2/13/20 3:23 PM, Stefan Berger wrote:
> > > From: Stefan Berger <stefanb@linux.ibm.com>
> > > 
> > > QEMU 5.0 will support the PAPR vTPM device model for TPM 1.2 and TPM 2.0.
> > > This series of patches enables vTPM 2.0 support for the IBM vTPM driver.
> > 
> > 
> > If there are no more comments to this series, maybe Jarkko can queue it?
> 
> Do not recall seeing this series before. Probably have missed it.
> I'll look into it next week.

Yup, did not have CC to me. If you have rush to get something queued,
then should at least CC to series.

/Jarkko