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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Oct 2026 01:10:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295103

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit bd54c7bd59dfcc9e6243377f9c560099d2b1f65f
Author:     Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-06-26 19:20:30 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-10-11 01:09:23 +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 <benoit.sansoni@gmail.com>
    Reviewed by:    kevans
    Approved by:    kevans
    Differential Revision:  https://reviews.freebsd.org/D57841

    (cherry picked from commit e4c50d86796d07cf90e6a683234e1c0e9ca5e03c)

 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.