[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/4] tpm: Eliminate TPM related code if CONFIG_TPM is not
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 0/4] tpm: Eliminate TPM related code if CONFIG_TPM is not set |
Date: |
Mon, 14 Jun 2021 21:58:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/14/21 9:13 PM, Stefan Berger wrote:
> The following patches entirely eliminate TPM related code if CONFIG_TPM
> is not set.
>
> Stefan
>
> v2:
> - top-down approach for code elimination from arch down to acpi
>
> 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
>
> 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 ++++++++++++++++++++
> include/hw/acpi/tpm.h | 4 ++++
> include/sysemu/tpm.h | 6 +++++-
> include/sysemu/tpm_backend.h | 6 +++++-
> stubs/tpm.c | 4 ----
> 9 files changed, 48 insertions(+), 6 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>