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
Unknown Object (File)
Wed, Aug 12, 6:04 PM
Unknown Object (File)
Tue, Aug 11, 11:45 PM
Unknown Object (File)
Mon, Aug 10, 12:57 PM
Unknown Object (File)
Sun, Aug 9, 7:00 PM
Unknown Object (File)
Sun, Aug 9, 7:00 PM
Unknown Object (File)
Sun, Aug 9, 6:59 PM
Unknown Object (File)
Sun, Aug 9, 6:59 PM
Unknown Object (File)
Sun, Aug 9, 4:51 AM
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