Page MenuHomeFreeBSD

bhyve: tpm: Avoid printing a message when clearing the cancel bit
AcceptedPublic

Authored by markj on Sep 8 2025, 3:17 PM.
Tags
None
Referenced Files
F142152159: D52425.id161713.diff
Fri, Jan 16, 12:50 PM
Unknown Object (File)
Thu, Jan 8, 12:15 PM
Unknown Object (File)
Tue, Jan 6, 1:26 PM
Unknown Object (File)
Nov 3 2025, 8:31 AM
Unknown Object (File)
Nov 1 2025, 7:10 PM
Unknown Object (File)
Oct 22 2025, 9:39 PM
Unknown Object (File)
Oct 20 2025, 7:08 PM
Unknown Object (File)
Oct 16 2025, 7:25 AM
Subscribers

Details

Reviewers
corvink
Group Reviewers
bhyve
Summary

Some drivers do this routinely, e.g., FreeBSD's tpm20 does this every
time it sends a command in tpmcrb_transmit(). This causes the console
to fill up with messages. Instead, only print a warning if the cancel
bit is set to one.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66888
Build 63771: arc lint + arc unit