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
F171432313: D52425.diff
Fri, Sep 11, 2:52 AM
F171420454: D52425.id.diff
Fri, Sep 11, 1:14 AM
Unknown Object (File)
Tue, Sep 8, 4:02 AM
Unknown Object (File)
Tue, Sep 8, 3:23 AM
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
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66888
Build 63771: arc lint + arc unit