]> git.proxmox.com Git - mirror_qemu.git/commit - hw/arm/virt-acpi-build.c
arm/acpi: Add the TPM2.0 device under the DSDT
authorEric Auger <eric.auger@redhat.com>
Mon, 22 Jun 2020 14:06:19 +0000 (16:06 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Jun 2020 21:18:28 +0000 (17:18 -0400)
commit5ab540e9b79eb902267b0ddf827c9f7c99332f59
treed1623b5ec1ece07b3dc657713a61a43d2adeb769
parente27e1e63ce075b87f03d3257d8f30cf7c4287340
arm/acpi: Add the TPM2.0 device under the DSDT

In case it is dynamically instantiated, add the TPM 2.0 device object
under the DSDT table in the ACPI namespace. Its HID is MSFT0101
while its current resource settings (CRS) property is initialized
with the guest physical address and MMIO size of the device.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200622140620.17229-3-eric.auger@redhat.com>
Tested-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/arm/virt-acpi-build.c