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)
Sat, Sep 5, 8:08 AM
Unknown Object (File)
Fri, Sep 4, 12:36 PM
Unknown Object (File)
Fri, Sep 4, 8:53 AM
Unknown Object (File)
Fri, Sep 4, 7:27 AM
Unknown Object (File)
Thu, Sep 3, 11:07 PM
Unknown Object (File)
Wed, Sep 2, 7:11 AM
Unknown Object (File)
Tue, Sep 1, 11:03 PM
Unknown Object (File)
Tue, Sep 1, 12:46 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