[PATCH 0/3] hw/tpm: add PPI support to tpm-tis-device on ARM64 virt

Mohammadfaiz Bawa posted 3 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260324-tpm-tis-sysbus-ppi-v1-0-e59175210954@redhat.com
Maintainers: Stefan Berger <stefanb@linux.vnet.ibm.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Shannon Zhao <shannon.zhaosl@gmail.com>
There is a newer version of this series
docs/specs/tpm.rst       | 24 ++++++++++++++++++++++++
hw/acpi/tpm.c            |  8 ++++----
hw/arm/virt-acpi-build.c |  9 ++++++++-
hw/tpm/tpm_tis_isa.c     |  2 +-
hw/tpm/tpm_tis_sysbus.c  | 11 +++++++++++
include/hw/acpi/tpm.h    |  3 ++-
6 files changed, 50 insertions(+), 7 deletions(-)
[PATCH 0/3] hw/tpm: add PPI support to tpm-tis-device on ARM64 virt
Posted by Mohammadfaiz Bawa 1 week, 3 days ago
The ARM virt machine's tpm-tis-device lacks Physical Presence Interface
(PPI) support - no _DSM, _STA, or PPI operation regions in the ACPI
namespace. This causes Windows 11 ARM64 guests logs Event ID 15
(tpm.sys) errors after boot repeatedly.

This series documents the change, refactors tpm_build_ppi_acpi() to
accept a dynamic PPI base address, then wires up PPI MMIO and ACPI
on tpm-tis-sysbus via the platform bus.

Tested: aarch64 KVM, upstream QEMU, Win11 ARM64 25H2, swtpm.
Event ID 15 eliminated.

Signed-off-by: Mohammadfaiz Bawa <mbawa@redhat.com>
---
Mohammadfaiz Bawa (3):
      docs/specs/tpm: document PPI support on ARM64 virt
      hw/acpi/tpm: parameterize PPI base address in tpm_build_ppi_acpi
      hw/tpm: add PPI support to tpm-tis-device for ARM64 virt

 docs/specs/tpm.rst       | 24 ++++++++++++++++++++++++
 hw/acpi/tpm.c            |  8 ++++----
 hw/arm/virt-acpi-build.c |  9 ++++++++-
 hw/tpm/tpm_tis_isa.c     |  2 +-
 hw/tpm/tpm_tis_sysbus.c  | 11 +++++++++++
 include/hw/acpi/tpm.h    |  3 ++-
 6 files changed, 50 insertions(+), 7 deletions(-)
---
base-commit: 8e711856d7639cbffa51405f2cc2366e3d9e3a23
change-id: 20260324-tpm-tis-sysbus-ppi-ef31a7d71753

Best regards,
-- 
Mohammadfaiz Bawa <mbawa@redhat.com>