[Bug 283877] Trusted Platform Module driver fails to initialize firmware TPM

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Apr 2025 16:51:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283877

--- Comment #5 from Brett <vbasiccd@msn.com> ---
After upgrading to FreeBSD 14.2-RELEASE (now on patch 2), the Dell E7450 still
reports the same TPM errors.  The HP Z440 now reports the following:

# sysctl -a | grep tpm
tpm0: <Trusted Platform Module> iomem 0xfed40000-0xfed44fff on acpi0
tpm: device 0x001a15d1 rev 0x10
WARNING: Device "tpm" is Giant locked and may be deleted before FreeBSD 15.0.
        value:  /boot/kernel/tpm.ko
dev.tpm.0.%iommu:
dev.tpm.0.%parent: acpi0
dev.tpm.0.%pnpinfo: _HID=IFX0102 _UID=0 _CID=PNP0C31
dev.tpm.0.%location: handle=\_SB_.PCI0.LPC0.TPM_
dev.tpm.0.%driver: tpm
dev.tpm.0.%desc: Trusted Platform Module
dev.tpm.%parent:


The /dev/tpm appears, but /dev/tpm0 still does not appear, same with /dev/acpi
and /dev/acpi0.

My ultimate goal is to pass through TPM to a Windows 11 VM in Bhyve, but
attempting to do so with "/dev/tpm" fails.  I do not think this firmware TPM is
connected to a PCI device, hence I cannot blacklist it and pass it through that
way.  Thoughts?

Yes, I know about the TPM registry hacks in Windows 11.  However, for what I am
using this VM for, I need the TPM.

-- 
You are receiving this mail because:
You are the assignee for the bug.