Patches applied successfully (
tree,
apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231031040021.65582-1-j@getutm.app
Maintainers: Stefan Berger <stefanb@linux.vnet.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Shannon Zhao <shannon.zhaosl@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Song Gao <gaosong@loongson.cn>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Bin Meng <bin.meng@windriver.com>, Weiwei Li <liweiwei@iscas.ac.cn>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
docs/specs/tpm.rst | 2 +
hw/tpm/tpm_crb.h | 79 ++++++
hw/tpm/tpm_ppi.h | 10 +-
include/hw/acpi/tpm.h | 3 +-
include/sysemu/tpm.h | 7 +
tests/qtest/tpm-tests.h | 2 +
tests/qtest/tpm-util.h | 4 +-
hw/acpi/aml-build.c | 7 +-
hw/arm/virt-acpi-build.c | 38 +--
hw/arm/virt.c | 8 +
hw/core/sysbus-fdt.c | 1 +
hw/i386/acpi-build.c | 23 --
hw/loongarch/acpi-build.c | 38 +--
hw/loongarch/virt.c | 8 +
hw/riscv/virt.c | 1 +
hw/tpm/tpm-sysbus.c | 47 ++++
hw/tpm/tpm_crb.c | 302 ++++++----------------
hw/tpm/tpm_crb_common.c | 260 +++++++++++++++++++
hw/tpm/tpm_crb_sysbus.c | 162 ++++++++++++
hw/tpm/tpm_ppi.c | 5 +-
hw/tpm/tpm_tis_isa.c | 5 +-
hw/tpm/tpm_tis_sysbus.c | 37 +++
tests/qtest/bios-tables-test.c | 47 +++-
tests/qtest/tpm-crb-device-swtpm-test.c | 72 ++++++
tests/qtest/tpm-crb-device-test.c | 71 +++++
tests/qtest/tpm-crb-swtpm-test.c | 2 +
tests/qtest/tpm-crb-test.c | 121 +--------
tests/qtest/tpm-tests.c | 121 +++++++++
tests/qtest/tpm-tis-device-swtpm-test.c | 2 +-
tests/qtest/tpm-tis-device-test.c | 2 +-
tests/qtest/tpm-tis-i2c-test.c | 3 +
tests/qtest/tpm-tis-swtpm-test.c | 2 +-
tests/qtest/tpm-tis-test.c | 2 +-
tests/qtest/tpm-util.c | 16 +-
hw/arm/Kconfig | 1 +
hw/loongarch/Kconfig | 2 +
hw/riscv/Kconfig | 1 +
hw/tpm/Kconfig | 5 +
hw/tpm/meson.build | 5 +
hw/tpm/trace-events | 2 +-
tests/data/acpi/q35/DSDT.crb.tpm2 | Bin 0 -> 8355 bytes
tests/data/acpi/q35/TPM2.crb.tpm2 | Bin 0 -> 76 bytes
tests/data/acpi/virt/DSDT.crb-device.tpm2 | Bin 0 -> 5276 bytes
tests/data/acpi/virt/TPM2.crb-device.tpm2 | Bin 0 -> 76 bytes
tests/qtest/meson.build | 4 +
45 files changed, 1054 insertions(+), 476 deletions(-)
create mode 100644 hw/tpm/tpm_crb.h
create mode 100644 hw/tpm/tpm-sysbus.c
create mode 100644 hw/tpm/tpm_crb_common.c
create mode 100644 hw/tpm/tpm_crb_sysbus.c
create mode 100644 tests/qtest/tpm-crb-device-swtpm-test.c
create mode 100644 tests/qtest/tpm-crb-device-test.c
create mode 100644 tests/data/acpi/q35/DSDT.crb.tpm2
create mode 100644 tests/data/acpi/q35/TPM2.crb.tpm2
create mode 100644 tests/data/acpi/virt/DSDT.crb-device.tpm2
create mode 100644 tests/data/acpi/virt/TPM2.crb-device.tpm2