Date: Wed, 20 May 2026 19:07:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 295103] tpm_tis driver reports "Failed to switch to ready state" Message-ID: <bug-295103-227-glgV5sQyBo@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-295103-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295103 --- Comment #2 from Benoit SANSONI <benoit.sansoni@gmail.com> --- Hi, After investigation, I found out that the driver tpmtis does not support the TPM2 ST33KTPM2X32CKE3. I used also the last update of the tpmtis driver in the current main stream. I got the same result. I used the freebsd 14.2 for my tests. To fix the problem I add this lines at the end of tpmtis_transmit and before the relinquish of the locality: + /* Add this line to support ST33KTPM2X32CKE3 */ + WR4(sc, TPM_STS, TPM_STS_CMD_RDY); + bus_barrier(sc->mem_res, TPM_STS, 4, BUS_SPACE_BARRIER_WRITE); tpmtis_relinquish_locality(sc); With this modification, the tpm driver can report proper value, and the go_ready return good status regularly. TSS service is working well and tpm2_* commands are working too. It can be easily port to main stream code. Thanks Benoit -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295103-227-glgV5sQyBo>
