From patchwork Thu Apr 3 15:18: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: 877935 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3322067wrs; Thu, 3 Apr 2025 08:23:15 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXGFVJThZkC9WNQULbOWknaA0pSafYRzDV4OiA5JXr/bj9ZGXJ2P7TIKTIvEBjhQSbVFhXzLA==@linaro.org X-Google-Smtp-Source: AGHT+IGj/LFIVKr7+JPLY64JWA1AKphsapL/Ip6WzaKrAoZdQ8T9GYpa4RM0NHM8JL3RjkOrTn7p X-Received: by 2002:a05:600c:3d13:b0:43b:c0fa:f9dd with SMTP id 5b1f17b1804b1-43ec4438bc7mr25088025e9.25.1743693795331; Thu, 03 Apr 2025 08:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743693795; cv=none; d=google.com; s=arc-20240605; b=MZylUR14xAMSkTqbZKLioPfFQaL1W+wiYFfJOzRNbTh3Fv88xBql2VBtYVBmFnoPX/ qG4/I7XLv2eg/WSTOtYsoxrWm6V7vIZA2UKtzmyIjvLCpLjbYmWM3owtIhIo6RGjucNU Icqld24Tx5bvguW2uJxTWTr0rjmj+q/zj38p96jCKsIn7kCMaAsUE3U9KvyfBwjdWxDG kqjC6nBlDVMnanypvTlik9iknuNPhNn7+Gru6Du+i3dfFdOOlwjlgW3IPHqEOT8PI2gv 6KwhcDK9gpjg656Jdog+qhgOmSlX9TEWGNbcHQ3QMh2sOTf+xooIGRVMb84+qqfzLkI9 E6lQ== 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=uZabDrQmZm0L+6w9TkaKSHx4mVelHvsyKGr5umV4YlI=; b=JxbdQlsvDKkLZAf6aITWIgRy3cvfG19KDGgawrykv9uuO+fA1vUe9MoewNKC5GmrmU xDgtKhjM5KX8XApbjIaxqiIodVgoZK6GqFxO75umfVTrIgWOsU9qvJssTEF6x1Cmqixw itwy2J75cBS+6bGOChdRIyTz386FO61OVdaT+Eko9eNe9gbkxa+HelT7iFlUIQJKek4d ranpjkjyyJ2mAClgDGv0fr8Gn7YNcfCCnGFKgtck0LRDpBNL+EJi9atZ+FVSNKX1OkH5 PbWJKaIs/x9x+106Rkps2mMjZPTjihUUzmol3n2WTYZpFLTjKOr/Q2DesX75HRTsYqX+ Nwtg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U2rOJQ2L; 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 5b1f17b1804b1-43eb5fc2c97si27982785e9.35.2025.04.03.08.23.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 08:23:15 -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=U2rOJQ2L; 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 1u0MOo-0002nJ-Bk; Thu, 03 Apr 2025 11:22:34 -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 1u0MMB-0008AK-HW for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:19:55 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0MM7-0000c6-2Z for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:19:49 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-43cf58eea0fso5408745e9.0 for ; Thu, 03 Apr 2025 08:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743693584; x=1744298384; 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=U2rOJQ2LC5f3ixNLxE+nspJtkWChVRlxMmSwJoM6r2nVJPuILGowLa+BxzugG/PMAh v+We1TqEirCoxWLliqfR9J/ddmKwX3DVZtvh0zWZq6FHQ3Y5tW3NMh8lVdEYb9V5vcsR RNHXfpnB2UuBpt0AD7NgjGd0fe2lWY/VmmA/mhnBY6NkBDmeRyvPRUkI/DDP4KzA6GHC Hyr2BNd6dkrj/7S+6kUzE8fpZqW2iqiHI/oyqafbzDUybZoSsfnQC2WICiyyIfPUbRmo wHWa9OhCWr6MZN6Um+cVM8IA3MngzbioPZyCAjRmETQlmwhrLcKUYrjw19jfp0tyiAXV 3D5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743693584; x=1744298384; 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=pUsEXYwwkVwpjMljVw7wGEFCX4sPm6GxZnVmphq7lXttUs3WDiCbz7De+TJ5UZhKZx E6thmbKlPz+22RfxUmf9Rj38rRefa/i1vAvohm16uwSqUvnAjNflR31H/QaQ/TeTyNbP c9M+C6UzXrtJWydblYaIPi2X+wWZLu7NCowrlT6uEn/jvPW72KPMp0diZJXTniEyupXt cSluLsaLbqLn+q3E6idU/WA+opiJU5xvlLdaV4iDASEXTE6hy7+rPFsB0dtOyR6XC1nz WNztnzhVzRflFi7Jc0w2k3PR/ynBU0SUs30MXl5EPRD33z0tvevHOvjM0vAORmWsErmb Vn2A== X-Gm-Message-State: AOJu0YwIFya9KLGISk0kpCZlNYisoX5n6bO0vazaxOoU9lOTvigGw3F5 WpkFbHToNWW9bGR1xr/AFMZg/WNgHPJHV00qA7nu7y4GBoq8Kxdwee4+2psgncE8PHoZu776Z/V P X-Gm-Gg: ASbGncsore3tIyqIpzPb5HpAn3OuD92pK4s2kMx8I/huTzEYagA4PJkKe9hPLT6U0kY VjssHtT9ZuUk+v7tpO+VueVRvfN+D9r6e8S0ioySEmeZzAsWnnBm4eS1MZSEQek5DBvGYsxANBa QEtH6FiszXlMGSolGsvQdvUuomde0WCDAKCjLNVGOVGVSFXTT5pwIkycG7N6yJlKJo7lKPr3H0a ecv/oqaZAE6LO91X1vI0MVnynWxjakYYfjLaCSHwTUkyl9oLXzCCUdyLftTXJj1SIVpx1a6654m ffoyjfGWvc82/nMhG+1C7Ey51s3pvS7mf2lJdUgot2QjeN956eHuSsIzfkJuN/P0/6DHrem1ACd jgQ9RnYqIF/fjfVgE2DM= X-Received: by 2002:a05:6000:4010:b0:391:2a9f:2fcb with SMTP id ffacd0b85a97d-39c30387633mr2572096f8f.36.1743693583885; Thu, 03 Apr 2025 08:19:43 -0700 (PDT) Received: from localhost.localdomain (145.171.88.92.rev.sfr.net. [92.88.171.145]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39c30096b9csm2088473f8f.13.2025.04.03.08.19.42 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 08:19:43 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gustavo Romero , Peter Maydell , Laurent Vivier , Ani Sinha , Udo Steinberg , "Michael S. Tsirkin" , qemu-arm@nongnu.org, Paolo Bonzini , Igor Mammedov , Andrew Jones , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Fabiano Rosas , =?utf-8?q?Alex_Benn=C3=A9e?= , Shannon Zhao Subject: [PATCH-for-10.0? v2 11/14] qtest/bios-tables-test: Whitelist aarch64/virt 'its_off' variant blobs Date: Thu, 3 Apr 2025 17:18:26 +0200 Message-ID: <20250403151829.44858-12-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250403151829.44858-1-philmd@linaro.org> References: <20250403151829.44858-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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<