The "ppi" property and @ppi_enabled field were only used
for backward compatibility during the 3.1 release. We
removed all these legacy machines: the property isn't
required anymore. Still it was how the ACPI subsystem
was checking PPI use by TPM devices. This series convert
the per-instance field exposed as QOM property as a
single class (actually QOM interface) one.
Philippe Mathieu-Daudé (5):
hw/tpm: Factor tpm_ppi_enabled() out
hw/tpm: Add TPMIfClass::ppi_enabled field
hw/tpm: Remove CRBState::ppi_enabled field
hw/tpm: Propagate @ppi_enabled to tpm_tis_reset() and remove in
TPMState
hw/tpm: Simplify tpm_ppi_enabled()
hw/tpm/tpm_tis.h | 3 +--
include/system/tpm.h | 9 +++++++++
hw/acpi/tpm.c | 2 +-
hw/i386/acpi-build.c | 2 +-
hw/tpm/tpm_crb.c | 13 ++++---------
hw/tpm/tpm_tis_common.c | 4 ++--
hw/tpm/tpm_tis_i2c.c | 2 +-
hw/tpm/tpm_tis_isa.c | 10 ++++------
hw/tpm/tpm_tis_sysbus.c | 2 +-
9 files changed, 24 insertions(+), 23 deletions(-)
--
2.53.0