[Bug 295103] tpm_tis driver reports "Failed to switch to ready state"
Date: Fri, 26 Jun 2026 19:58:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295103
--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=e4c50d86796d07cf90e6a683234e1c0e9ca5e03c
commit e4c50d86796d07cf90e6a683234e1c0e9ca5e03c
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2026-06-26 19:20:30 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
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 <benoit.sansoni@gmail.com>
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.