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)
Mon, Nov 3, 8:31 AM
Unknown Object (File)
Sat, Nov 1, 7:10 PM
Unknown Object (File)
Wed, Oct 22, 9:39 PM
Unknown Object (File)
Mon, Oct 20, 7:08 PM
Unknown Object (File)
Thu, Oct 16, 7:25 AM
Unknown Object (File)
Oct 9 2025, 4:27 PM
Unknown Object (File)
Oct 9 2025, 4:27 PM
Unknown Object (File)
Oct 9 2025, 2:51 PM
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