Page MenuHomeFreeBSD

tpm: crb: add support for the Pluton startmethod
Needs ReviewPublic

Authored by kevans on Tue, Nov 11, 1:55 AM.
Tags
None
Referenced Files
F135888456: D53683.diff
Thu, Nov 13, 9:40 PM
F135887300: D53683.diff
Thu, Nov 13, 9:26 PM
Unknown Object (File)
Wed, Nov 12, 4:31 AM
Unknown Object (File)
Tue, Nov 11, 5:47 PM
Unknown Object (File)
Tue, Nov 11, 4:01 PM
Unknown Object (File)
Tue, Nov 11, 3:58 PM
Unknown Object (File)
Tue, Nov 11, 3:20 PM
Unknown Object (File)
Tue, Nov 11, 4:54 AM
Subscribers
None

Details

Summary

The Pluton startmethod uses a simple doorbell mechanism to wakeup the
TPM unit after we've issued various forms of state change, with the
registers to use specified in the startmethod-specific segment of the
TPM2 table (up to 12 bytes after the StartMethod).

At the very least, this is the kind of TPM in use by my AMD Zen 4-based
Minisforum machine.

Test Plan

Combinations tested:

  • Minisforum AI X1 (CRB + Pluton startmethod)
  • bhyve w/ swtpm (Traditional CRB)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68534
Build 65417: arc lint + arc unit