History log of /freebsd-current/sys/dev/tpm/tpm_bus.c
Revision Date Author Comments
# bea2bf45 22-May-2024 Ryan Libby <rlibby@FreeBSD.org>

tpm_if.m: declare bus addresses as bus_size_t not bus_addr_t

Do like bus_space(9) does. This fixes the build on platforms where
bus_addr_t and bus_size_t are different (like i386 PAE).

Reviewed by: jhibbits
Fixes: c2e9c5bbf022 tpm: Refactor TIS and add a SPI attachment
Differential Revision: https://reviews.freebsd.org/D45287


# c2e9c5bb 13-Nov-2023 Justin Hibbits <jhibbits@FreeBSD.org>

tpm: Refactor TIS and add a SPI attachment

Summary:
Though mostly used in x86 devices, TPM can be used on others, with a
direct SPI attachment. Refactor the TPM 2.0 driver set to use an
attachment interface, and implement a SPI bus interface.

Test Plan:
Tested on a Raspberry Pi 4, with a GeeekPi TPM2.0 module (SLB9670
TPM) using security/tpm2-tools tpm2_getcaps for very light testing against the
spibus attachment.

Reviewed by: kd
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D45069