[Bug 295103] tpm_tis driver reports "Failed to switch to ready state"

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295103

--- Comment #8 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=e4c50d86796d07cf90e6a683234e1c0e9ca5e03c

commit e4c50d86796d07cf90e6a683234e1c0e9ca5e03c
Author:     Olivier Cochard <[email protected]>
AuthorDate: 2026-06-26 19:20:30 +0000
Commit:     Olivier Cochard <[email protected]>
CommitDate: 2026-06-26 19:56:17 +0000

    tpm_tis: release TPM resources after reading response

    Per TIS 1.3 section 5.6.12, write commandReady to TPM_STS after reading the
    response so the TPM can free its ReadFIFO and other internal resources.
    The subsequent tpmtis_go_ready() provides the second write the spec
describes
    and waits for the state transition.

    PR:             295103
    Reported by:    Benoit Sansoni <[email protected]>
    Reviewed by:    kevans
    Approved by:    kevans
    Differential Revision:  https://reviews.freebsd.org/D57841

 sys/dev/tpm/tpm_tis_core.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.