History log of /freebsd-current/usr.sbin/bhyve/tpm_intf.h
Revision Date Author Comments
# 28dc1aa7 28-Aug-2022 Corvin Köhne <corvink@FreeBSD.org>

bhyve: add emulation for CRB register of TPM devices

Trap accesses to the CRB MMIO range and emulate them properly.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40459


# ccfc9600 22-Jun-2023 Warner Losh <imp@FreeBSD.org>

Replace BSD-2-Clause-FreeBSD with BSD-2-Clause

Sponsored by: Netflix


# 35c8063a 20-Jun-2023 Corvin Köhne <corvink@FreeBSD.org>

bhyve: dos2unix

tpm_intf.h was incorrectly committed with dos line endings.

Fixes: 0917f925b46e3142c4373d1591bf22014d0f338e ("bhyve: add basic CRB interface for TPM devices")
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG


# 0daf5f02 28-Aug-2022 Corvin Köhne <corvink@FreeBSD.org>

bhyve/tpm: create crb thread for sending tpm commands

Commands send to a tpm are very slow. They can take up to several
seconds for completion. For that reason, create a thread which issues
the commands to the tpm device.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40458


# 5ea98d32 28-Aug-2022 Corvin Köhne <corvink@FreeBSD.org>

bhyve/tpm: build TPM2 table by tpm interface

Each tpm has a device specific table. Which table a tpm uses depends on
the tpm interface.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40457


# 0917f925 28-Aug-2022 Corvin Köhne <corvink@FreeBSD.org>

bhyve: add basic CRB interface for TPM devices

Add a basic emulation for the command and response buffer interface of
TPM devices. This commit only implements some CRB register and resets
them.

Reviewed by: markj
MFC after: 1 week
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D40456