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)
Sun, Jun 21, 7:54 AM
Unknown Object (File)
Thu, Jun 18, 8:08 AM
Unknown Object (File)
Fri, Jun 12, 4:27 AM
Unknown Object (File)
Wed, Jun 10, 1:11 PM
Unknown Object (File)
Tue, Jun 9, 12:53 PM
Unknown Object (File)
Thu, Jun 4, 8:23 AM
Unknown Object (File)
Mon, May 25, 11:11 AM
Unknown Object (File)
May 15 2026, 7:38 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