Re: [PATCH] tpm: ibmvtpm: Set TPM_OPS_AUTO_STARTUP flag on driver

2024-10-15 Thread Jarkko Sakkinen
On Wed Oct 16, 2024 at 12:15 AM EEST, Jarkko Sakkinen wrote: > On Mon Oct 14, 2024 at 5:16 PM EEST, Stefan Berger wrote: > > Set the TPM_OPS_AUTO_STARTUP on the driver so that the ibmvtpm driver now > > uses tpm2_auto_startup and tpm1_auto_startup like many other drivers do. > > Remove tpm_get_time

Re: [PATCH] tpm: ibmvtpm: Set TPM_OPS_AUTO_STARTUP flag on driver

2024-10-15 Thread Jarkko Sakkinen
On Mon Oct 14, 2024 at 5:16 PM EEST, Stefan Berger wrote: > Set the TPM_OPS_AUTO_STARTUP on the driver so that the ibmvtpm driver now > uses tpm2_auto_startup and tpm1_auto_startup like many other drivers do. > Remove tpm_get_timeouts, tpm2_get_cc_attrs_tbl, and tpm2_sessions_init > calls from it s

[PATCH] tpm: ibmvtpm: Set TPM_OPS_AUTO_STARTUP flag on driver

2024-10-14 Thread Stefan Berger
Set the TPM_OPS_AUTO_STARTUP on the driver so that the ibmvtpm driver now uses tpm2_auto_startup and tpm1_auto_startup like many other drivers do. Remove tpm_get_timeouts, tpm2_get_cc_attrs_tbl, and tpm2_sessions_init calls from it since these will all be called in tpm2_auto_startup and tpm1_auto_s