hw/tpm: Remove instance @ppi_enabled field
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest5 patches 16 repliesIn review
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hw/tpm: Factor tpm_ppi_enabled() outhw/ hw/ include/ | +11 | 1 reply | |
| 2/5 | hw/tpm: Add TPMIfClass::ppi_enabled fieldinclude/ | +4 | 2 replies | |
| 3/5 | hw/tpm: Remove CRBState::ppi_enabled fieldhw/ | +4 | 3 replies | |
| 4/5 | hw/tpm: Propagate @ppi_enabled to tpm_tis_reset() and remove in TPMStatehw/ hw/ hw/ +2 more | +9 | 1 reply | |
| 5/5 | hw/tpm: Simplify tpm_ppi_enabled()include/ | +1 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Berger |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/5] hw/tpm: Remove instance @ppi_enabled field
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(-)
Signature · 1 line
2.53.0