From patchwork Thu Apr 3 20:40:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 877949 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3468216wrs; Thu, 3 Apr 2025 13:41:39 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWYr1pmxYWY1NDEKW4W9xjC1jy27oBW14HKAQnM+dC/L/OdSypEixGMH9zmpFOBdBZ2v2RJfA==@linaro.org X-Google-Smtp-Source: AGHT+IGjeEOywKHAguGkw/CsDb5ioWQn4FS72PIL1OKcxpSeSziwcJnktbQRt8CQuhE7z/V5i5mO X-Received: by 2002:a05:620a:460e:b0:7c5:4b6a:d862 with SMTP id af79cd13be357-7c774d71ca7mr110446785a.33.1743712899495; Thu, 03 Apr 2025 13:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743712899; cv=none; d=google.com; s=arc-20240605; b=UFOxtmqDiqRDdwd7h1HPj4/YyPdqwnxWaeyxpfQNJBhQFQeUi4mLsS1Xbh7GZ1nhhD zG0dPe8jVPTOV3HJSAFANB4n/WwveCf7gK43own3uEomwKZNqS6X8/HsfNR/q/gV2z3x sGQZH5Pjpe8K74YPVgavQJPoXMkRGnoVqzETnjvuCJm94A3z8c2x3U/c9+1OogOShLxW 8qRQF986C3x7gOINgiYaV7GVUdzwQgZdKtxAhz0MWIQVkUxBINWma0sMqsrWOAhPEDnJ g67AIRndCNsTYGKvDLBhLZEI7DQ+BhenRoBtNhcVAPCHkMn4ea2Q8d4l0awP8KikShly Adsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=MLYRdVVgThynsCkkZUPojC5QmxuF1gOqeLFrpCloSHE=; fh=cT8sTm3MaRRFY9PfjuzDPMPIjI/oXWRSXbH4Hrbck2w=; b=C005E1gG6tXeg4iuF/D0cLIMzBlwVGtJNnxS2GHz1mYSwtpRpnGf+UNBO5IYfgnYVB 3Fvu7+UuiBPfXI/94KA/ClRG4hWNUoy+kFgy7CBafISAjY4dL69WdMbs5hN6Q5pY/PWm ACIdsa3gV0vDoMC56I33FQI8h8YsLY8/syejeWPbasKviJrUGdSxM8PQGV5y7MbnJujw 7niZ5mNcHYxWzzNM8Z4xDPo0EeAC9o36nlkqqEA+jIuuAqi6wokrD4BNfsuHqofIbVbS 3i9CBN9pKDjB/HjbscUHnWXspZ7Db6Z7MH3HehfOhyO1ks64+V8MLZwPOub8EhAQTzdh xE3Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xq/grt//"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7c76eae48e2si177170485a.644.2025.04.03.13.41.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 13:41:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="xq/grt//"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u0RNB-0000WD-3L; Thu, 03 Apr 2025 16:41:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u0RN7-0000VS-1W for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:41:09 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0RN3-00055Z-R2 for qemu-devel@nongnu.org; Thu, 03 Apr 2025 16:41:08 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3912d2c89ecso1174856f8f.2 for ; Thu, 03 Apr 2025 13:41:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743712864; x=1744317664; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MLYRdVVgThynsCkkZUPojC5QmxuF1gOqeLFrpCloSHE=; b=xq/grt//rjkCSrHHgRRorlsHP0+4zw95I1KhE3Q8XUnN8EiZQW6UdXpE63YSZ3pXp/ HCq8K5EhEqliHt9OYVnK52I0Ql/kEttUOxRNclBluaAWSaV71Q04GwCBlTVl/kApu2W8 3USH+U9l63pHRS4mKFW5Cobnhe6kmL8piFkxbGiqte8i8bxPqDTVumZRyYAPliprOPJt j1pcWmGpSdWbdrtpd0ReFgjqKloh7ef3TEIyemi4AjQ0uduaDFY9xNv89jTxNf+pPe/o a6POsiaF/0Ih8T09qeItrICB4HgGFAfyS0vexGrEYTX+lbFStW8cn2pF8OA5/0HNjuyS d7rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743712864; x=1744317664; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MLYRdVVgThynsCkkZUPojC5QmxuF1gOqeLFrpCloSHE=; b=sL9kGK+jxlBgE37nqyWZs5KMgoZL267HRtR1NZFEpHCEW/NZf8uKmew9XHxpD7GosT gBuH0PMd1vxIKjKwpYtHV1aO3BQOnZEhVwlidGNaisrs0aDg178IC/+mC6zlyQfV2AF5 Y/Ra+v6kbFraptFHsMsT1RGgoilJt3FCLqFxV+Zi8KXaKuj8nq/S1RX5qTerQ1mkk2BO j+9qn2bgzHKLbwz//tEPpZH75PlnMOIdstpjLjDQqIdQiNSHO7QN0fEzWBERSPnk9jjW mDDElCCvxwVZRWtURaIqmnhZepk31Yob4UfaT0pSogYhEt2D10LPHhmaHCtYcn0EL0r/ TmJw== X-Gm-Message-State: AOJu0YxXdPyMTX1CbEz+nxgSVQ4KlzWSQoZ1v/Ib6ctTA//Pn5NFTcwe XklFQqNdKA/hVuwnh0JQBpbImz1HVt4tEQo8V8ziWlE7b9kogGhF+0I+GO/YjRDCGm8kwQzm2Z8 b X-Gm-Gg: ASbGnctSvpD3qv/FiauJ04/tzZVk1zFkjljYPIYAtW7nVxBSx5HKUsEpvUfQtG4d2ub YNWVbtIM+7hvFT/iQgXRsLWSe08I85FybK0mKjGDxxJXKz5v0L8Cm3hSdg8dzEAJKEdsG+JOxLM bJRMf2UQgktnDtBPiv1Z1ENfuW9QgDkPWKBV+K8UXJsZiaHLLwSP7rGZZRbG1Sxw0WxhFe1LhTl Hx3kBsJoeNdXcTETOQ1Ndx5KMpYObbABs6ZD7U262xuDNVnJ+9zF0HOCTIWIL3BmFIuV8alzksR KIkTh04LXL57jKUYNPlMVT9IcZlx+tUMCFi/CkVnohd/ssyG8uwAAcleJ4v6jmADaMKTQ8TRgaO 6oNReV9oF1sMdjiOU/uNp/9/e X-Received: by 2002:a05:6000:270e:b0:39b:fa24:9519 with SMTP id ffacd0b85a97d-39d0de2d383mr130133f8f.35.1743712863777; Thu, 03 Apr 2025 13:41:03 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43ec1662feesm30696335e9.12.2025.04.03.13.41.02 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 13:41:03 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Andrew Jones , =?utf-8?q?Alex_Benn=C3=A9e?= , "Michael S. Tsirkin" , qemu-arm@nongnu.org, Udo Steinberg , Shannon Zhao , Gustavo Romero , Igor Mammedov , Peter Maydell , Ani Sinha , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-10.1 v3 6/9] qtest/bios-tables-test: Whitelist aarch64/virt 'its_off' variant blobs Date: Thu, 3 Apr 2025 22:40:26 +0200 Message-ID: <20250403204029.47958-7-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403204029.47958-1-philmd@linaro.org> References: <20250403204029.47958-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.google.com 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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We are going to fix the test_acpi_aarch64_virt_tcg_its_off() test. In preparation, copy the ACPI tables which will be altered as 'its_off' variants, and whitelist them. Reviewed-by: Gustavo Romero Signed-off-by: Philippe Mathieu-Daudé --- tests/qtest/bios-tables-test-allowed-diff.h | 3 +++ tests/qtest/bios-tables-test.c | 1 + tests/data/acpi/aarch64/virt/APIC.its_off | Bin 0 -> 184 bytes tests/data/acpi/aarch64/virt/FACP.its_off | Bin 0 -> 276 bytes tests/data/acpi/aarch64/virt/IORT.its_off | Bin 0 -> 236 bytes 5 files changed, 4 insertions(+) create mode 100644 tests/data/acpi/aarch64/virt/APIC.its_off create mode 100644 tests/data/acpi/aarch64/virt/FACP.its_off create mode 100644 tests/data/acpi/aarch64/virt/IORT.its_off GIT binary patch literal 236 zcmebD4+?q1z`(#9?&R<65v<@85#X!<1dKp25F11@1F-=RgMkDCNC*yK9F_TjFfcO#g+N#Zh@s|zoCF3AP#UU@ R!2`+%Dg6Hr$N|zYvjDIZ5CH%H literal 0 HcmV?d00001 diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios-tables-test-allowed-diff.h index dfb8523c8bf..3421dd5adf3 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,4 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/aarch64/virt/APIC.its_off", +"tests/data/acpi/aarch64/virt/FACP.its_off", +"tests/data/acpi/aarch64/virt/IORT.its_off", diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index baaf199e01c..55366bf4956 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -2151,6 +2151,7 @@ static void test_acpi_aarch64_virt_tcg_its_off(void) test_data data = { .machine = "virt", .arch = "aarch64", + .variant = ".its_off", .tcg_only = true, .uefi_fl1 = "pc-bios/edk2-aarch64-code.fd", .uefi_fl2 = "pc-bios/edk2-arm-vars.fd", diff --git a/tests/data/acpi/aarch64/virt/APIC.its_off b/tests/data/acpi/aarch64/virt/APIC.its_off new file mode 100644 index 0000000000000000000000000000000000000000..c37d05d6e05805304f10afe73eb7cb9100fcccfa GIT binary patch literal 184 zcmZ<^@O0k6z`($=+{xeBBUr&HBEVSz2pEB4AU24G0Uik$i-7~iVgWL^17JJ`2AFzr bgb+@aBn}xq0gwb2)Q)cq{30-g9B_L93G4|0 literal 0 HcmV?d00001 diff --git a/tests/data/acpi/aarch64/virt/FACP.its_off b/tests/data/acpi/aarch64/virt/FACP.its_off new file mode 100644 index 0000000000000000000000000000000000000000..606dac3fe4b55c31fd68b25d3a4127eeef227434 GIT binary patch literal 276 zcmZ>BbPf<