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

Philippe Mathieu-Daudé posted 5 patches 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210614200940.2056770-1-philmd@redhat.com
There is a newer version of this series
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 ------------------------------------
stubs/meson.build            |  1 -
12 files changed, 75 insertions(+), 50 deletions(-)
delete mode 100644 stubs/tpm.c
[PATCH v3 0/5] tpm: Eliminate TPM related code if CONFIG_TPM is not set
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
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 ------------------------------------
 stubs/meson.build            |  1 -
 12 files changed, 75 insertions(+), 50 deletions(-)
 delete mode 100644 stubs/tpm.c

-- 
2.31.1