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, Jul 12, 12:39 AM
Unknown Object (File)
Fri, Jul 3, 4:30 PM
Unknown Object (File)
Fri, Jul 3, 12:36 PM
Unknown Object (File)
Sun, Jun 21, 7:54 AM
Unknown Object (File)
Thu, Jun 18, 8:08 AM
Unknown Object (File)
Jun 12 2026, 4:27 AM
Unknown Object (File)
Jun 10 2026, 1:11 PM
Unknown Object (File)
Jun 9 2026, 12:53 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