From: Stefan Berger <stefanb@linux.ibm.com>
To: qemu-devel@nongnu.org
Cc: philmd@redhat.com, armbru@redhat.com,
Stefan Berger <stefanb@linux.ibm.com>
Subject: [PATCH v2 0/4] tpm: Eliminate TPM related code if CONFIG_TPM is not set
Date: Mon, 14 Jun 2021 15:13:31 -0400 [thread overview]
Message-ID: <20210614191335.1968807-1-stefanb@linux.ibm.com> (raw)
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(-)
--
2.31.1
next reply other threads:[~2021-06-14 19:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-14 19:13 Stefan Berger [this message]
2021-06-14 19:13 ` [PATCH v2 1/4] i386: Eliminate all TPM related code if CONFIG_TPM is not set Stefan Berger
2021-06-14 19:13 ` [PATCH v2 2/4] arm: " Stefan Berger
2021-06-14 19:13 ` [PATCH v2 3/4] acpi: " Stefan Berger
2021-06-14 19:13 ` [PATCH v2 4/4] sysemu: Make TPM structures inaccessible if CONFIG_TPM is not defined Stefan Berger
2021-06-14 19:58 ` [PATCH v2 0/4] tpm: Eliminate TPM related code if CONFIG_TPM is not set Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210614191335.1968807-1-stefanb@linux.ibm.com \
--to=stefanb@linux.ibm.com \
--cc=armbru@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).