Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev



Module Name:    src
Committed By:   maxv
Date:           Sat Jun 22 12:57:41 UTC 2019

Modified Files:
        src/sys/dev/acpi: tpm_acpi.c
        src/sys/dev/ic: tpm.c tpmreg.h tpmvar.h
        src/sys/dev/isa: tpm_isa.c

Log Message:
Revamp the TPM driver

 * Fix several bugs, and clean up.
 * Drop the "legacy" interface, it relied on an undocumented global
   variable that was never initialized. It likely had never been tested
   either, so good riddance.
 * Add support for TPM 2.0 chips via ACPI. For these we use the TIS1.2
   interface, same as TPM 1.2.
 * Provide an ioctl to fetch TPM information from the driver.

Tested on a Lenovo desktop with ACPI-TPM2.0, an HP laptop ACPI-TPM2.0, a
Dell laptop with ISA-TPM1.2.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/tpm_acpi.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/ic/tpm.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/tpmreg.h src/sys/dev/ic/tpmvar.h
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/isa/tpm_isa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index