aboutsummaryrefslogtreecommitdiff
path: root/test/Preprocessor/(developers-only)
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2026-09-14 14:21:11 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2026-09-14 14:25:47 +0000
commit7c375af72ef3f631e89431ae32a855d806e6ec98 (patch)
treea9f145f26edc6500e9a425530abdd63d729fba18 /test/Preprocessor/(developers-only)
parenteaeb5f29bc6f4ff31026b12bd2329699a066c68b (diff)
tpm: crb: check the error bit only after taking localityHEADmain
tpmcrb_transmit() read CRB_CTRL_STS before requesting locality 0. An AMD Pluton fTPM (like FrameWork Desktop) using the plain CRB start method reads the control area as all-ones until locality is assigned, so bit 0 looks like a stuck tpmSts and every command failed with EIO. With RANDOM_ENABLE_TPM the harvester retries every 10 seconds, so this printed "Device has Error bit set" forever. Reviewed by: kbowling Approved by: kbowling MFC after: 2 weeks Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D59661
Diffstat (limited to 'test/Preprocessor/(developers-only)')
0 files changed, 0 insertions, 0 deletions