mbox series

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

Message ID 20210615142121.2127692-1-philmd@redhat.com
Headers show
Series tpm: Eliminate TPM related code if CONFIG_TPM is not set | expand

Message

Philippe Mathieu-Daudé June 15, 2021, 2:21 p.m. UTC
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