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
Unknown Object (File)
Thu, Oct 2, 9:46 PM
Unknown Object (File)
Wed, Oct 1, 11:49 AM
Unknown Object (File)
Thu, Sep 25, 7:38 PM
Unknown Object (File)
Thu, Sep 25, 4:28 PM
Unknown Object (File)
Mon, Sep 22, 11:09 AM
Unknown Object (File)
Sun, Sep 21, 9:40 PM
Unknown Object (File)
Fri, Sep 12, 4:31 PM
Unknown Object (File)
Sep 9 2025, 6:10 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