From patchwork Thu Apr 3 15:18:15 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: 877924 Delivered-To: patch@linaro.org Received: by 2002:a5d:6dae:0:b0:38f:210b:807b with SMTP id u14csp3320168wrs; Thu, 3 Apr 2025 08:19:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW1XyPqxQi8bXta0jU87AmQZ71nxRYu1hd+SJss4GJAZYot4TBLBNyOZgAQo/NVxKgx0osWCA==@linaro.org X-Google-Smtp-Source: AGHT+IGatUl4AOsgb46c8OMPKUAx1RwGSuEBSmQITfo8DeiFRxfJsLiwIR17Vq4oAQP8wtr3cxx+ X-Received: by 2002:a05:622a:1482:b0:476:b858:1f2d with SMTP id d75a77b69052e-477ed710b53mr263564501cf.42.1743693583765; Thu, 03 Apr 2025 08:19:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743693583; cv=none; d=google.com; s=arc-20240605; b=iFs3aPU3Syb+aJYTzfacL/O9tYzIFKyvdlL23lYZDBUBay06j+/0psm6fGiC/lphaS bB22D+QylZhcPhhrPkBCkeGR0s3fQvPNENHwWR/p34rU8JV7jC7ehHpDA/gFXmgU1f1v oSUpFZ2g+UgiFioy6Bkpi7SvLwd7ZQeHUMq2jGCYeRErEKIVbkkGHo6TpOBBA5sLXOHi j7RGY4xulRtiAjRAViiZOxR5hcTCrQ0ZgtF0TTzrOU0lYevvx7jpE0ib7ilM2DrqUFof 2OfTIg/JNFcAiANNUPDnp09YEhEQ2SKSkWJW/Foa+IA0TencuwJcXUSIAZquEoz04we0 tnGA== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=nk7HkSl6ytbVk4kl2foDviXAGWH6GjCYLhLVx8jvfi4=; fh=uZabDrQmZm0L+6w9TkaKSHx4mVelHvsyKGr5umV4YlI=; b=XNdzOPKn+04z+Lj5AGSWSYCQYsPtWfghUuwb+NVg4RDrTCyhXFJoCej3Ps4RHgX71e Nl42eevE/dgsXVkFmX8RrLbS8II/WcrybrcoBpG5qSZhwiK2Ir3CYLPFfmcMQcZhZGJC lIMyY7QJa3SgBY0X9u3yY/2rxo7gK67CW4LnYQ93vJf/7ID/hXhWexMp8kBCf8+PqqGN 0Bxz96F+YA+HiGaMKgogTo/SWx/Q2U1+rOdrX8cMDmrh97QDSYG90GCzycZs88IrpoT9 ojxRGWlcauVaefanurkD933gU3s7JqqjKLMO27CqZnFn/QiyKeCKO7Fg0CYttQZBc8gi weQQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f5lYgJNr; 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 d75a77b69052e-4791b1ee250si12298121cf.670.2025.04.03.08.19.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Apr 2025 08:19:43 -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=f5lYgJNr; 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 1u0ML1-0007br-Ls; Thu, 03 Apr 2025 11:18:39 -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 1u0MKz-0007bI-Ut for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:18:37 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u0MKx-0000OS-Ah for qemu-devel@nongnu.org; Thu, 03 Apr 2025 11:18:37 -0400 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-3965c995151so686476f8f.1 for ; Thu, 03 Apr 2025 08:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1743693513; x=1744298313; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=nk7HkSl6ytbVk4kl2foDviXAGWH6GjCYLhLVx8jvfi4=; b=f5lYgJNr7BPEfSiL0WhuQY5XqACL8HbeDfgVEJ464bSFMT4QaZc8b3RnjbnGSVYy9N G6URyq+X0wBdJV4TNok6/oWDUwIZruuWUEIt0lPINM4EsFAyYa7nepA1g3+G29zOrBlQ 0Sy9LBSo+alrhsiJfUaPnOe2SKMHWkETQEkJhT/DsW59VVbd0nK4sBwhaKc7lUA85sq/ iqEkTHW4AMMsXB6iQ8h06F+ocqeoTa9tkPyXlZYk68b8sXKAvFbbma3WeCdogV4VQYS3 D/ujvDj5rOOBJvQpXG0x9yCtAd2/O5NMaS/P6Oj749W3sGygIYvjZx1nCQ2pZdG8l538 ZM5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743693513; x=1744298313; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nk7HkSl6ytbVk4kl2foDviXAGWH6GjCYLhLVx8jvfi4=; b=S1GZFOc87LzjPFGmm7d/lmjnhZHOfy2/yeCiSg8g1NkxcoliwKXciPdDP5fxiz3DoY OGKLfVGaGnLFgO1d+7oqsL8E0YeXBXY9Ag74F6AJiIRGlAofiC6Yo1yBZvT9daeMWwDH NcrcYTP9oaf/k5SDYVV1xezzaazT5sB9+TzddAiEPAvE0RIL9tQyEIhRv0gpSkDMq08y kPT2YwOpMz6OuuqhnadoFZEG/IkN/77Nu6oxNWfGfwOTk3+FUvCN99MmXnQ5Qgi4lDB3 vT7dEONlVG8C+qv+cwQMB99Fj9Em/bJd7HWiGCcUtHtJblZGeW79LI2UkRfwF69VitBn BqcQ== X-Gm-Message-State: AOJu0Yy0jvNdJBWmEBJ7HwXlCCsKpvOFYEwBmXfxexiIbzGkUZ3Q/tca RjoWuQxb/ehOKqoZNvZGEwb8SWGwnMTGQXGeOOH66pAT62F1llna2FTP6LdduRxAc1Et7YXNC8c A X-Gm-Gg: ASbGncu3jVvj60GU/tG8pZkdMuKkeJ0RSQR+fFT3fu+IXJw64+mgSBbMjE7yRBXY9Z7 eEf3L+GNkFGT7hx2MhlgBp9m+0cBNPIDhI7gDlq1hWAdOWZvD/g1eSgK+13alL836m8Ydzr71HV Mf1cpw8IpfcaLdLanygOXsbvmV7niwuHL7Batad/uc9UTYB4fxEOX01qOSZqSTgZYoCY6qwkQec Yet3gTJUorwT1ckdknW9IlSquHkG97sBinAq/+noWZioblS3lBM8w4iTTvYOESn1VJnsPc27m1Y ls2W7FL/gEaZUdZnK71s6rRC4B3ds+Ds0dqw41bJVxFrxLla39nDSOnepVDrQWrt9tNTPJEeBjr hbc3A9J+wR3za9g2pKm8= X-Received: by 2002:a5d:6d8a:0:b0:391:4835:d888 with SMTP id ffacd0b85a97d-39c297e526amr5638439f8f.42.1743693512823; Thu, 03 Apr 2025 08:18:32 -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-39c301ba2dfsm2074928f8f.60.2025.04.03.08.18.30 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 03 Apr 2025 08:18:32 -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 00/14] hw/arm: Tests & ACPI tables fixes for 10.0 Date: Thu, 3 Apr 2025 17:18:15 +0200 Message-ID: <20250403151829.44858-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=philmd@linaro.org; helo=mail-wr1-x42d.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 Hi, I tried to gather all the hw/arm/-related patches for the GitLab issues tagged for 10.0. First, trivial ones fixing / disabling broken tests; then disable the VMapple machine (not sure about it); finally fix ACPI tables for '-M its=off' CLI option. While polishing the series, I noticed MST mentioning the ACPI changes are likely too late: https://lore.kernel.org/qemu-devel/20250403100406-mutt-send-email-mst@kernel.org/ I'll defer that jugement to Alex :) Regards, Phil. Philippe Mathieu-Daudé (13): tests/functional: Add a decorator for skipping tests on particular OS tests/functional: Skip aarch64_replay test on macOS tests/qtest: Skip Aarch64 VMapple machine hw/arm: Do not build VMapple machine by default hw/arm/virt: Remove pointless VirtMachineState::tcg_its field hw/intc/gicv3_its: Do not check its_class_name() for NULL hw/arm/virt: Simplify create_its() hw/arm/virt-acpi: Factor its_enabled() helper out qtest/bios-tables-test: Add test for -M virt,its=off qtest/bios-tables-test: Whitelist aarch64/virt 'its_off' variant blobs hw/arm/virt-acpi: Always build IORT table (even with GIC ITS disabled) hw/arm/virt-acpi: Do not advertise disabled GIC ITS qtest/bios-tables-test: Update aarch64/virt 'its_off' variant blobs Pierrick Bouvier (1): tests/functional/test_aarch64_rme_virt: fix sporadic failure configs/devices/aarch64-softmmu/default.mak | 1 + include/hw/arm/virt.h | 1 - include/hw/intc/arm_gicv3_its_common.h | 2 +- hw/arm/virt-acpi-build.c | 48 ++++++++++++-------- hw/arm/virt.c | 23 +++------- tests/qtest/bios-tables-test.c | 22 +++++++++ tests/qtest/libqtest.c | 1 + tests/data/acpi/aarch64/virt/APIC.its_off | Bin 0 -> 164 bytes tests/data/acpi/aarch64/virt/FACP.its_off | Bin 0 -> 276 bytes tests/data/acpi/aarch64/virt/IORT.its_off | Bin 0 -> 212 bytes tests/functional/qemu_test/__init__.py | 2 +- tests/functional/qemu_test/decorators.py | 15 +++++- tests/functional/test_aarch64_replay.py | 4 +- tests/functional/test_aarch64_rme_virt.py | 4 +- 14 files changed, 82 insertions(+), 41 deletions(-) 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 Acked-by: Michael S. Tsirkin