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

Stefan Berger posted 5 patches 2 years, 10 months ago
Failed in applying to current master (apply log)
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
[PULL v1 0/5] Merge tpm 2021/06/15 v1
Posted by Stefan Berger 2 years, 10 months ago
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

-- 
2.31.1


Re: [PULL v1 0/5] Merge tpm 2021/06/15 v1
Posted by Philippe Mathieu-Daudé 2 years, 10 months ago
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.


Re: [PULL v1 0/5] Merge tpm 2021/06/15 v1
Posted by Stefan Berger 2 years, 10 months ago
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.
>

Re: [PULL v1 0/5] Merge tpm 2021/06/15 v1
Posted by Peter Maydell 2 years, 10 months ago
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