From nobody Fri May 17 02:03:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591707357; cv=none; d=zohomail.com; s=zohoarc; b=KzJIiN2eRX9qm4yib3ut+PRj098cNpGT68kfwFVzMK2CFfIB1Fp/VwwHZTIjSdyBt7prho+lUDWk/Ii9pBz4yTXIui8G3/FB8fvyjRQhO0L+uU0ZpNFpIKM2BFCqAA35OOwPfImwlXfl04jt8+PDkUMYPh5B36x5uSVVx02vrvU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591707357; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pQIInajLKjAFvcPsxH+g0EcKAOquzfuEHlh5H2Ofj7U=; b=aZT/bn/CVLuNEKXaEYeHW347hHyD7yuUDHBBvPPV4WDQ3H2846z+NpjZ/ewnigFtR2DDu+e95VAoUGpj9yoPamZsDH3qjwW7fFXKR7JcbKRKItzRWVQB4c3h1bX19RzAC8k2MGn7q2kAI2ELs7oGUGtJFFAi3i4zZysNbDI5XRk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1591707357630833.5375396967021; Tue, 9 Jun 2020 05:55:57 -0700 (PDT) Received: from localhost ([::1]:53488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidnH-0004ja-R1 for importer@patchew.org; Tue, 09 Jun 2020 08:55:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidm2-0003bh-1q for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:54:38 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:21156 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jidm0-00027h-Q8 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:54:37 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-408-qLMgosAENH6BQJV9UqkMHg-1; Tue, 09 Jun 2020 08:54:33 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 86C75107ACF2; Tue, 9 Jun 2020 12:54:32 +0000 (UTC) Received: from laptop.redhat.com (ovpn-114-197.ams2.redhat.com [10.36.114.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id 09D345C557; Tue, 9 Jun 2020 12:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591707275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pQIInajLKjAFvcPsxH+g0EcKAOquzfuEHlh5H2Ofj7U=; b=IvHh/eAsOe18PKy02IkIJiUn3E1MOeIkOYcXGYlrM06K5uX1lWc2q8F49m/HlScNM2M3hw Aqq15vEN7Ppi7KtRyedbD21FCdpUBVuYH6R6Tf+OSysplGL2FIeXtbbO2Az4D4PgLYRr3n Xgan0Mh6GSdUiA7q37sYwzeYvHjRuSg= X-MC-Unique: qLMgosAENH6BQJV9UqkMHg-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, stefanb@linux.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, mst@redhat.com, shannon.zhaosl@gmail.com, imammedo@redhat.com Subject: [PATCH v2 1/5] test/tpm-emu: include sockets and channel headers in tpm-emu header Date: Tue, 9 Jun 2020 14:54:05 +0200 Message-Id: <20200609125409.24179-2-eric.auger@redhat.com> In-Reply-To: <20200609125409.24179-1-eric.auger@redhat.com> References: <20200609125409.24179-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.120; envelope-from=eric.auger@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/09 02:44:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, drjones@redhat.com, lersek@redhat.com, ardb@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Include sockets and channel headers to that the header is self-contained. Signed-off-by: Eric Auger Reviewed-by: Stefan Berger --- tests/qtest/tpm-emu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/qtest/tpm-emu.h b/tests/qtest/tpm-emu.h index a4f1d64226..73f3bed0c4 100644 --- a/tests/qtest/tpm-emu.h +++ b/tests/qtest/tpm-emu.h @@ -16,6 +16,9 @@ #define TPM_RC_FAILURE 0x101 #define TPM2_ST_NO_SESSIONS 0x8001 =20 +#include "qemu/sockets.h" +#include "io/channel.h" + struct tpm_hdr { uint16_t tag; uint32_t len; --=20 2.20.1 From nobody Fri May 17 02:03:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591707453; cv=none; d=zohomail.com; s=zohoarc; b=Wv+hy1h0TeN/zq3OjxGOkYrauAbFUVm5VVPjvvvK4/LpVv+kzoEY5RfG3w6ZjGvdbKBnPmCDv51eM54QfafEwoVIPX147cLf6NYbjsZHzDfuCaXo1zHRzIcv40C7u6P8VVyyh+oJnq6dzwASQwUpxiaRGeCAp+pEgwaB5vzWMjQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591707453; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=WNMIYzaHPMueaePuL6G8Jo2xpO6e1JwToPTj/HI563g=; b=R1It19AKgvFBM+/u19/4pPv4TzyimrRT0j4/oGsB0QtfJUvBMVrQDQgw2puJIn47eWf6eY4tkvkHFZacJZo9G4JPRJ6mrGGSN2gubH3tI61/ZNP/5pdr5hthPMrTfDk906ejoJLYqD87kh5rR0x2LAN09RBx8GDTA3vGoUoefrE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 159170745374449.346418136038096; Tue, 9 Jun 2020 05:57:33 -0700 (PDT) Received: from localhost ([::1]:33452 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidoq-00082p-F0 for importer@patchew.org; Tue, 09 Jun 2020 08:57:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidmm-0004L5-89 for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:24 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:50701 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jidmk-0002VB-Ar for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:23 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-241-KqOgGoB3MUOJI5ia0yvYVw-1; Tue, 09 Jun 2020 08:55:20 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9EA4680B734; Tue, 9 Jun 2020 12:55:18 +0000 (UTC) Received: from laptop.redhat.com (ovpn-114-197.ams2.redhat.com [10.36.114.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id DF1395C6BD; Tue, 9 Jun 2020 12:54:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591707321; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WNMIYzaHPMueaePuL6G8Jo2xpO6e1JwToPTj/HI563g=; b=bHHy6WKooOr+WYgzKXWgR3dg7PrzppT6RIlwWjEKpd267VCzPzmLZHIpYfQt8AOn94ZUlC 90cVdkpdJJ4ExuGwdMEN4A/xeAlKTlfsg7VxH99PUft0phWUrFz9rl88nQmprScAefDPkg cOuCeI+zHV+fzCFUP06R5MuwB65Anhk= X-MC-Unique: KqOgGoB3MUOJI5ia0yvYVw-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, stefanb@linux.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, mst@redhat.com, shannon.zhaosl@gmail.com, imammedo@redhat.com Subject: [PATCH v2 2/5] tests/acpi: Add void tables for Q35/TPM-TIS bios-tables-test Date: Tue, 9 Jun 2020 14:54:06 +0200 Message-Id: <20200609125409.24179-3-eric.auger@redhat.com> In-Reply-To: <20200609125409.24179-1-eric.auger@redhat.com> References: <20200609125409.24179-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.81; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 23:42:34 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, drjones@redhat.com, lersek@redhat.com, ardb@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Add placeholders for TPM and DSDT reference tables for Q35 TPM-TIS tests and ignore them for the time being. Signed-off-by: Eric Auger Reviewed-by: Stefan Berger Reviewed-by: Igor Mammedov --- RFC -> PATCH v2: - squashed void tables + tests/acpi: Ignore TPM2.tis and DSDT.tis --- tests/qtest/bios-tables-test-allowed-diff.h | 2 ++ tests/data/acpi/q35/DSDT.tis | Bin tests/data/acpi/q35/TPM2.tis | Bin 3 files changed, 2 insertions(+) create mode 100644 tests/data/acpi/q35/DSDT.tis create mode 100644 tests/data/acpi/q35/TPM2.tis diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..a2a45d1d31 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,3 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/q35/DSDT.tis", +"tests/data/acpi/q35/TPM2.tis", diff --git a/tests/data/acpi/q35/DSDT.tis b/tests/data/acpi/q35/DSDT.tis new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775= ad8c2e48c5391 diff --git a/tests/data/acpi/q35/TPM2.tis b/tests/data/acpi/q35/TPM2.tis new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775= ad8c2e48c5391 --=20 2.20.1 From nobody Fri May 17 02:03:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591707399; cv=none; d=zohomail.com; s=zohoarc; b=X2ByMlPAXhlvns6uVsg9RrRVkxPbjpUUAElfbY8jAkLuVHkv6iEllXBQ7KdlsV1i8xNcaIi4b1B50fwTjAlhtQtrHqrDbAVn/aOpORPSOpE6X2u/90Kv+1rdcFFRh4YSV7s8Y0+7H4/6wo8nH8FwsbdPAyALEv+x8jOy+GuGjO8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591707399; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=1LXoltFh6aawui8nHM8/NmGE7RpX3pQSaASvH0tGBBM=; b=UcmxhZrQ5JmqZDPQzdO6CKatayYdii4F7EFMr55xE1MTZURaW0XGbRnEwCeGNvpxrDSvOEe0Rkr+gIrCtNZpFO566E7y1Ab5i8M9UKuYMy0gau05GSA9D5vqIVr8mDWSz8N1pAwFh94/tGtUZ30sFA9pVR+tBy1VKmiZjS6hABo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1591707399096213.9167669651158; Tue, 9 Jun 2020 05:56:39 -0700 (PDT) Received: from localhost ([::1]:57276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidnx-0006Hm-RY for importer@patchew.org; Tue, 09 Jun 2020 08:56:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidmu-0004eb-Iu for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:32 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:55954 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jidmt-0002Vc-Mg for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:32 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-312-E1UYCuWGPeiJdODKFNlhbw-1; Tue, 09 Jun 2020 08:55:29 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0285E846348; Tue, 9 Jun 2020 12:55:28 +0000 (UTC) Received: from laptop.redhat.com (ovpn-114-197.ams2.redhat.com [10.36.114.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id 003585C1BD; Tue, 9 Jun 2020 12:55:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591707330; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1LXoltFh6aawui8nHM8/NmGE7RpX3pQSaASvH0tGBBM=; b=WjXrTn6N3jlsMwhypm+WRQzNmTlihc0mY6rm30RQ46+4+K446PGDAQ1vfIci3BQCgQpJeK As43xgyKD4VZPnkv53SPALxKtmrYHJGkqT7Q3xNo2CnXCxUr9l4xVf6myTXqoJdEJUCZ95 1byAQwcdJkVDOei9uoEK3b+DJ+giy9k= X-MC-Unique: E1UYCuWGPeiJdODKFNlhbw-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, stefanb@linux.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, mst@redhat.com, shannon.zhaosl@gmail.com, imammedo@redhat.com Subject: [PATCH v2 3/5] tests: tpm-emu: Remove assert on TPM2_ST_NO_SESSIONS Date: Tue, 9 Jun 2020 14:54:07 +0200 Message-Id: <20200609125409.24179-4-eric.auger@redhat.com> In-Reply-To: <20200609125409.24179-1-eric.auger@redhat.com> References: <20200609125409.24179-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.120; envelope-from=eric.auger@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/09 02:44:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, drjones@redhat.com, lersek@redhat.com, ardb@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" bios-tables-test executes SeaBIOS. Indeed FW is needed to fetch tables from QEMU and put them into the guest RAM. Also the FW patches cross table pointers. At some point, SeaBIOS ends up calling the TPM2_CC_HierarchyControl command with TPM2_ST_SESSIONS tag, most probably steming from tpm_set_failure/tpm20_hierarchycontrol SeaBIOS call path. This causes an assert() in the qtest tpm emulation code. As the goal here is not to boot SeaBIOS completely but just let it grab the ACPI tables and consolidate them, let's just remove the assert(). Signed-off-by: Eric Auger Reviewed-by: Stefan Berger --- RFC -> PATCH: - reword the commit message --- tests/qtest/tpm-emu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/qtest/tpm-emu.c b/tests/qtest/tpm-emu.c index c43ac4aef8..298d0eec74 100644 --- a/tests/qtest/tpm-emu.c +++ b/tests/qtest/tpm-emu.c @@ -49,7 +49,6 @@ static void *tpm_emu_tpm_thread(void *data) s->tpm_msg->tag =3D be16_to_cpu(s->tpm_msg->tag); s->tpm_msg->len =3D be32_to_cpu(s->tpm_msg->len); g_assert_cmpint(s->tpm_msg->len, >=3D, minhlen); - g_assert_cmpint(s->tpm_msg->tag, =3D=3D, TPM2_ST_NO_SESSIONS); =20 s->tpm_msg =3D g_realloc(s->tpm_msg, s->tpm_msg->len); qio_channel_read(ioc, (char *)&s->tpm_msg->code, --=20 2.20.1 From nobody Fri May 17 02:03:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591707429; cv=none; d=zohomail.com; s=zohoarc; b=kV7vFJltW6XBm8iDn2hbcFRcuznwXASRZTup6inxvyoQe7KBGxcjQITZAXNAsIXOgwypdcM1hj+5w5NTg3jAaYlb4EwSMihst/xaJ2Mj0arewzE3v3hyALReBAszSt/dY03rcSXysBeM0tUQ2cDcDoiXWSFgiuW3E0X2/tZwUzI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591707429; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YFqdxsqxrQcpKcHDthetomjSp2XNH0N3qTf+jzelhLI=; b=WXeaEDpb6bat+ieUEXKNExmJ8FNgJRklwdzL4AZdMn4UjzhB3uiN/BzPAcPFRcIG4QD8ghpxbcoY7QYFuuGb2ThRKZNh+I21oZ6S9u8qKPdR/op0b2ppoqtQYuCQymWixXz8/v/VcnPgNvVUV3EerTwMkOgGS3ZOQbjoFFkw4uk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1591707429660772.2046503085521; Tue, 9 Jun 2020 05:57:09 -0700 (PDT) Received: from localhost ([::1]:59804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidoS-0007IW-CZ for importer@patchew.org; Tue, 09 Jun 2020 08:57:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidn5-0004zb-Er for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:43 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39658 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jidn4-0002Wr-Kc for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:43 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-470--lV7IxsdNNOBjso2eOALQQ-1; Tue, 09 Jun 2020 08:55:35 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4FF37872FED; Tue, 9 Jun 2020 12:55:34 +0000 (UTC) Received: from laptop.redhat.com (ovpn-114-197.ams2.redhat.com [10.36.114.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5A4245C1BD; Tue, 9 Jun 2020 12:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591707341; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YFqdxsqxrQcpKcHDthetomjSp2XNH0N3qTf+jzelhLI=; b=YkM+XmcBMpCopnKJkhn33SXhVbeopHtJGp0fbfhrfLvNycXFA2FshfllUZPZSRDrxPLJB0 xoD3Avzns9Ga6BOpTG99SajuHOVqIWO66SqfyuSHUpE1v+suYfqb+UZ1D0DPhiFHSp1Myw +k2pYbzDRA8VdlIxslqHjRSjVuSR6s4= X-MC-Unique: -lV7IxsdNNOBjso2eOALQQ-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, stefanb@linux.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, mst@redhat.com, shannon.zhaosl@gmail.com, imammedo@redhat.com Subject: [PATCH v2 4/5] bios-tables-test: Add Q35/TPM-TIS test Date: Tue, 9 Jun 2020 14:54:08 +0200 Message-Id: <20200609125409.24179-5-eric.auger@redhat.com> In-Reply-To: <20200609125409.24179-1-eric.auger@redhat.com> References: <20200609125409.24179-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=205.139.110.120; envelope-from=eric.auger@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/09 02:44:16 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, drjones@redhat.com, lersek@redhat.com, ardb@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" Test tables specific to the TPM-TIS instantiation. The TPM2 is added in the framework. Also the DSDT is updated with the TPM. The new function should be be usable for CRB as well, later one. Signed-off-by: Eric Auger Reviewed-by: Stefan Berger --- v2 -> v3: - use test_acpi_tcg_tpm() helper and stick to the current qtest_add_func model - hardcode TPM_TIS_ADDR_BASE --- tests/qtest/bios-tables-test.c | 58 ++++++++++++++++++++++++++++++++++ tests/qtest/Makefile.include | 1 + 2 files changed, 59 insertions(+) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index c9843829b3..53f104a9c5 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -57,6 +57,9 @@ #include "qemu/bitmap.h" #include "acpi-utils.h" #include "boot-sector.h" +#include "tpm-emu.h" +#include "hw/acpi/tpm.h" + =20 #define MACHINE_PC "pc" #define MACHINE_Q35 "q35" @@ -874,6 +877,60 @@ static void test_acpi_piix4_tcg_numamem(void) free_test_data(&data); } =20 +uint64_t tpm_tis_base_addr; + +static void test_acpi_tcg_tpm(const char *machine, const char *tpm_if, + uint64_t base) +{ + gchar *tmp_dir_name =3D g_strdup_printf("qemu-test_acpi_%s_tcg_%s.XXXX= XX", + machine, tpm_if); + char *tmp_path =3D g_dir_make_tmp(tmp_dir_name, NULL); + TestState test; + test_data data; + GThread *thread; + char *args, *variant =3D g_strdup_printf(".%s", tpm_if); + + tpm_tis_base_addr =3D base; + + module_call_init(MODULE_INIT_QOM); + + test.addr =3D g_new0(SocketAddress, 1); + test.addr->type =3D SOCKET_ADDRESS_TYPE_UNIX; + test.addr->u.q_unix.path =3D g_build_filename(tmp_path, "sock", NULL); + g_mutex_init(&test.data_mutex); + g_cond_init(&test.data_cond); + test.data_cond_signal =3D false; + + thread =3D g_thread_new(NULL, tpm_emu_ctrl_thread, &test); + tpm_emu_test_wait_cond(&test); + + memset(&data, 0, sizeof(data)); + data.machine =3D machine; + data.variant =3D variant; + + args =3D g_strdup_printf( + " -chardev socket,id=3Dchr,path=3D%s" + " -tpmdev emulator,id=3Ddev,chardev=3Dchr" + " -device tpm-%s,tpmdev=3Ddev", + test.addr->u.q_unix.path, tpm_if); + + test_acpi_one(args, &data); + + g_thread_join(thread); + g_unlink(test.addr->u.q_unix.path); + qapi_free_SocketAddress(test.addr); + g_rmdir(tmp_path); + g_free(variant); + g_free(tmp_path); + g_free(tmp_dir_name); + free_test_data(&data); +} + +static void test_acpi_q35_tcg_tpm_tis(void) +{ + test_acpi_tcg_tpm("q35", "tis", 0xFED40000); +} + static void test_acpi_tcg_dimm_pxm(const char *machine) { test_data data; @@ -1037,6 +1094,7 @@ int main(int argc, char *argv[]) return ret; } =20 + qtest_add_func("acpi/q35/tpm-tis", test_acpi_q35_tcg_tpm_tis); qtest_add_func("acpi/piix4", test_acpi_piix4_tcg); qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge); qtest_add_func("acpi/q35", test_acpi_q35_tcg); diff --git a/tests/qtest/Makefile.include b/tests/qtest/Makefile.include index 9e5a51d033..5023fa413d 100644 --- a/tests/qtest/Makefile.include +++ b/tests/qtest/Makefile.include @@ -262,6 +262,7 @@ tests/qtest/hd-geo-test$(EXESUF): tests/qtest/hd-geo-te= st.o $(libqos-obj-y) tests/qtest/boot-order-test$(EXESUF): tests/qtest/boot-order-test.o $(libq= os-obj-y) tests/qtest/boot-serial-test$(EXESUF): tests/qtest/boot-serial-test.o $(li= bqos-obj-y) tests/qtest/bios-tables-test$(EXESUF): tests/qtest/bios-tables-test.o \ + tests/qtest/tpm-emu.o $(test-io-obj-y) \ tests/qtest/boot-sector.o tests/qtest/acpi-utils.o $(libqos-obj-y) tests/qtest/pxe-test$(EXESUF): tests/qtest/pxe-test.o tests/qtest/boot-sec= tor.o $(libqos-obj-y) tests/qtest/microbit-test$(EXESUF): tests/qtest/microbit-test.o --=20 2.20.1 From nobody Fri May 17 02:03:09 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1591707511; cv=none; d=zohomail.com; s=zohoarc; b=CGuc0ToPtPBzntXZewa1f024b6nRRcFVJFbiwxaIy4FLzK2ppxkWViqOs4RO64FftM/0z0/88br58zh+O6doT1see3plBlhlCcruTrHN0+MsB154+VY6WOLNtowQsPeJzcEp/3Py8NjHozxzn8lX4DsoOnEpjrMX7PAwssNXHyo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591707511; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ri29jQX49d1G4X01Zjj315e+Zhlu6yDlMk7cjsR2hTk=; b=Man2G3cjCkiFEgOkw4hfubD1R9CMslsnNes5D9FARcIHIrpr3PBX+1olIFiQIfiF8qDRa5MOS+LuC0WazCrmrkrgxGNXNRR3F2FWdmG+PhgrTVDBupR7n36Gx1doMnDNocvZtKN+CBDa+GBPJyGglXevKC4qPiDAeXiBmywnni8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1591707511697117.84555965437846; Tue, 9 Jun 2020 05:58:31 -0700 (PDT) Received: from localhost ([::1]:36098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jidpm-0000k2-I3 for importer@patchew.org; Tue, 09 Jun 2020 08:58:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jidn5-0004yo-5m for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:43 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:53897 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jidn3-0002Wj-Jy for qemu-devel@nongnu.org; Tue, 09 Jun 2020 08:55:42 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-365-iuFizSoFPAybZQZ-h19BsQ-1; Tue, 09 Jun 2020 08:55:39 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BA38A8014D4; Tue, 9 Jun 2020 12:55:37 +0000 (UTC) Received: from laptop.redhat.com (ovpn-114-197.ams2.redhat.com [10.36.114.197]) by smtp.corp.redhat.com (Postfix) with ESMTP id A7F405C1BD; Tue, 9 Jun 2020 12:55:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591707340; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ri29jQX49d1G4X01Zjj315e+Zhlu6yDlMk7cjsR2hTk=; b=ETRRsEsyYeTEtYpDf8QVHhtoiu83XXD33Tk5qVizosexZo1T6NjTKL5C4q0LNt1Yn2o5JO UcayJATptGRIDJPB+3zu04FulRhT2UQ+ZfKjhXxlYgLyG6EiqZTBsP5ax5U3hRb6lDOQQT MjvRKhIr8cZT6zcqtLV4rWConOo3Obk= X-MC-Unique: iuFizSoFPAybZQZ-h19BsQ-1 From: Eric Auger To: eric.auger.pro@gmail.com, eric.auger@redhat.com, stefanb@linux.ibm.com, qemu-devel@nongnu.org, qemu-arm@nongnu.org, peter.maydell@linaro.org, mst@redhat.com, shannon.zhaosl@gmail.com, imammedo@redhat.com Subject: [PATCH v2 5/5] bios-tables-test: Generate reference tables for Q35/TPM-TIS Date: Tue, 9 Jun 2020 14:54:09 +0200 Message-Id: <20200609125409.24179-6-eric.auger@redhat.com> In-Reply-To: <20200609125409.24179-1-eric.auger@redhat.com> References: <20200609125409.24179-1-eric.auger@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=207.211.31.81; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 23:42:34 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marcandre.lureau@redhat.com, drjones@redhat.com, lersek@redhat.com, ardb@kernel.org, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" TPM2, DSDT tables were generated using tests/data/acpi/rebuild-expected-aml.sh Signed-off-by: Eric Auger Reviewed-by: Stefan Berger --- tests/qtest/bios-tables-test-allowed-diff.h | 2 -- tests/data/acpi/q35/DSDT.tis | Bin 0 -> 8468 bytes tests/data/acpi/q35/TPM2.tis | Bin 0 -> 76 bytes 3 files changed, 2 deletions(-) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index a2a45d1d31..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", -"tests/data/acpi/q35/TPM2.tis", diff --git a/tests/data/acpi/q35/DSDT.tis b/tests/data/acpi/q35/DSDT.tis index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..34a3c915d27cab5d09190a0441e= 9511db0c147f2 100644 GIT binary patch literal 8468 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 literal 0 HcmV?d00001 diff --git a/tests/data/acpi/q35/TPM2.tis b/tests/data/acpi/q35/TPM2.tis index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7878a6e79a6a406d99ca1f5e9a5= 28eb392b8d793 100644 GIT binary patch literal 76 wcmWFu@HO&bU|?V=3Da`Jcf2v%^42yhMoiZKGkKx`0=3D4A_u4U^Ym_e|8WP0Iiz{0RR91 literal 0 HcmV?d00001 --=20 2.20.1