Skip to content

tpm: Eliminate TPM related code if CONFIG_TPM is not set

Philippe Mathieu-Daudé qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 0 repliesNew
  2. v35 patches 4 repliesSuperseded

Changes in v4 from the cover letter

- invert HMP #ifdef (Markus)
- update MAINTAINERS
- add Markus R-b

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i386: Eliminate all TPM related code if CONFIG_TPM is not sethw/i386/acpi-build.c stubs/tpm.c+20 -40 replies
2/5arm: Eliminate all TPM related code if CONFIG_TPM is not sethw/arm/sysbus-fdt.c hw/arm/virt-acpi-build.c hw/arm/virt.c+12 -00 replies
3/5acpi: Eliminate all TPM related code if CONFIG_TPM is not sethw/acpi/aml-build.c include/hw/acpi/tpm.h+6 -00 replies
4/5sysemu: Make TPM structures inaccessible if CONFIG_TPM is not definedinclude/sysemu/tpm.h include/sysemu/tpm_backend.h stubs/tpm.c+14 -110 replies
5/5tpm: Return QMP error when TPM is disabled in buildMAINTAINERS monitor/hmp-cmds.c qapi/tpm.json +2 more+23 -360 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéMarkus Armbruster
1/5R-b T-b
2/5R-b T-b
3/5R-b T-b
4/5R-b T-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/5] tpm: Eliminate TPM related code if CONFIG_TPM is not set

Series fully reviewed.

v4:
- invert HMP #ifdef (Markus)
- update MAINTAINERS
- add Markus R-b

v3
- make the qapi schema conditional (Marc-André)

Philippe Mathieu-Daudé (1):
tpm: Return QMP error when TPM is disabled in build

Stefan Berger (4):
i386: Eliminate all TPM related code if CONFIG_TPM is not set
arm: Eliminate all TPM related code if CONFIG_TPM is not set
acpi: Eliminate all TPM related code if CONFIG_TPM is not set
sysemu: Make TPM structures inaccessible if CONFIG_TPM is not defined

 qapi/tpm.json                | 28 +++++++++++++++++---------
 include/hw/acpi/tpm.h        |  4 ++++
 include/sysemu/tpm.h         |  9 +++++++++
 include/sysemu/tpm_backend.h |  6 +++++-
 hw/acpi/aml-build.c          |  2 ++
 hw/arm/sysbus-fdt.c          |  4 ++++
 hw/arm/virt-acpi-build.c     |  6 ++++++
 hw/arm/virt.c                |  2 ++
 hw/i386/acpi-build.c         | 20 ++++++++++++++++++
 monitor/hmp-cmds.c           |  4 ++++
 stubs/tpm.c                  | 39 ------------------------------------
 MAINTAINERS                  |  1 -
 stubs/meson.build            |  1 -
 13 files changed, 75 insertions(+), 51 deletions(-)
 delete mode 100644 stubs/tpm.c
Signature · 1 line
2.31.1