summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2021-08-02 17:52:46 -0400
committerStefan Berger <stefanb@linux.ibm.com>2021-08-31 17:33:12 -0400
commit75539b886ade79a30365badf95831bd5b3068342 (patch)
tree54481b8ed33fcc8414d08d770d11a9a6ff5e7634
parent33660128d41722ea599afcfa85f1ab6496650c70 (diff)
downloadfocaccia-qemu-75539b886ade79a30365badf95831bd5b3068342.tar.gz
focaccia-qemu-75539b886ade79a30365badf95831bd5b3068342.zip
tests: acpi: tpm1.2: Add expected TPM 1.2 ACPI blobs
The TCPA.tis.tpm12 file contains the following:

[000h 0000   4]                    Signature : "TCPA"    [Trusted Computing Platform Alliance table]
[004h 0004   4]                 Table Length : 00000032
[008h 0008   1]                     Revision : 02
[009h 0009   1]                     Checksum : 32
[00Ah 0010   6]                       Oem ID : "BOCHS "
[010h 0016   8]                 Oem Table ID : "BXPC    "
[018h 0024   4]                 Oem Revision : 00000001
[01Ch 0028   4]              Asl Compiler ID : "BXPC"
[020h 0032   4]        Asl Compiler Revision : 00000001

[024h 0036   2]               Platform Class : 0000
[026h 0038   4]         Min Event Log Length : 00010000
[02Ah 0042   8]            Event Log Address : 0000000007FF0000

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-11-stefanb@linux.ibm.com
-rw-r--r--tests/data/acpi/q35/DSDT.tis.tpm12bin0 -> 8894 bytes
-rw-r--r--tests/data/acpi/q35/TCPA.tis.tpm12bin0 -> 50 bytes
-rw-r--r--tests/qtest/bios-tables-test-allowed-diff.h2
3 files changed, 0 insertions, 2 deletions
diff --git a/tests/data/acpi/q35/DSDT.tis.tpm12 b/tests/data/acpi/q35/DSDT.tis.tpm12
index e69de29bb2..6735e73971 100644
--- a/tests/data/acpi/q35/DSDT.tis.tpm12
+++ b/tests/data/acpi/q35/DSDT.tis.tpm12
Binary files differdiff --git a/tests/data/acpi/q35/TCPA.tis.tpm12 b/tests/data/acpi/q35/TCPA.tis.tpm12
index e69de29bb2..a56961b413 100644
--- a/tests/data/acpi/q35/TCPA.tis.tpm12
+++ b/tests/data/acpi/q35/TCPA.tis.tpm12
Binary files differdiff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h
index fb093b32b9..dfb8523c8b 100644
--- a/tests/qtest/bios-tables-test-allowed-diff.h
+++ b/tests/qtest/bios-tables-test-allowed-diff.h
@@ -1,3 +1 @@
 /* List of comma-separated changed AML files to ignore */
-"tests/data/acpi/q35/DSDT.tis.tpm12",
-"tests/data/acpi/q35/TCPA.tis.tpm12",