[PATCH 0/2] vTPM/aarch64 ACPI support

Eric Auger posted 2 patches 4 years ago
Test docker-mingw@fedora failed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200502203536.15011-1-eric.auger@redhat.com
Maintainers: Stefan Berger <stefanb@linux.ibm.com>, Peter Maydell <peter.maydell@linaro.org>, Shannon Zhao <shannon.zhaosl@gmail.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>
There is a newer version of this series
include/sysemu/tpm.h     |  2 ++
hw/arm/virt-acpi-build.c | 70 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 72 insertions(+)
[PATCH 0/2] vTPM/aarch64 ACPI support
Posted by Eric Auger 4 years ago
Those 2 patches bring MMIO TPM TIS ACPI support in machvirt.   
The TPM2.0 table is added and the TPM2 device object is described
in the DSDT.

Many thanks to Ard for his support.

Tested with LUKS partition automatic decryption.

Best Regards

Eric

This series can be found at:
https://github.com/eauger/qemu/tree/v5.0-tpm-acpi-v1

Eric Auger (2):
  arm/acpi: TPM2 ACPI table support
  arm/acpi: Add the TPM2.0 device under the DSDT

 include/sysemu/tpm.h     |  2 ++
 hw/arm/virt-acpi-build.c | 70 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

-- 
2.20.1


Re: [PATCH 0/2] vTPM/aarch64 ACPI support
Posted by no-reply@patchew.org 4 years ago
Patchew URL: https://patchew.org/QEMU/20200502203536.15011-1-eric.auger@redhat.com/



Hi,

This series failed the docker-mingw@fedora build test. Please find the testing commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.

=== TEST SCRIPT BEGIN ===
#! /bin/bash
export ARCH=x86_64
make docker-image-fedora V=1 NETWORK=1
time make docker-test-mingw@fedora J=14 NETWORK=1
=== TEST SCRIPT END ===

  CC      x86_64-softmmu/target/i386/smm_helper.o
  CC      aarch64-softmmu/hw/arm/orangepi.o
/tmp/qemu-test/src/hw/arm/virt-acpi-build.c: In function 'acpi_dsdt_add_tpm':
/tmp/qemu-test/src/hw/arm/virt-acpi-build.c:393:53: error: incompatible type for argument 2 of 'aml_memory32_fixed'
                aml_memory32_fixed(tpm_base, sbdev_mr->size, AML_READ_WRITE));
                                             ~~~~~~~~^~~~~~
In file included from /tmp/qemu-test/src/hw/arm/virt-acpi-build.c:39:
/tmp/qemu-test/src/include/hw/acpi/aml-build.h:317:6: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'Int128' {aka 'struct Int128'}
 Aml *aml_memory32_fixed(uint32_t addr, uint32_t size,
      ^~~~~~~~~~~~~~~~~~
make[1]: *** [/tmp/qemu-test/src/rules.mak:69: hw/arm/virt-acpi-build.o] Error 1
make[1]: *** Waiting for unfinished jobs....
  CC      x86_64-softmmu/target/i386/svm_helper.o
  CC      x86_64-softmmu/target/i386/kvm-stub.o
---
  CC      x86_64-softmmu/softmmu/main.o
  CC      x86_64-softmmu/gdbstub-xml.o
  CC      x86_64-softmmu/trace/generated-helpers.o
make: *** [Makefile:527: aarch64-softmmu/all] Error 2
make: *** Waiting for unfinished jobs....
  LINK    x86_64-softmmu/qemu-system-x86_64w.exe
  GEN     x86_64-softmmu/qemu-system-x86_64.exe
---
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=0a6f397fde554332865bf4ebe15583d2', '-u', '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-4bk1lfg4/src/docker-src.2020-05-02-17.54.35.24242:/var/tmp/qemu:z,ro', 'qemu:fedora', '/var/tmp/qemu/run', 'test-mingw']' returned non-zero exit status 2.
filter=--filter=label=com.qemu.instance.uuid=0a6f397fde554332865bf4ebe15583d2
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-4bk1lfg4/src'
make: *** [docker-run-test-mingw@fedora] Error 2

real    6m0.460s
user    0m8.733s


The full log is available at
http://patchew.org/logs/20200502203536.15011-1-eric.auger@redhat.com/testing.docker-mingw@fedora/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to patchew-devel@redhat.com