Skip to content

Timeout for the TPM2_SelfTest command is not correct #7054

@fredjsq

Description

@fredjsq

* A wrapper around tpm_try_transmit() that handles TPM2_RC_RETRY returns from

From TCG PC Client Platform TPM Profile Specification for TPM 2.0 version 1.06 available since April 2025, the timeout duration for the SelfTest command is 3000ms.
Current kernel version is still using TPM2_DURATION_LONG (2000) for the SelftTest command. This is not correct and make the driver not working with more recent TPM including new cryptographic features.

It shall be a specific time-out value for the SelfTest command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions