mbox

[PULL,v1,0/5] Merge tpm 2021/06/15 v1

Message ID 20210615152152.2496772-1-stefanb@linux.vnet.ibm.com (mailing list archive)
State New, archived
Headers show

Pull-request

git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2021-06-15-1

Message

Stefan Berger June 15, 2021, 3:21 p.m. UTC
Hello!

The patches in this PR eliminate all TPM related code if CONFIG_TPM is
not set, thus reducing code size.

Regards,
   Stefan

The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2:

  Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100)

are available in the Git repository at:

  git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2021-06-15-1

for you to fetch changes up to caff255a546d12530cf7c28e60690cd0e65851fd:

  tpm: Return QMP error when TPM is disabled in build (2021-06-15 10:59:02 -0400)

----------------------------------------------------------------

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

 MAINTAINERS                  |  1 -
 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         |  9 +++++++++
 include/sysemu/tpm_backend.h |  6 +++++-
 monitor/hmp-cmds.c           |  4 ++++
 qapi/tpm.json                | 28 +++++++++++++++++---------
 stubs/meson.build            |  1 -
 stubs/tpm.c                  | 39 ------------------------------------
 13 files changed, 75 insertions(+), 51 deletions(-)
 delete mode 100644 stubs/tpm.c

Comments

Peter Maydell June 16, 2021, 12:50 p.m. UTC | #1
On Tue, 15 Jun 2021 at 16:22, Stefan Berger <stefanb@linux.vnet.ibm.com> wrote:
>
> Hello!
>
> The patches in this PR eliminate all TPM related code if CONFIG_TPM is
> not set, thus reducing code size.
>
> Regards,
>    Stefan
>
> The following changes since commit 1ea06abceec61b6f3ab33dadb0510b6e09fb61e2:
>
>   Merge remote-tracking branch 'remotes/berrange-gitlab/tags/misc-fixes-pull-request' into staging (2021-06-14 15:59:13 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/stefanberger/qemu-tpm.git tags/pull-tpm-2021-06-15-1
>
> for you to fetch changes up to caff255a546d12530cf7c28e60690cd0e65851fd:
>
>   tpm: Return QMP error when TPM is disabled in build (2021-06-15 10:59:02 -0400)
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM
Philippe Mathieu-Daudé June 16, 2021, 2:38 p.m. UTC | #2
On 6/15/21 5:21 PM, Stefan Berger wrote:
> Hello!
> 
> The patches in this PR eliminate all TPM related code if CONFIG_TPM is
> not set, thus reducing code size.
> 
> Regards,
>    Stefan

Thank you Stefan for this quick pull request :)

Phil.
Stefan Berger June 16, 2021, 2:48 p.m. UTC | #3
On 6/16/21 10:38 AM, Philippe Mathieu-Daudé wrote:
> On 6/15/21 5:21 PM, Stefan Berger wrote:
>> Hello!
>>
>> The patches in this PR eliminate all TPM related code if CONFIG_TPM is
>> not set, thus reducing code size.
>>
>> Regards,
>>     Stefan
> Thank you Stefan for this quick pull request :)

Yes, thanks for your repost, which made things easier :-)

   Stefan

>
> Phil.
>