Page MenuHomeFreeBSD

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

Authored by markj on Sep 8 2025, 3:17 PM.
Tags
None
Referenced Files
F168083192: D52425.diff
Wed, Aug 26, 7:24 AM
Unknown Object (File)
Tue, Aug 25, 6:12 AM
Unknown Object (File)
Mon, Aug 24, 6:52 AM
Unknown Object (File)
Sun, Aug 23, 5:41 AM
Unknown Object (File)
Sat, Aug 22, 6:37 AM
Unknown Object (File)
Thu, Aug 20, 5:15 PM
Unknown Object (File)
Thu, Aug 20, 12:15 PM
Unknown Object (File)
Wed, Aug 12, 6:04 PM
Subscribers

Details

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 Not Applicable
Unit
Tests Not Applicable