summaryrefslogtreecommitdiff
path: root/sys/dev/usb/utpms.c
diff options
context:
space:
mode:
authorDave Voutila <dv@cvs.openbsd.org>2021-10-23 16:39:04 +0000
committerDave Voutila <dv@cvs.openbsd.org>2021-10-23 16:39:04 +0000
commita455ed6360fd3308339ab41685da5e6772452ec0 (patch)
treef87d7d910422331f03f6877a771d252935508f1e /sys/dev/usb/utpms.c
parentdb6bd7c89d8dd89231c0e393f289130c773c793a (diff)
tpm(4): add support for tpm2 CRB interface
Some modern tpm2 devices require or prefer drivers communicate via the CRB interface and not the TIS/fifo interface. This change adds basic support for detecting CRB start mode and using CRB to issue commands required for proper S4 hibernation. As a result, this also defines a new struct definition for the TPM2 acpi table required for start mode detection. This fixes recent S4 regressions on the Surface Go 2 caused by a change in firmware from Microsoft. Other CRB start methods may need implementing in the future to support additional hardware. tested by deraadt@ and many others, ok kettenis@
Diffstat (limited to 'sys/dev/usb/utpms.c')
0 files changed, 0 insertions, 0 deletions