From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657906; cv=none; d=zohomail.com; s=zohoarc; b=Qcr1v5jXq0EKnZ3DH0ZOYzb3A0IMbziNC8UOHj2uliyM7fG4DoTs6CdA63G3z6Nwt5FRScej6+DTijVFMBRkU06BCyFlle4dNpHFprhlOz1SvDxzSN8U9K534NMsxDpD1qEHe5ZmktvTvaKdH7Qe2qgC6QShuQ8/wNeupwiUYyo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657906; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=tLF7kvnzhJViV1rgW0YuvQ5EtzgQNtK+n1ay2fRkX7Q=; b=bAbVqrr5fEeX6YbHnmZexwAgsVyLlzBDp8kDlmrmK7Gry2vjecKUQrKhfMVLvSUJkZ1UPIGsHVA4LQUi4oJTwIqNUEdyuHgdMthsRIC/DJx7MnIKWffLww4hgFrIFtOuVuyKS1AG51OfsB8k0Sc3qxscWk10uBFfNY/WRX+IHvQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657906657959.0458828023495; Mon, 16 Mar 2026 03:45:06 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PD-00012n-Lp; Mon, 16 Mar 2026 06:42: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 1w25PC-0000wm-AE for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:38 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PA-0003dr-CD for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:38 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4856cd3f1ffso2368645e9.3 for ; Mon, 16 Mar 2026 03:42:35 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657755; x=1774262555; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=tLF7kvnzhJViV1rgW0YuvQ5EtzgQNtK+n1ay2fRkX7Q=; b=xnuMzFGKIShaZQDHKLjscKx8PtMA410bXFXnQhsb2TVZ0vIoY5olW6KxKRswNjITda XdaIyKdAr+5VmgtrYwU4BqbiDognnXNdSjMcC2owx/FAGZIfhT6JmdDqc9w6FtXnsn2Z vyyO2+nIlqVzs3FnZKWn7mSLBtbl4lK59GBLUXSwJR1pfderL5SWm2NE8zJZsoLPeyV+ CVmKwim5C7Rvy5vjq/jCm3FEAUhzIlxe75odwqyvUnRfVdEci/sjCGALpLNBX9diYbnD NGLJ1/QZbbiyWruT1/w7QSE3cr8Ax318CW7Z6mMc6yzdeUFysXDl8pAvbU6+uPwKhork bqYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657755; x=1774262555; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=tLF7kvnzhJViV1rgW0YuvQ5EtzgQNtK+n1ay2fRkX7Q=; b=KA9Z0112EIiuUng4as+yZsW6EoqkZ8of3vl+6UWQtntW42FG9xM6QttM/TX4ceDt/7 RMZCp5D6zE7nFcm/ERfeglUUqhy3WoF7WoOLFr9AWTvzOOISYY4RSElJ5TI9YFTGy95v k3mSx9ECXDFagzXpqwEZe8iN8UkSAsl9k8nbI+oWKU94iuBfzN62CZ4Vg5FY26O6D62f aGon3mbe9Rycbo6oArpMSWm99fbg1WW/BG5YIGRsboZsOhTpNv7ISuWdSg+Kr3egUUlJ ws3s/FxlnmLPbns8Rw1is2O3NDCQdwjAugbMjPO8bGU170fczI08WH0LIbKPmVfnfzlA mfPQ== X-Gm-Message-State: AOJu0Ywd8Xk5NTBVQ6hpwS8oLqVt4jFDMxj6P595auOEKiHTrefLtaOp oSwVhaJrKzIsZ/aEw3vw6SEojEE0HRK7eWriZRxzk/CiB8ro8b+r8QsLb7JbxFGTwtQvwExgsQv h48o7 X-Gm-Gg: ATEYQzxaLjgioLJEc1aAFZQ+wQTuu/hKPAbWfPUg2jyvwPrNK3r0Rvcm3Gm8VtnWIkI fLbDuUitJD5RqHgD1Hk4y3UCTC3STFZlH6dpqeYvSAbbKe5Jlpo8yEgwwYe8SCHAU+O8sQV+jPD RkUFbqF158cV4lGZIOiViSlPpRweA3COI4aX60jax1v0olHBIz9DsjxNQp4GSkX8RRNKhLv2lXH 4O/swc7eTlYxDhk1B3h6MOcwppgnUABC6WuZ+XONHxsrCWHUIAfd+Dfmnlo731liUxn+SEoO/tn s06BZS9K3W0xpoRRHUUQG8jfY1l50iZNv/IzOpO7xS4Vgo+aw5mmMOQMi9CzPCaI+tzhn++4Er7 aJG/6rgPemTAhWcwlrLM06XtL5oS2SvF1RG0hl0TJTRiDeJOfB8p7oLtR1ddsIU//Sirwb5s4fh 5CCSVs8dQTV6hYgeLVfdwlRzny20uXh5Qfl+gzh0daoHMrszr11Y+Sub3ftCiKn4zI5LyYLCcAq nMEZ1Q/u+A= X-Received: by 2002:a05:600c:45d3:b0:480:1e40:3d2 with SMTP id 5b1f17b1804b1-48556705301mr210549345e9.29.1773657754522; Mon, 16 Mar 2026 03:42:34 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/17] hw/net/rtl8319: Work around GCC sanitizer / -Wstringop-overflow bug Date: Mon, 16 Mar 2026 10:42:14 +0000 Message-ID: <20260316104230.836962-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657908571154100 If you compile QEMU with GCC with -fsanitize=3Daddress and -Wstringop-overflow, this causes GCC to produce a false-positive warning which it does not produce when the sanitizer is not enabled (and which makes compilation fail if you're using -Werror, as we do by default for builds from git): ../../hw/net/rtl8139.c: In function =E2=80=98rtl8139_io_writeb=E2=80=99: ../../hw/net/rtl8139.c:2264:17: error: writing 8 bytes into a region of siz= e 0 [-Werror=3Dstringop-overflow=3D] 2264 | memcpy(data_to_checksum, saved_ip_header + 12, 8); | ^ In file included from ../../hw/net/rtl8139.c:62: /home/pm215/qemu/include/net/eth.h:50:14: note: at offset [8, 48] into dest= ination object =E2=80=98ip_ver_len=E2=80=99 of size 1 50 | uint8_t ip_ver_len; /* version and header length */ | ^~~~~~~~~~ ../../hw/net/rtl8139.c:2192:21: error: writing 8 bytes into a region of siz= e 0 [-Werror=3Dstringop-overflow=3D] 2192 | memcpy(data_to_checksum, saved_ip_header + 12, = 8); | ^ /home/pm215/qemu/include/net/eth.h:50:14: note: at offset [8, 48] into dest= ination object =E2=80=98ip_ver_len=E2=80=99 of size 1 50 | uint8_t ip_ver_len; /* version and header length */ | ^~~~~~~~~~ ../../hw/net/rtl8139.c:2192:21: error: writing 8 bytes into a region of siz= e 0 [-Werror=3Dstringop-overflow=3D] 2192 | memcpy(data_to_checksum, saved_ip_header + 12, = 8); | ^ /home/pm215/qemu/include/net/eth.h:50:14: note: at offset [8, 48] into dest= ination object =E2=80=98ip_ver_len=E2=80=99 of size 1 50 | uint8_t ip_ver_len; /* version and header length */ | ^~~~~~~~~~ In file included from /home/pm215/qemu/include/system/memory.h:21, from /home/pm215/qemu/include/hw/pci/pci.h:4, from /home/pm215/qemu/include/hw/pci/pci_device.h:4, from ../../hw/net/rtl8139.c:54: In function =E2=80=98stl_he_p=E2=80=99, inlined from =E2=80=98stl_be_p=E2=80=99 at /home/pm215/qemu/include/qem= u/bswap.h:371:5, inlined from =E2=80=98rtl8139_cplus_transmit_one=E2=80=99 at ../../hw/n= et/rtl8139.c:2244:21, inlined from =E2=80=98rtl8139_cplus_transmit=E2=80=99 at ../../hw/net/r= tl8139.c:2345:28, inlined from =E2=80=98rtl8139_io_writeb=E2=80=99 at ../../hw/net/rtl813= 9.c:2728:17: /home/pm215/qemu/include/qemu/bswap.h:284:5: error: writing 4 bytes into a = region of size 0 [-Werror=3Dstringop-overflow=3D] 284 | __builtin_memcpy(ptr, &v, sizeof(v)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pm215/qemu/include/net/eth.h: In function =E2=80=98rtl8139_io_writeb= =E2=80=99: /home/pm215/qemu/include/net/eth.h:50:14: note: at offset [24, 64] into des= tination object =E2=80=98ip_ver_len=E2=80=99 of size 1 50 | uint8_t ip_ver_len; /* version and header length */ | ^~~~~~~~~~ This has been triaged as a bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114494 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99673 (the sanitizer pass rewrites the IR in a way that conflicts with its use by the warning pass that runs afterwards). Since this is the only place in our code where we hit this, work around it by disabling the -Wstringop-overflow in the part of the function that hits it. We do this only when using the address sanitizer on GCC, so that we still get the benefit of the warning in most compilation scenarios. Cc: qemu-stable@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3006 Suggested-by: Daniel P. Berrang=C3=A9 Signed-off-by: Peter Maydell Tested-by: Alex Benn=C3=A9e Tested-by: Yodel Eldar Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Thomas Huth Message-id: 20260305140512.1330691-1-peter.maydell@linaro.org --- hw/net/rtl8139.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/hw/net/rtl8139.c b/hw/net/rtl8139.c index 2ad6338ebe..424af73a18 100644 --- a/hw/net/rtl8139.c +++ b/hw/net/rtl8139.c @@ -2124,6 +2124,26 @@ static int rtl8139_cplus_transmit_one(RTL8139State *= s) hlen, ip->ip_sum); } =20 + /* + * The code in this function triggers a GCC bug where an + * interaction between -fsanitize=3Daddress and -Wstringop-ove= rflow + * results in a false-positive stringop-overflow warning that = is + * only emitted when the address sanitizer is enabled: + * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114494 + * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99673 + * GCC incorrectly thinks that the eth_payload_data buffer has + * the type and size of the first field in 'struct ip_header',= i.e. + * one byte, and then complains about all other attempts to ac= cess + * data in the buffer. + * + * Work around this by disabling the warning when building with + * GCC and the address sanitizer is enabled. + */ +#pragma GCC diagnostic push +#if !defined(__clang__) && defined(QEMU_SANITIZE_ADDRESS) +#pragma GCC diagnostic ignored "-Wstringop-overflow" +#endif + if ((txdw0 & CP_TX_LGSEN) && ip_protocol =3D=3D IP_PROTO_TCP) { /* Large enough for the TCP header? */ @@ -2307,6 +2327,9 @@ static int rtl8139_cplus_transmit_one(RTL8139State *s) /* restore IP header */ memcpy(eth_payload_data, saved_ip_header, hlen); } + +#pragma GCC diagnostic pop + } =20 skip_offload: --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657764; cv=none; d=zohomail.com; s=zohoarc; b=HoaXqTNBZoXIB0O5mbg4cTXFK/wxHuuhMjsAPW6f9/Vsf6ItvgmsgPHHW4dDy1gi0v3cr1626HSN4CO7e1raWxnM5e0ouvjc241T04QgRC12KPgSFc/g/+35awq41p4ls4K9xyc86ajFpY9xOhgv6D2fEhLXDp54jyACfG1Adis= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657764; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=XYRJLl5EMUK6R3j4Nm05BR4Id89lXxBiwStHyfVM6Vk=; b=E75fLxCsiLXzr9gwH/895VlfQnHjI9I6RDMadNEWQjekTh9NeAp9pYWdSqE+J/4A0uIGu06aBXpwWGSVHluexOe4r3VHCLX0oU8JMgk+smQUppryzfLVJovrLlWuwubEWL1IAOVN0hLJiP4VY0oEWRN9iq2aNZg4H9RCNnw/ngw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 177365776413465.34302031082507; Mon, 16 Mar 2026 03:42:44 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PF-00019Z-8t; Mon, 16 Mar 2026 06:42:41 -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 1w25PD-000129-Bo for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:39 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PB-0003eB-Io for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:39 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4855dbfc129so20113915e9.0 for ; Mon, 16 Mar 2026 03:42:37 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657756; x=1774262556; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=XYRJLl5EMUK6R3j4Nm05BR4Id89lXxBiwStHyfVM6Vk=; b=JoDowGxdwBS3FhuohIEA54N209cKZqpUbn2YB0sp9ete0By4itpyqQ3W1wgPO0rEaP W6oksdvrSrjoc3STHSFI4ls/nxwXlN5BCkuQYgEX82JFMhCe/bql/YjBR9wbb6wCg4fM tNmEYyXXeNM5KXVzPGH4wmR7bseJW1uIjjd3JL6+mb5xCoZbsupiwlm6lZnmlLVg4ZJt JF1mdVGtKz2St2zP8NwCODgKdvWuAN2OEI7dwe0ZCDajg2FGEvQdWu2TCtrG7zAr7Nzq 39ebaWcgB55E9v8wRPReIeCl/wIFUaZtuKksLI0nzZ29BnQkJ49DyA7V6Nz03i4wY6CU sq4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657756; x=1774262556; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=XYRJLl5EMUK6R3j4Nm05BR4Id89lXxBiwStHyfVM6Vk=; b=LcMPp1+L+uGcVPzZRb+ZPCamfghBm/OREI4Eg95rSGl2k0mBpCJRrZ67hyrNmRRRqr 1VJoW3Z4mVN2Z/3GJcNAskqSkx7Zj+tGP5i+csNdScBiXjg082Y9j+EeaeiK2BZxoNxQ RrhMcWyAyvUEzmGPqDYNIiY/5+ZYV3q3Fs846AmJ/1V3MbZugCwruUqxrD8FnvDCZIxD TwOI9yDEHq3svy3l01d88vhav4CggUbGsFwXzx18zX87Xs8RBhDSwG5+bKPmpdHloA+p MBvH8crPnxeUj9Lyk0mKipYmhjDIAojjK7XV+m6RCaqeZhkrKgDpa33966dSsxzUPR9M 9CKw== X-Gm-Message-State: AOJu0Yz8R+ppLQJiP5MVTXf6wGB4DPjST1UB+GrKjCo0wod1q/crtvbf W2ZdIlHbahEkYEt3vSDhbq7Kfl/mbKTxmTW3L0duRcR1wH5Oy4Ph9h8qoQhePJp6U4SCica9dRv PLMGO X-Gm-Gg: ATEYQzz3AAxcDKdd9qCGer7o6mWin+bjAkK3xFBv3BJZWxCtfOLguUkTwmNjcCJJxf/ 9p3uUIl/IZUXk2coQD5kJR1n7zx9OAB7iMOLCkIs+C8hcPd4l5aGWcr7DHgycWpEjt8ix/uKOMi kCi/gQRJ/oxhaR10/NM0IrPaK+aq4oDW+3+5OOayB6ZsY4nKn6D51vY4r8jv5pWEMYku8KDMcsS cVdh8qZZ2Wo7RozsV7xHlkvUMCWLvwNpJy2GjWc8t2oIMbrLqsKcvWe+TygoxPrBdYncvNW0ZGv 0dD4jtRaaOsuNVb3ILwbiO2j04Q5z1uEOFHVA0VqZYGLdzz1cuQSzo79FeQs3BPcjuD3EQk7uO/ pkyVRU1pZFjESJYnJJyUwHrlDH5GalHwvw7AvRxa5e1XSKlCYKl9+y7rqq3OZN56C1ZbY9BsHGh KMr5bqrt6c0y5uV6p+hT5HvAGBdgGeHr+dBpDNNrnP+F0ZVNQYTMwgmpoH+XFpNB8ToNZW79jrl pKa7zAP5RE= X-Received: by 2002:a05:600c:64cf:b0:485:3f58:da6 with SMTP id 5b1f17b1804b1-485566cdc2dmr208104665e9.2.1773657755840; Mon, 16 Mar 2026 03:42:35 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 02/17] include/hw/core: Rename virtio_is_big_endian to internal_is_big_endian Date: Mon, 16 Mar 2026 10:42:15 +0000 Message-ID: <20260316104230.836962-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32c; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32c.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657766514154101 From: Martin Kr=C3=B6ning These functions are needed to do semihosting on CPUs that support runtime-configurable endiannes. This commit renames them and allows using them for semihosting, but makes sure to signal that these functions should not be used in other circumstances. Signed-off-by: Martin Kr=C3=B6ning Reviewed-by: Peter Maydell Message-id: 20260311-semihosting-cpu-tswap-v3-1-8e239575ec08@eonerc.rwth-aa= chen.de Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Peter Maydell --- hw/core/cpu-system.c | 6 +++--- hw/virtio/virtio.c | 2 +- include/hw/core/cpu.h | 4 ++-- include/hw/core/sysemu-cpu-ops.h | 6 +++--- target/arm/cpu.c | 4 ++-- target/ppc/cpu_init.c | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/hw/core/cpu-system.c b/hw/core/cpu-system.c index 4a91c3e8ec..273b9b7c22 100644 --- a/hw/core/cpu-system.c +++ b/hw/core/cpu-system.c @@ -127,10 +127,10 @@ int cpu_write_elf64_note(WriteCoreDumpFunction f, CPU= State *cpu, return (*cpu->cc->sysemu_ops->write_elf64_note)(f, cpu, cpuid, opaque); } =20 -bool cpu_virtio_is_big_endian(CPUState *cpu) +bool cpu_internal_is_big_endian(CPUState *cpu) { - if (cpu->cc->sysemu_ops->virtio_is_big_endian) { - return cpu->cc->sysemu_ops->virtio_is_big_endian(cpu); + if (cpu->cc->sysemu_ops->internal_is_big_endian) { + return cpu->cc->sysemu_ops->internal_is_big_endian(cpu); } return target_big_endian(); } diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 0ba734d0bc..8fcf6cfd0b 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -2323,7 +2323,7 @@ static enum virtio_device_endian virtio_default_endia= n(void) =20 static enum virtio_device_endian virtio_current_cpu_endian(void) { - if (cpu_virtio_is_big_endian(current_cpu)) { + if (cpu_internal_is_big_endian(current_cpu)) { return VIRTIO_DEVICE_ENDIAN_BIG; } else { return VIRTIO_DEVICE_ENDIAN_LITTLE; diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 7d2f4459d2..04e1f970ca 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -782,13 +782,13 @@ hwaddr cpu_get_phys_page_debug(CPUState *cpu, vaddr a= ddr); int cpu_asidx_from_attrs(CPUState *cpu, MemTxAttrs attrs); =20 /** - * cpu_virtio_is_big_endian: + * cpu_internal_is_big_endian: * @cpu: CPU =20 * Returns %true if a CPU which supports runtime configurable endianness * is currently big-endian. */ -bool cpu_virtio_is_big_endian(CPUState *cpu); +bool cpu_internal_is_big_endian(CPUState *cpu); =20 /** * cpu_has_work: diff --git a/include/hw/core/sysemu-cpu-ops.h b/include/hw/core/sysemu-cpu-= ops.h index 877892373f..7b2d2d2610 100644 --- a/include/hw/core/sysemu-cpu-ops.h +++ b/include/hw/core/sysemu-cpu-ops.h @@ -77,13 +77,13 @@ typedef struct SysemuCPUOps { int (*write_elf64_qemunote)(WriteCoreDumpFunction f, CPUState *cpu, DumpState *s); /** - * @virtio_is_big_endian: Callback to return %true if a CPU which supp= orts + * @internal_is_big_endian: Callback to return %true if a CPU which su= pports * runtime configurable endianness is currently big-endian. * Non-configurable CPUs can use the default implementation of this me= thod. * This method should not be used by any callers other than the pre-1.0 - * virtio devices. + * virtio devices and the semihosting interface. */ - bool (*virtio_is_big_endian)(CPUState *cpu); + bool (*internal_is_big_endian)(CPUState *cpu); =20 /** * @legacy_vmsd: Legacy state for migration. diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 7e3e84b4bb..98d09ac065 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -756,7 +756,7 @@ static void arm_cpu_set_irq(void *opaque, int irq, int = level) } } =20 -static bool arm_cpu_virtio_is_big_endian(CPUState *cs) +static bool arm_cpu_internal_is_big_endian(CPUState *cs) { ARMCPU *cpu =3D ARM_CPU(cs); CPUARMState *env =3D &cpu->env; @@ -2299,7 +2299,7 @@ static const struct SysemuCPUOps arm_sysemu_ops =3D { .asidx_from_attrs =3D arm_asidx_from_attrs, .write_elf32_note =3D arm_cpu_write_elf32_note, .write_elf64_note =3D arm_cpu_write_elf64_note, - .virtio_is_big_endian =3D arm_cpu_virtio_is_big_endian, + .internal_is_big_endian =3D arm_cpu_internal_is_big_endian, .legacy_vmsd =3D &vmstate_arm_cpu, }; #endif diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 3d932a5642..191f5726f6 100644 --- a/target/ppc/cpu_init.c +++ b/target/ppc/cpu_init.c @@ -7480,7 +7480,7 @@ static const struct SysemuCPUOps ppc_sysemu_ops =3D { .get_phys_page_debug =3D ppc_cpu_get_phys_page_debug, .write_elf32_note =3D ppc32_cpu_write_elf32_note, .write_elf64_note =3D ppc64_cpu_write_elf64_note, - .virtio_is_big_endian =3D ppc_cpu_is_big_endian, + .internal_is_big_endian =3D ppc_cpu_is_big_endian, .legacy_vmsd =3D &vmstate_ppc_cpu, }; #endif --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657787; cv=none; d=zohomail.com; s=zohoarc; b=GHFVTCEMTdB4qNivnX3nmGyo/wCea8lE0ZVjfnVzdjmWU+u0CHLVa4cCmdHXjVyQrG4aDiG/akFDP9goS4rZF+4y16cnDvW+v5/dkYs+6GcF5OeLCPjDuvpWqubmpsN3bWe6BNPE+/OiggKyxrnJnmTpiS8sdTwSvBfZzVPQ0Pk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657787; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=FyYo7TUCoOnQrJXCspYnQwSv39jJvi+iPpwNTD7BrMo=; b=lkIuj8HcM9i96tkhUeOCIZ/OWbT0HvFCmrjqJX2vE+0Zj3bAy8jqidj6l/ToY7U/iehpelEr4rSHjV2Qlbr1QmiCHcAC+ifXFZ11topOPrywlP+rCKAMsB8yqUGmX37cUILs27pR8jiVlNzvNYodDMiF+lUQ/RIMBDiapE2OUQ8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657787734611.9454586278189; Mon, 16 Mar 2026 03:43:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PG-0001CP-LE; Mon, 16 Mar 2026 06:42:42 -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 1w25PE-00018e-Rz for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:40 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PD-0003eT-A2 for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:40 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-4852e09e23dso37053975e9.0 for ; Mon, 16 Mar 2026 03:42:38 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657758; x=1774262558; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FyYo7TUCoOnQrJXCspYnQwSv39jJvi+iPpwNTD7BrMo=; b=x63SkMqYm8xTciIHz+Iw+33EBvjhDWBetnMyrRwOglGtci1tcUPFFPfb732rd9CGXZ /ePPgp0z0IpORrlYG8TDwuk/Cznm0bGzA4YkZOEnaeqJ0XdrM2+hQi/0YQWLOAjRh0Ub zXM5+y650azF9C+Nr9TaSUiznn7CKL+ooWLcJzXh/DmiG6FUpROlxb4hZOfhqqawcNws 7UMA5mRFLRdzlXfFJtDKQ74cORSibzhB7s6jRhA2z2GKpMpgpYDIWthgLkZ2NYqm+Yaf kioD71o7nSNiR8ICsbGL9fg2e/gSLimeDN6uP7KJ73dn3uPjlqy75do7ze1qOgr0THKL O2uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657758; x=1774262558; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=FyYo7TUCoOnQrJXCspYnQwSv39jJvi+iPpwNTD7BrMo=; b=j601oR9sC5SwAmH5kOp7MrYrZdBisMbYcezvGMyTGrp1CnT9um4mk34h9ULEI3dhFJ lPKw9Jpb03Gp8ja4RiUXL27mMXfjyBORtVFlCDAKLs0t7l+yjXFue07RsVGzuWc/d1EK 3IZE7KUHAEFTEuGSjPKVXk087o4DomYsVc9Op7cghdsqSjQF5h+hibvjuqW5re7ShDdt 0SozgoQRILER/+2dikzmv1eFT9DF4+Jmf0pcSc7nmt77LkoEqUWkbWJtDsDYTbBcTxp3 r2SxeMeFA+4yLxElqhurTwBcNdHUC2R3eqYI6W9Wd4FDLxz/nPgmGETwgaH4dd3CMKpc KRQg== X-Gm-Message-State: AOJu0Yx4azMHotn0DW83o3+TBDnjcpKPulfAeyhAtOcfCuKWKpnQh2r6 pwqwmqcqP3rEJv6UZGgfXBLGAfyWrq+hxOZBwp0vC/noMOeT4KgikXem2VCrUjRPHcSukyhxQ+w XwOQK X-Gm-Gg: ATEYQzzoRlueyU3Ebo3jrMJVMJhZo+zxBhXsRoz8wpiw5BYlk7jws9414xSWOVxH+Su WeFmfBhPZCUiiH1lk1+Vz3xO0SviIzp7ACwrp4QNGG40nZ0QXaVz3+wDJm/9bHglvG5jLGpMu1x M0+62l/hK6yvoIReeefGhb7CctNGUC7OWP5dSwCE/gWNwwlJE1UnDOFiWx2/n64/7bu6Bb7KlAw 1u2CGHvT/OA8u7/nQ6lk8dvpVMhfsbYfsMAonpy+q4mPfwRkjMa35WTZ4YEPgouQ0IAG5Fi+4WW T5Jbq7FNSUahMivY+z0qhqQtc63/cm/twzT/cVLf1qJgUnwcTHU9RuYfK09wTlV09VHFla1XQrh 1Qe3bO9PJwOy2maIubND89FtnfiOvcDOIbQybqP1vDMpdZSqaneWtUa/bufHDdAt0RRzZX5AVBM agZhQ3lwFg5H59USmh/LcSi4jLcS5sHfbARq4nBwbzQOxRT9RoRx3PYNW76it5z05DEYIfinXX7 6MEgtbyicg= X-Received: by 2002:a05:600c:a4b:b0:485:3e20:4013 with SMTP id 5b1f17b1804b1-48556705290mr204890565e9.28.1773657757609; Mon, 16 Mar 2026 03:42:37 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 03/17] include/exec: Provide the cpu_internal_tswap() functions Date: Mon, 16 Mar 2026 10:42:16 +0000 Message-ID: <20260316104230.836962-4-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32e; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32e.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657789534158500 From: Martin Kr=C3=B6ning These functions are needed to support semihosting on CPUs that support runtime-configurable endianness. They should not be used in other contexts. Signed-off-by: Martin Kr=C3=B6ning Message-id: 20260311-semihosting-cpu-tswap-v3-2-8e239575ec08@eonerc.rwth-aa= chen.de Reviewed-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Peter Maydell --- include/exec/tswap.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/include/exec/tswap.h b/include/exec/tswap.h index 9e94fa0021..17ac544454 100644 --- a/include/exec/tswap.h +++ b/include/exec/tswap.h @@ -10,6 +10,7 @@ =20 #include "qemu/bswap.h" #include "qemu/target-info.h" +#include "hw/core/cpu.h" =20 /* * If we're in target-specific code, we can hard-code the swapping @@ -72,4 +73,39 @@ static inline void tswap64s(uint64_t *s) } #endif =20 +/* + * If we're in semihosting code, have to swap depending on the currently + * configured endianness of the CPU. These functions should not be used in + * other contexts. + */ +#define cpu_internal_needs_bswap(cpu) \ + (HOST_BIG_ENDIAN !=3D cpu_internal_is_big_endian(cpu)) + +static inline uint16_t cpu_internal_tswap16(CPUState *cpu, uint16_t s) +{ + if (cpu_internal_needs_bswap(cpu)) { + return bswap16(s); + } else { + return s; + } +} + +static inline uint32_t cpu_internal_tswap32(CPUState *cpu, uint32_t s) +{ + if (cpu_internal_needs_bswap(cpu)) { + return bswap32(s); + } else { + return s; + } +} + +static inline uint64_t cpu_internal_tswap64(CPUState *cpu, uint64_t s) +{ + if (cpu_internal_needs_bswap(cpu)) { + return bswap64(s); + } else { + return s; + } +} + #endif /* TSWAP_H */ --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657772; cv=none; d=zohomail.com; s=zohoarc; b=dQv4ky7aM6E+dvPPzXsk2RiJB2ziVz0i6JqDZwIOA34pv3l8+QMkgs8YTNvm1CK7hTOwiD1+9ZpGPklffqq9myPcpL5Boi4JvjZdQFAMVyPOzYSUSb65FnYLJbhl3NCND5AnGK9ofmvM/RA9RvemYhde9ycSuPYE6n00J1frDWs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657772; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=RQHzS1NsLjZfI93Vn8iZrgH8czvIcxNNYqLBomxfJ2g=; b=NpQz9JBuuXCZKfFl5IEQFUfarEGRHBoGtgmm30Shhpsvu+WTOph9LC3BTcxe9xW3hP3avbD9kdIjs+bWDf6CO6mj8IcLPgAcsNhm8RMWvEyt6hBofYLgB2TtudH/tBmzIeHkNb3G7C3GcSx3EUnvZLtUCGHWajgE7gVIZv9CfA0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657772409921.3694346345796; Mon, 16 Mar 2026 03:42:52 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PH-0001Cg-3s; Mon, 16 Mar 2026 06:42:43 -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 1w25PF-0001BJ-UO for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:42 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PE-0003ee-8P for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:41 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4852fdb36a8so52850865e9.2 for ; Mon, 16 Mar 2026 03:42:39 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657759; x=1774262559; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=RQHzS1NsLjZfI93Vn8iZrgH8czvIcxNNYqLBomxfJ2g=; b=tQoglXjGyaNgHO91D4OVMoMCwwlAb/nsf75kQU1jEBP+D5zWtYSfm+V7lQvR6RXeuX zKjLc//wIGSVrLu33WAWYmBGzB7WHZmV6Pixr5qWemQsPLn/HDVAfSdTQ2XS+0jO2xST UWj9Uvg4i1tl1awrFrF5GntQvX1kfSU1P0noP0bP0ld7/+IVBqdv+U+5Q7rYuCr0NBdg g+z1jKCOZgvL3JHU23f/i3q7YHDj9B66PLi7Ny0JhIfWbgmz5nLN3vN/auhAh+Zplsv8 AEMvfskntl7OpJEcGRIuO4jhtuKT1O2/lVsJA3vDwUTVVxYdM0y0plc6MDEiIyLomiXg E4xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657759; x=1774262559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=RQHzS1NsLjZfI93Vn8iZrgH8czvIcxNNYqLBomxfJ2g=; b=bO6S1kBZlAERbJhb/YxfKD6ioAxNJf1izi3D/iucgBZzNR95jRBVcBFdVcrdG5sbeN g0FP7GnXgnaOSLDBuOjf1xbnQLe1xlYJQ78ALr+LGiXHEZBSfAsNsGJnBSHVDRS4Thr4 Jp7g6cvtjuZ3yHsAFgIEQ9ENWgyO6Fhkdx0pfVDN+fZjbwLr5NDo0EwWJc0fSwHSgBoh 9IsC1qmyWPC0ViAHbOaJ5v4ceJ+V5uEgvXTIhqXMjNSCTaSrKbN3S5n6QLT5e84RJSPh ypVOeaGUIzHG7lG3mJlVDT73KqYbmnqWTPCmeX+h1VPLDJvxY2S36AGCBgQYLnujvXFZ tbSg== X-Gm-Message-State: AOJu0Yy2PJOmxxvGw+9Mw4vQwQnkY7vg71YtVF7JU9kJOFl3iTtvEHH1 j0nfcKkmxTiDpZjHC3LaWflzpngPQbdJ3vntSS04C45sAV7JkJz4Y3SUcGZL1wwlDYOSEIUlcYt sfz96 X-Gm-Gg: ATEYQzzZFXwf37SdU5GCcK56qENmoaRr0cl6KroyiXkdduXtrqwiQiRmsYoyMMCGqRZ n3uufycxoeHHmxMkl2pZ4Is4/ItQPWXhcANjU6d6oZpnOCTNj5pdXNH23kUO+ohYWSpsgpCim3U 9UZitjXo2B+qWHWpj58SPIYW3ufvgSk1g/Bq8Q50eJz+UEAl8qPZy0x1N9RQ3L3lXAgov1rUCxH DDJIEGVWJOrCERmRegvTWvqXWcDBYUhP4AjL4ZzpquC5CYu45CpktTjQVqep7DpkaGZlP06DJzo b8suc0p+YnyCtVaqAvqgnSY+fC/iyucACC+ju38iPsM0VYEQW6nR3iNT2P6wdw+nGrmUs1Oq2Wb MreeP2OZbPWRECZ0CVg5ML/fcShIvtIT873GMOQWOaJYRHf5dxrUo38qDcU08ogcg5ZAm0BoU5g 5CYsXM1jyMfJWlG/Y9hYDEHw6PaM56yfAIyl49l70Gpa7Q/R5l9vlHqowF6nKCOZcV6WjYgO5KO cOJFzEq5TU= X-Received: by 2002:a05:600c:c4ac:b0:485:33ad:3c9f with SMTP id 5b1f17b1804b1-4855670c164mr205262425e9.25.1773657758483; Mon, 16 Mar 2026 03:42:38 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 04/17] semihosting/uaccess: Use the cpu_internal_tswap() functions Date: Mon, 16 Mar 2026 10:42:17 +0000 Message-ID: <20260316104230.836962-5-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657774592154100 From: Martin Kr=C3=B6ning The semihosting ABI [1] states: > Multi-byte values in memory must be formatted as pure little-endian or pu= re > big-endian to match the endianness mapping configuration of the processor. This commits ensures that semihosting data is properly byte-swapped if the guest's CPU is currently in a different runtime-configurable endianness than the host's CPU. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3258 Buglink: https://github.com/taiki-e/semihosting/issues/18 [1]: https://github.com/ARM-software/abi-aa/blob/2025Q1/semihosting/semihos= ting.rst#the-semihosting-interface Signed-off-by: Martin Kr=C3=B6ning Reviewed-by: Peter Maydell Message-id: 20260311-semihosting-cpu-tswap-v3-3-8e239575ec08@eonerc.rwth-aa= chen.de Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Peter Maydell --- include/semihosting/uaccess.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/semihosting/uaccess.h b/include/semihosting/uaccess.h index 2093a49827..0911e3b31d 100644 --- a/include/semihosting/uaccess.h +++ b/include/semihosting/uaccess.h @@ -28,7 +28,7 @@ ({ uint64_t val_ =3D 0; \ int ret_ =3D cpu_memory_rw_debug(env_cpu(env), (addr), \ &val_, sizeof(val_), 0); \ - (val) =3D tswap64(val_); ret_; }) + (val) =3D cpu_internal_tswap64(cs, val_); ret_; }) =20 /** * get_user_u32: @@ -39,7 +39,7 @@ ({ uint32_t val_ =3D 0; \ int ret_ =3D cpu_memory_rw_debug(env_cpu(env), (addr), \ &val_, sizeof(val_), 0); \ - (val) =3D tswap32(val_); ret_; }) + (val) =3D cpu_internal_tswap32(cs, val_); ret_; }) =20 /** * get_user_u8: @@ -65,7 +65,7 @@ * Returns: 0 on success, -1 on error. */ #define put_user_u64(val, addr) \ - ({ uint64_t val_ =3D tswap64(val); \ + ({ uint64_t val_ =3D cpu_internal_tswap64(cs, val); \ cpu_memory_rw_debug(env_cpu(env), (addr), &val_, sizeof(val_), 1); = }) =20 /** @@ -74,7 +74,7 @@ * Returns: 0 on success, -1 on error. */ #define put_user_u32(val, addr) \ - ({ uint32_t val_ =3D tswap32(val); \ + ({ uint32_t val_ =3D cpu_internal_tswap32(cs, val); \ cpu_memory_rw_debug(env_cpu(env), (addr), &val_, sizeof(val_), 1); = }) =20 /** --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657850; cv=none; d=zohomail.com; s=zohoarc; b=R9tR1Bo2hVY6GjWUiy38aNBgqZK+8g+Cupj3hKamnYmsu/whrLoDMnGy6UeJZcWbtWFtSxrLGXiFVolsBX8xVIcZMje3fr07pJF5sFDo+VUwRY1yh1xb0m/Vz3BIr8asF5xYqu+xplpWUUOcPtfxehUzFlpXniq+vys3yWmDQxo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657850; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=t2VAKlcXigTm+BUWZzwd5O/HUANdAEJt8p49Wmv76Ww=; b=VhB45lniDUd/B7gidiNETIoxXWBuFPz/kMDlM/VnxYm/rp99O3j5HEx82m8wmfSvbPHvyQLvVP939yeQgieyz2mONS5Hjv8uGPZoFUNnmq1yQAa55KzLeiVeK5JRK+AZrynSH9MhcuMfBdIQAmwN+zqserSC15mwxrYJ1USrkgk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17736578500142.8471150404860737; Mon, 16 Mar 2026 03:44:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PI-0001Gs-Li; Mon, 16 Mar 2026 06:42:44 -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 1w25PG-0001CI-Hl for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:42 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PE-0003en-Vx for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:42 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-48557c8ad47so24407235e9.0 for ; Mon, 16 Mar 2026 03:42:40 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657759; x=1774262559; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=t2VAKlcXigTm+BUWZzwd5O/HUANdAEJt8p49Wmv76Ww=; b=jdkEqeW9aj8n/R5aycTfCQxmSGcTLXdYSL5JwB9QRTW/XS+EzWypCW+37M0pIZa+t+ teYr7D5HAThKYErDj3F5a4nzV94L56k4bKalMnynWUN4P9rH5W7ZQGyw6s/apXWmOyw2 J/o1ScjkFVTjImlfJ10BqrfkDPh/tCePG9f6UAJhc41/5HwrYdB8+I/JUlHm7aNTmDGp INBkKJrCqLpAl8/1mC2lN1zBM2FmMmgi0RnkR8Lo+/04730rToUdCjJKffEGS6oqYrmt h86wY21pZ8ZRMnlLs7ef6KsZE0m5BJX66g8uaugkPQLmYg7eQb07ulw0oUg3dUkeXkUx FbXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657759; x=1774262559; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=t2VAKlcXigTm+BUWZzwd5O/HUANdAEJt8p49Wmv76Ww=; b=R4VfzzHahGoEs6RwESuDaxm6KFMQyDaBvcn4MSakm3vmYNwTtAtMV2LXjMocb7/F2p Wfg3gd+NkIAQmfeqXlQHOwhw0JiqupT/9FgLr3ky2gcn/aqz5M5pg1VLg4x64d+fyzXZ FBHTV5nEqFJWNRz5ztx10P+/ur9y5FFjbYY8RxUuLZleD4edjp+OMjq4ybSoWZhaxmAm IGYo1ZvhY37sM8Ein6g306TascKu7NUYov2JqWPQeS0ODkDqu/juKCLy+eiBh84z45K7 BnPl3+nQK8ZAzGWTteiiEEvLE1C3SinlkBmpjDmpYsyT6e2mL5sZoXowknpnqOhGpLD4 Cmmw== X-Gm-Message-State: AOJu0Yy/T1rFWHVvvADyBs0i2vcO6SuGNG71JWDxuL5Ayvih9HbtR3mp u7pVYaYKKGQhZqIZBNlhEPbvdVVRxSoCjuQlpMTSS8uHXq1EAg2eWGT1C1/GCPJe6hzR+caYYiq Ui+lD X-Gm-Gg: ATEYQzzcS8D1VsPsx4V4v32hskZoywAkXdnW5Nzm3PirJU2oEJ+Cofe89etWrGCWrPG NizwQi46IeNdRWeDx8RRpGEuwMlyTWh6+bc1H0O/lReemasb6G1c8gR9QIEbK+RlXEi3skzCxjG 6YDkkgQnQz0LeIYrA5K/JtD1Wuv9th5troOBwl+wdybWvJdL+QRJGt3nIFbj51KfsOVWOPR26pT ejSykR/hB3VjqhvKSqG7LXJluBWyD6Zuk1/xEnSZ0tetsfBfjwsI/Nn+rXu46g/B3lsSnKV0/CL NooplVVHdpbpjR9/5l+b84tUR/4vI7bCIZx7SID2KkvK96xefh9byzcuQlXOSPb79Xdkww1DLKB Ey5Ncr/9b6BcRKHzaTVc+u/6boeJBOVc0Waq31/wMaQLaSx3VCKkveIJOcNU70hXXU1OwaK2u70 x/pN/noicda2ezRFtsG+2foMmU0NettbDz1lz5Iz2DDg5zp9JrSczm54aKDX6JcMuuW3Kpa/P45 w2lTIWxEJA= X-Received: by 2002:a05:600c:1f8b:b0:485:3c66:e21d with SMTP id 5b1f17b1804b1-485566d2fa1mr217252905e9.2.1773657759513; Mon, 16 Mar 2026 03:42:39 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 05/17] hw/dma/pl080: Handle bogus swidth and dwidth in transfers Date: Mon, 16 Mar 2026 10:42:18 +0000 Message-ID: <20260316104230.836962-6-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::32c; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32c.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657851695154100 Content-Type: text/plain; charset="utf-8" The PL080 TRM states that the DWidth and SWidth fields of the channel control registers can only validly specify widths up to 32 bits (i.e. values from 0 to 2) and all other values are reserved. Currently we don't check this, so if the guest specifies an invalid value we will transfer more data into our local 'buff[]' array than it can hold. Check the widths; since the TRM doesn't clearly specify any behaviour for what to do on invalid values, we choose to log them and then ignore the channel for transfers. Cc: qemu-stable@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3203 Reviewed-by: Jim MacArthur Signed-off-by: Peter Maydell Message-id: 20260306152140.2191653-1-peter.maydell@linaro.org --- hw/dma/pl080.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c index 3f8acb03de..6262c3f3df 100644 --- a/hw/dma/pl080.c +++ b/hw/dma/pl080.c @@ -164,6 +164,21 @@ again: destination widths are different. */ swidth =3D 1 << ((ch->ctrl >> 18) & 7); dwidth =3D 1 << ((ch->ctrl >> 21) & 7); + + /* Only widths of 1, 2 or 4 are valid */ + if (swidth > 4) { + qemu_log_mask(LOG_GUEST_ERROR, + "pl080: channel %d: invalid SWidth %d\n", + c, extract32(ch->ctrl, 18, 3)); + continue; + } + if (dwidth > 4) { + qemu_log_mask(LOG_GUEST_ERROR, + "pl080: channel %d: invalid DWidth %d\n", + c, extract32(ch->ctrl, 21, 3)); + continue; + } + for (n =3D 0; n < dwidth; n+=3D swidth) { address_space_read(&s->downstream_as, ch->src, MEMTXATTRS_UNSPECIFIED, buff + n, swidt= h); --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657802; cv=none; d=zohomail.com; s=zohoarc; b=WKzkrZ6nGEUpcM+4gNNpE4JeNy6Th7FDyq2g/dSd65mQEjkJrscYZdbEO39WW9hhMa0NLztqugJd39zWZAyDC9RVx42xFhc6Lj6aPZRXE1Am9IoNvkU5NXJq2BWA+3dEXRc3tB6U+ySPdobCNsvFflg1zsuWi70CH/NJx4N1Prw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657802; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=QivXNglU3D5z845k4K3akybnT7x3kG0DcKlXXbcSIQU=; b=I7fhredMZO4ZucvD+NQhag5l9wszKitcAPtRb5I9Jq31lAv9wBhTJoaxnF/WxBUyLSBg0ITyvldSwqQX/ju+9Xo0UKNufdsXesV3cEnpgA9q5T00R736eV6lIr3K7l30gJz++ynUtRzI0LFX4esFOI2Is6Fre3Yw4307vP0ApUo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657802440693.4259270221457; Mon, 16 Mar 2026 03:43:22 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PJ-0001Jg-RM; Mon, 16 Mar 2026 06:42:45 -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 1w25PH-0001D7-Jx for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:43 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PG-0003ey-2O for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:43 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4853e1ce427so50330935e9.3 for ; Mon, 16 Mar 2026 03:42:41 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657760; x=1774262560; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=QivXNglU3D5z845k4K3akybnT7x3kG0DcKlXXbcSIQU=; b=mmZl5ZU+Ba4BTveLi2Np/V3PcorntvD2Zj9CkBWi8QED6UZ+fFYfUea0tRgnO2GkHM OASJ/Ec1E0mH7niMh9qdwrQ4e/QF0thqmqJSmMDB+HmPSi4CimWl7Ms1fICfd5m28G/O 41sLEz0g+Odd8ltr1fQL7yUJYk9dL5UrejI8r9CIzRl/m2E8ue0M34964Twhx9Esa6JT v/w4nU1Dw6wrjJeYXjhbsUG7JkeYNu+G999cAFVEKhuMavn952/mIgHn8q82j+DQNPh8 pKoMEb6JbwTLt0xH7b+zDYm5h1u1yu66ravQI37dlNogRbLWvgZCoRFRdH9mnrLYx5bT Q4RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657760; x=1774262560; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=QivXNglU3D5z845k4K3akybnT7x3kG0DcKlXXbcSIQU=; b=kJmgeO4a2H2siOKjTwvWcjx/uxpjkT4q/a4/SWmco+Gf2gReBcNTLkw7NxqYlIxLs5 aGWM+x1ziBR++G+AUex7mIEcNWRkuoWJOBXZY/ELMhrmjCBXbH79Eh1mXuY+w00P6yIf kQJcChJug74iDapWvWDcYNYqf2xxyolKjwi5In1xn4a+5YlN8bYTfgq0zITRbveb1iTe sKeB97wwUhNJ3LITkh1+2Q86cdEpQCxk6iUn9GoMHOSZD6+fbm66pN+iH74eAWYqfL7t 0NySteTp9R9UyWy2MkLnD3QRIPDG8jPmH73pffP7//epVmnwtpL1EKVMj0IM1qaJYp/L fiPQ== X-Gm-Message-State: AOJu0YxKLE4sPZV2xU1NDOvReLyxoo1CpSMTMjkFfn1005QpBBdB9Gnz VkzavVwVOmol7jMrXX/79KS85BPqfL2no2Cgn1wG+5droIeDaxBewNAcIgko4hRw3qDxvdwpr/Z TACGY X-Gm-Gg: ATEYQzyzMHIVg39diffgbngMeRgYnMUiv975gl8gNFjOxxQYSu7aZdG1rXyNNpC1U6q iIo8X6bvrQaPNoVZ1vjQwYqcdXtZmRks0zFePu4e9cATS+VmfZBuIUOAU8P1A6eK7IXSOU0k4/L Hro6xYthTJNu1/J9/BJ/YtWr0krZ2DLG2h0h7qpawunnR9YMHNgoIHK6oa6ri2Q1MbZ/nRcsPV1 vLVmXXptGlhRxGjsIK5FwYdMCRakA2IqQhE4MCkC+FiSLOutLJrax5QUVf1ytTXbuq9Uv3+oRcd 8svUEpkzn1X1I8OhrYYRpZuMeal+w+HpT3cGPshV5RuCg7PK+YPxst0ixJlB876H2YYmsxDvtmv nYNbXzHIw6WunpmEKM+CcoJ3z+kRl9BvHIOOMQShTKuVODL69IgU0Gy5gnc0qVJ3P+5xrjYKlls x2iY0P5oOW3Ikk12IvXdNlAie4A3WraySJwRPG+vFdVKsJ7vVubUXejAdu4hND5N2O1Z7IkxZTG tON6og= X-Received: by 2002:a05:600d:6445:10b0:485:35a4:939c with SMTP id 5b1f17b1804b1-4855670c0f4mr148884485e9.29.1773657760414; Mon, 16 Mar 2026 03:42:40 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 06/17] hw/dma/pl080: Update interrupts after pl080_run() Date: Mon, 16 Mar 2026 10:42:19 +0000 Message-ID: <20260316104230.836962-7-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::329; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657805099154100 Content-Type: text/plain; charset="utf-8" From: Tao Ding In the codepath in pl080_write() where we run the DMA engine after a change in the channel configuration register, we were missing a pl080_update() call, which meant that we weren't raising any interrupts generated by that DMA transfer. A repro case for this is to program the PL080 and then check the interrupt status by looking at the PL190 status register, since the PL080 interrupt output is connected to input 17 of the PL190. We look at the register value via the QEMU monitor: Reproducer ./qemu-system-arm -M versatilepb -m 128M -nographic -S \ -device loader,addr=3D0x00000000,data=3D0x11223344,data-len=3D4 \ -device loader,addr=3D0x00001000,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x10130030,data=3D0x00000001,data-len=3D4 \ -device loader,addr=3D0x10130100,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x10130104,data=3D0x00001000,data-len=3D4 \ -device loader,addr=3D0x10130108,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x1013010C,data=3D0x9e4bf001,data-len=3D4 \ -device loader,addr=3D0x10130110,data=3D0x0000c001,data-len=3D4 Qemu monitor (qemu) xp /1wx 0x10140008 10140008: 0x00000000 The correct result after this fix: (qemu) xp /1wx 0x10140008 10140008: 0x00020000 Cc: qemu-stable@nongnu.org Signed-off-by: Tao Ding Message-id: 7584486ba62bc6d767c0d132dc843067f8c5efff.1773301927.git.dingtao= 0430@163.com Reviewed-by: Peter Maydell [PMM: Adjusted commit message] Signed-off-by: Peter Maydell --- hw/dma/pl080.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c index 6262c3f3df..c6dc5c8efa 100644 --- a/hw/dma/pl080.c +++ b/hw/dma/pl080.c @@ -227,6 +227,7 @@ again: if (--s->running) s->running =3D 1; } + pl080_update(s); } =20 static uint64_t pl080_read(void *opaque, hwaddr offset, --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657910; cv=none; d=zohomail.com; s=zohoarc; b=gk03TZA6eXvU5tXi8GNPkv6S9gvBu/xZX14OJPDQPx6AlmnH1xNQ15zCZgidBpTTwQUH6Fp4/h1LE4BWfyGEOLlObUEEGSqpa/ueJHULofWfogi65qsZou9o12/QOWfvOavfN23+LZNr37JAv77ODJlZBuClckTOJbmXAjlx0m0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657910; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=kelPWOF6pmkgPgzJacHMTl6GsWcX8RKLhqs0Nt6o2AY=; b=cKQa1yBrLxM2s7W6xY3LmJudfKmr0mBTsIdfApgGwb7ilLQM/vKVLh+vTyFfkxbNteDqN6QGFL5xCnt8rUncrDYCX4eY4mkPBpg6KQE6LQ/u5KzkyEbuEMVqvYW7nDhB1qK23DX7zqPimKuRR3eCW2g79HvXShjMSGBbRIQKZ/w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657910808862.790537159133; Mon, 16 Mar 2026 03:45:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PK-0001Nk-UV; Mon, 16 Mar 2026 06:42:46 -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 1w25PJ-0001IO-9k for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:45 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PH-0003fH-Mz for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:45 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4852e9ca034so40189735e9.2 for ; Mon, 16 Mar 2026 03:42:43 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657761; x=1774262561; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kelPWOF6pmkgPgzJacHMTl6GsWcX8RKLhqs0Nt6o2AY=; b=gtN49BIUzGpBU48ZbpOeNZja+1T6hlzcxMt+OzJWsknktcQlYnMjaCaV6vSATYoLzw e3Ig3YEmrTyP2UYtASzA0TY4qNBwYKMuolll6AQ5rHKr597v3n1gJO16RPhNANGLYwaX NT5ib5iBtfeBy1iiNXutxDFJQD5/oLp4MhrjO+kM/Xr9BA3P6+OUO6KWjVFTTGPyi3nN ilYKBF1PJ3xL0U3yU/gbW218RaKUyNt7Y4psJ1PI6T4Q2qwOpIX5YCGg8R6ZIUYhL1C0 w9T4eMgMFwTqhYhzJMivgDDzzhdl749xQIuz837i8fIhrYT0uDMyWRIIyfkEKqmiiLFb FpHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657761; x=1774262561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=kelPWOF6pmkgPgzJacHMTl6GsWcX8RKLhqs0Nt6o2AY=; b=pOLacuaKkMUyq2T8aq2XYBhV3vWel0solLCqw5lRfYZBhOc2hy9fhBC/Uc+7BkMvxO Xqs8GTIx4oVTkNq7ADAHc2i6XYezwZqEYFooVzud8wTVuIG3ob36F++ZR8RvFQdL3IHD q1VH8x3Z2cvAZ8xwP4rMkNZ9JG28MlW8tdjKCRlWfqCfsi28FAfRSAbAESniOyrusSqr wgtwlp/UhNJbAY+bk+eHGryTwnraZ1agn5I4ScdnnCuOkFKj97pJmerq8MhVD6SSo47i dKXY+aKVEIt21UfwkzWBddiYvg43lg48EqKo3vL1uTFFVZHD6qaFwGbKyTKwwNFVPnPl TuCw== X-Gm-Message-State: AOJu0YyEicUxeFZR8WK39YACN3bUbmsjSJksSyeo8Trn3Bav7tpsdr4S 2E3jbFFt6mO6wKvIcIBummQp0LKJquh1PmVkLPFqKVR68LfINp5ZmwHVcflBZ/Uoz13ZZF8bw05 /OsBw X-Gm-Gg: ATEYQzwujHKSciGQPAud8G9pfW6Sbld1vofHDuFJugMzZJdEBjNSX/Q1HKTCody4Hv/ QDUgq69sDWH9kofG4e3c7wb5dNFn2alKPFT1S1bb1wMktHkSGdpOiu/1cPhzLKRsYGggXujUTxE /8smekpb6qGpvI7PmoDlHtl010MkycnF8Q6uGv5N9OXkCqhrFu92tD+35EA8gtkb7FNVRYrOoMC byi2ZlvinUVa4EdOgSgRnJrz9H+GVdlB/AJAR7JJKPOzGK4BVWEF7J40oqb18pgMyQu7qpa8euX 20t+E0nQQ4Oyw/2XDq6OjNKd0WaZUD2EUCfHRE7VUxcDXeD671mnqeEELnZ+7wHjMgxVjEetJ/p nZixBhIFoxraii0nJOpi4KJsjVL2BUV9SFdPVQDq6zwZ0ZlS7mMr7uxAQvrwgaOhPHbMMPR+qxd r0VVxqQS71FT0n7hkteRK6zDYynC5QwBVpSdAzmsfSo21CwdZsniTyZlr0Swev8hQQ8hRmZotiT zvGuNn0X4I= X-Received: by 2002:a05:600c:3b04:b0:485:3c7f:527e with SMTP id 5b1f17b1804b1-485566dd02emr189177655e9.15.1773657761308; Mon, 16 Mar 2026 03:42:41 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 07/17] hw/dma/pl080: Ignore bottom 2 bits of LLI register Date: Mon, 16 Mar 2026 10:42:20 +0000 Message-ID: <20260316104230.836962-8-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657912067158500 Content-Type: text/plain; charset="utf-8" From: Tao Ding The PL080 channel LLI (linked list item) register has bits [31:2] of the address of the next LLI in bits [31:2], with bit [1] reserved and bits [0] the AHB master select. We were incorrectly using the whole register value as the address, which meant that if the guest programmed something into the AHB master select bit we would use an incorrect address, and read incorrect data from memory. The following reproducer creates a setup which has bit 0 set in an LLI value: Configuration ../configure --target-list=3Darm-softmmu --enable-debug Reproducer ./qemu-system-arm -M versatilepb -m 128M -nographic -S \ -device loader,addr=3D0x00002000,data=3D0x00000004,data-len=3D4 \ -device loader,addr=3D0x00002004,data=3D0x00001004,data-len=3D4 \ -device loader,addr=3D0x00002008,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x0000200c,data=3D0x9e4bf001,data-len=3D4 \ -device loader,addr=3D0x00000000,data=3D0x44332211,data-len=3D4 \ -device loader,addr=3D0x00000004,data=3D0x88776655,data-len=3D4 \ -device loader,addr=3D0x00001000,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x00001004,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x10130030,data=3D0x00000001,data-len=3D4 \ -device loader,addr=3D0x10130100,data=3D0x00000000,data-len=3D4 \ -device loader,addr=3D0x10130104,data=3D0x00001000,data-len=3D4 \ -device loader,addr=3D0x10130108,data=3D0x00002001,data-len=3D4 \ -device loader,addr=3D0x1013010C,data=3D0x1e4bf001,data-len=3D4 \ -device loader,addr=3D0x10130110,data=3D0x0000c001,data-len=3D4 The correct result with this bug fix: (qemu) xp /1wx 0x00001000 00001000: 0x44332211 (qemu) xp /1wx 0x00001004 00001004: 0x88776655 Cc: qemu-stable@nongnu.org Signed-off-by: Tao Ding [PMM: Adjusted commit message] Reviewed-by: Peter Maydell Message-id: cb35c1b622674da7a2b70691402132f691933f2c.1773301927.git.dingtao= 0430@163.com Signed-off-by: Peter Maydell --- hw/dma/pl080.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c index c6dc5c8efa..627ccbbd81 100644 --- a/hw/dma/pl080.c +++ b/hw/dma/pl080.c @@ -102,6 +102,7 @@ static void pl080_run(PL080State *s) int size; uint8_t buff[4]; uint32_t req; + uint32_t next_lli; =20 s->tc_mask =3D 0; for (c =3D 0; c < s->nchannels; c++) { @@ -198,21 +199,22 @@ again: ch->ctrl =3D (ch->ctrl & 0xfffff000) | size; if (size =3D=3D 0) { /* Transfer complete. */ - if (ch->lli) { + next_lli =3D (ch->lli & ~3); + if (next_lli) { ch->src =3D address_space_ldl_le(&s->downstream_as, - ch->lli, + next_lli, MEMTXATTRS_UNSPECIFIED, NULL); ch->dest =3D address_space_ldl_le(&s->downstream_as, - ch->lli + 4, + next_lli + 4, MEMTXATTRS_UNSPECIFIED, NULL); ch->ctrl =3D address_space_ldl_le(&s->downstream_as, - ch->lli + 12, + next_lli + 12, MEMTXATTRS_UNSPECIFIED, NULL); ch->lli =3D address_space_ldl_le(&s->downstream_as, - ch->lli + 8, + next_lli + 8, MEMTXATTRS_UNSPECIFIED, NULL); } else { --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657923; cv=none; d=zohomail.com; s=zohoarc; b=OFufl6TQ0jvROVD+ydbbKXV2YL+HYijb2skg76uAmxm1h1yImK6/ARok33V2ogr6fAqRUQ/zGHsQNGhZa7kX1GD82rmlOtwQHOIpGpXvwpAnUzDPDNuZHyKcXXgBxkpGrWakm5lMXzF0fAO3whJeajl7MdvoujfdZTXxqrhvnmA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657923; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=/FWSfH5tKcpm2wUddelCmhQ+B0HS9LSM614NqsUStrI=; b=cWXn001oS9ZJQAKPscnCdB6P5vAgol2S4lxorgTUgpRXDe2yxP5QmqaPoS4LW+K540lv4gabIpa6ALoxapf2OLfoagCFN9A3iKhZwFqKAoaIeQGSwoQO1CzV4Fe/M2fGv2F0QjsmU5VDK1/E8HjyyLr+gafNLdbAx27TfE2zQlE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657923401453.19858498239125; Mon, 16 Mar 2026 03:45:23 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PL-0001OQ-KO; Mon, 16 Mar 2026 06:42:47 -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 1w25PJ-0001Ij-Ev for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:45 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PI-0003fQ-1J for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:45 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-43b3cfc38edso1719383f8f.3 for ; Mon, 16 Mar 2026 03:42:43 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657762; x=1774262562; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=/FWSfH5tKcpm2wUddelCmhQ+B0HS9LSM614NqsUStrI=; b=itucuy9YeglAyvoZ2tCfwXgxb6E3906KYCYcKEdhMBiMAZpZ1WVYrxLyJRsqNJLWV1 UPjlWE/RlSX6PBxX4yUtnP1zGJbNs2jQOAzN/OW23d1pEzdTumEnWA0XLGMCX8FADA/E EJj2dxND9x+K16pf0S9Ahf+xJDDrhUqwpZKlOsZ4Q+APXTbUL0acIf0u368IixjS/Lhy Z1kb00fQet7arawPia1VyEOGseSH0oJV9PDBmdqsCSI4itL1+0FoUHY1/VqFCt9UUH5Y JrwmbdH8Kwp7GTSlZrngDMczjSNHV2J8dStzy44L4P1n5pk862xPIm5/6cU7eNp8k911 qAYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657762; x=1774262562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/FWSfH5tKcpm2wUddelCmhQ+B0HS9LSM614NqsUStrI=; b=hludxBy3sWK/mo/2Q47rOIyFd4stPplDI5GdXG8jkGoJRH6Fp7TKRMmNHCrc3NCLw6 vXEGGQuwDU2q5j3OsOTeI/lDcDtiyCrtoioqu9F9lXY68eT7ZnFlJH+nM9JREOg7lwfD dgaZfK96+10CELnhmIz1Vk/ZZWwiTRs0A46d6PhKQKZ9dVNxr6KsuAtJ9UI0BFPJpBpa WK3zGMQPLRwcsOs9oQpmmNfwpuaRs/7N9Ff/Re1XUhAkfHqXrW2963wIRnXL4c4q4Cy3 jD0SP1a+2aSWYzJ+qSeJ1xdxBfdHQPkvbi2NtThR0aZ/xqeNOllYQDlr6tODz6OGzWtW XI9A== X-Gm-Message-State: AOJu0Yyb2WvqwEdZ65tJAoxeLuRWoZbpe2KD22fwafQ+bxPCpg6tfsvB ciTuhmOSLRb5KxieS9YrXMBT8PW449iobEl+EYe3fwk2i313PJESVCiEl31+Kwesgt3HWGOISe+ JJWxq X-Gm-Gg: ATEYQzzaeG2LAJEho13BVAYZkPuZajDUIgk6K9IWokTW+p+MRUzEbT7B6Ga6mg6TF3g S8b4ClJQcvAK0sloF19vX6Mki+J+I7Vex/AiCOpIPvMRZ8lGihoZpuqH6QFYZ+hR8IAw9LPL81I YKG8YuqH0m/EcVE2Uq/W6/KMMW+8JaThM8GSveayc8A1we+29ROZGZvVU7BkKyOU9Z1UBD9hm56 i8yKMx1D1T4BW06L7ivJ+pTnG6B73VhexiKnEcsrnwYuAk0EIvjaRSaYfZ1g8vnT/AN5jgU4slF YJRPjUr7OwXv6Z97F8kTU1T3lPZkr0+djahWbeedKhYQLfC6XcC6+FNVccX1uLSYVLi8tg+QOhY PoVNkglhzH/G4ksU/S/s4cTpycGcKjI0853Zf71QAZMfbf44HjPiE3B+uVQgM0eSty5B0JkKnoL g9AQ6/WGCVGLwZS35qvA1s+i+1qxPcjzd5yRKaO66PmyXOIxyN+s37psMwxdk5B6GgUH/kDywr2 GBLNn/0GAQ= X-Received: by 2002:a05:600c:a09:b0:483:9139:4c1d with SMTP id 5b1f17b1804b1-485566e1a4cmr228163565e9.14.1773657762208; Mon, 16 Mar 2026 03:42:42 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 08/17] MAINTAINERS: Remove Hannes Reinecke Date: Mon, 16 Mar 2026 10:42:21 +0000 Message-ID: <20260316104230.836962-9-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::433; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x433.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657926811154100 Content-Type: text/plain; charset="utf-8" Hannes Reinecke doesn't wish to be listed in MAINTAINERS any more; remove his email from the relevant sections. As 'megasas' no longer has any listed maintainers, move it to "Orphan" status. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-2-peter.maydell@linaro.org --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 247799c817..e691ac2662 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2636,9 +2636,8 @@ F: include/block/ufs.h F: tests/qtest/ufs-test.c =20 megasas -M: Hannes Reinecke L: qemu-block@nongnu.org -S: Supported +S: Orphan F: hw/scsi/megasas.c F: hw/scsi/mfi.h F: tests/qtest/megasas-test.c --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657911; cv=none; d=zohomail.com; s=zohoarc; b=fsPyWzBzgPMPWC2m9xpPmpJwwbY+4GgO8z3KOw5NitRanjUzFFOWIU42HC5kyhIPp6uW613WFW6KHiCc1iFkDQFaeZD8b50ySc+wBj1Q+JmCuhhEVOchj9k/+LJBvmy9J44GA0NEh5pERcl8p/sE6PhC84Z/FBrv2CC4UOXz3Cw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657911; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=2BAgs/8niYiRdvoircoJp/jBBqaaKqCs7j42CNOUdcU=; b=XPsr7GtXOKTL4JXrJv+ASRvJ/kiifhKKHK1sau7j/eXlZ3GbGtpE06O1BoA+R+V9Pq6SC24G5uQjzBY0KUwt+K1dSg0Ysm4Kw5OwK8B9XEPqXVdvCM0yUJbvoY/k8nH6fKJdtk5PeH+MYyfLKid9xqkFwt/lwl/wk+Rjv59A/QM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657911408647.3970410836346; Mon, 16 Mar 2026 03:45:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PM-0001SN-Af; Mon, 16 Mar 2026 06:42:48 -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 1w25PL-0001OL-9f for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:47 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PJ-0003fl-MR for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:47 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4838c15e3cbso38930305e9.3 for ; Mon, 16 Mar 2026 03:42:45 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657764; x=1774262564; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=2BAgs/8niYiRdvoircoJp/jBBqaaKqCs7j42CNOUdcU=; b=eJvFOyTZTTsSsepfY0bLO0jz5S3Tn3h2g17bMnTkZpHA/6h8pwVqCGl7II/V914LJz ibODDGrnYR6hA4FHBVKVYsJg280cZkuJN0qxkteua53jhvMpiZDxDUblf0Nt+FNb394k 2QZbpKpB07dKtPikUsehTWmxJKl+Kd903p7WoAUQkzpL9jNAAFTDysM6SWD0uc7OFFzG LECEALRnapfQcBnRjcL2jjCrff0Ky9H1nkP9aXhKFCcKZuL2S7Mm3KZ3rbxieUBxDHXP lQ44Wz50rpcnHuqa4BcXbhnHj4a2TH8XUcjAkAC8AKdU4MVGVC21yrBYnpcvU+Ij/Dnp n5PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657764; x=1774262564; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=2BAgs/8niYiRdvoircoJp/jBBqaaKqCs7j42CNOUdcU=; b=lq62CUQREjadcgD31PTQuLYGf45tsvydTN6JxgGUOlLv9N3WwUdEPL0BuMy0MIp8fY G2ortWMC7TMtvsvSO5Z01f9m1WAFAthjT5ct8n++0/QdyzT1f9ABw38rtPdIIEmmOCmF G3zO63hTTb9ppVEOGfxsV4MbQ3zruOp/rHvpa5zvHLFFUpv/6Xrl/9FlxonZXEbjYoMX paNhidf9CX6r47hxAGoL9FdhjWF4fG8asngv4NIE8HcL77wRTIPQuZevwnfOiAxHvccT 0bHnVzoeXNnhUjJK1n+6IwYsN6iSCeVmYVfsIxEJSNj5fQc5XPmjRFFDrvalTv8oHSwl tuNQ== X-Gm-Message-State: AOJu0YykRitNQtj29z8p2cgoosT7RiSb5WDd5Uv7PJisxpuPUc0oXRT/ fbDYkFJP2L07s5rnEdoY6OLIdUnB0niwQZu7BMv89ICOY0/7HJxHbxbW93F9JFgqMPA+PKwIfAO nnrO2 X-Gm-Gg: ATEYQzya11yIVTlGoaw0yM96ydzi0fFkMDU2aaRaQIxpoLR56L+pvLb/ZkK0X1xSJo6 DIlupp8RKGNTZ4TRM7+qve/GTKM4MKuaVpRc2Mmf7aRA9l+h2FnZ2ip63ASuW9JMbgIK8ud5n8l JIN/pEiFRGz3pne/XkDjsoaPM/ECv2z5lNiLbcsr0r8JEHJ4qLt5DjfLkGEQ+zf/RfscIB2/GRQ k+hTqmdjj37fwI2SNX3wPBaNPNTyOoaLENopV+G+tN6YrJaBiqtxUJlLTUgmEHbX/u91LBGoHSg 53SIK52zYy0FZkJNoHHg+FQOd9dVZEucjh/v2uwHolONBJJTO2PWQaW7CihDo5PMBMr8vum9/xF 2xi0LBZrQpSo5eTCZEMGFmbtQ4r+goVjsR7H0QDEdPjNbeqOa87Q6U/BoEkkKbAf6AVSRAOy2wn VS1RFtXlxAvMEC8iThc9Cn08zTTzNf4SdkSGKPConwugkIXHEaN0ohQfOfVP4b5JfNO/fAun7WW C3r4PavLTg= X-Received: by 2002:a05:600c:4753:b0:485:3fe6:2209 with SMTP id 5b1f17b1804b1-485566d516dmr200694885e9.11.1773657763809; Mon, 16 Mar 2026 03:42:43 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 09/17] MAINTAINERS: Remove Cameron Esfahani Date: Mon, 16 Mar 2026 10:42:22 +0000 Message-ID: <20260316104230.836962-10-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::330; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x330.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657912016158500 Content-Type: text/plain; charset="utf-8" Cameron Esfahani doesn't wish to be listed in MAINTAINERS any more; remove his email from the relevant sections. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-3-peter.maydell@linaro.org --- MAINTAINERS | 3 --- 1 file changed, 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e691ac2662..f2ee7988ed 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -553,7 +553,6 @@ F: target/arm/hvf/ F: target/arm/hvf-stub.c =20 X86 HVF CPUs -M: Cameron Esfahani M: Roman Bolshakov R: Phil Dennis-Jordan W: https://wiki.qemu.org/Features/HVF @@ -561,7 +560,6 @@ S: Maintained F: target/i386/hvf/ =20 HVF -M: Cameron Esfahani M: Roman Bolshakov R: Phil Dennis-Jordan W: https://wiki.qemu.org/Features/HVF @@ -607,7 +605,6 @@ S: Supported F: target/i386/mshv/ =20 X86 Instruction Emulator -M: Cameron Esfahani M: Roman Bolshakov R: Phil Dennis-Jordan R: Wei Liu --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657917; cv=none; d=zohomail.com; s=zohoarc; b=NOZ7u++c94Mo8uBlGsYmnrj08ghV+ou5wxW+E7gQ7I8vJQLs5EoimZxB00dc/qP1xmbt0x/SmQHG1veqaWqQzu0O7LRt3EpMOtWa+JLsehrv2dF2b/9ZOSghyixy8VfGbA13IXEVzPQrwzRwa21hzhvP59sfIGbyC8oiun+M8QU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657917; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=TLMANJaYtmakghraNfyv62mr3wE3UT5K9PY5HJhOBc8=; b=EJ/vOJqTRmGzxXeBrQv5HdN+jsNZ7OvoVYKmEcmkOo7850XrqG7ttLQZNKmxmSHEb+xh+xo76AbjkgNvS/JpgJHuPPd9hb5jXaZ4IEhKR0XU05ZsZo7vxYwUlP+b75FNMFc8BTgaZGjyRvvXc/99yQOIcu01Dv823XJOmirie6o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657917336661.9536063583458; Mon, 16 Mar 2026 03:45:17 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PO-0001Zs-8T; Mon, 16 Mar 2026 06:42:50 -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 1w25PL-0001RM-W1 for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:48 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PK-0003fz-A5 for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:47 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-485345e1013so38696385e9.1 for ; Mon, 16 Mar 2026 03:42:45 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657765; x=1774262565; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=TLMANJaYtmakghraNfyv62mr3wE3UT5K9PY5HJhOBc8=; b=UF5FNWY4jGPkdW6gLUcGi1qULE66gs9NgxjL65lkDFPpA5I48qr0JWscXQJKVehjb8 c6m5hqaADDtIUWFnU6dQ565F0/xXAEmo/U+9cOKGgDNObdSQvOb3hC4OPjpPdrPoWR75 9ztIb80xFRM9NgCXTCLFhXedEWFtnTzpfUJoEsPb8ctdcopvAQSBlTJYVnoAxxulLNTc BaSs7GeibgvpxpeR7ec4ALBjF2mzB6UbAZLB3TIM9dJ9S+3gyRUMCgfAcUNc+SRAn9Xd HraV1eyHi4VvvpQ3ZuYBSLd2Xklxg88AAs7RvcMRpUOkeEG9Nxiz6adTJ8nLsBhQJw2S EZiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657765; x=1774262565; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=TLMANJaYtmakghraNfyv62mr3wE3UT5K9PY5HJhOBc8=; b=nlcbj5ESecgYGj7LIovSUVc8j0SA/JPxBRnGGr/TTumrwOniuSRBaGhibiuqtLcTdr 7/X5fZ1+ZCAwQsCL0pmsHWm/HIS2fcTlvoSNUZ1pXuTIrB8wqn2ZOZcL7pq5x5gwldAw SAO7jqSRtG7g+sRBHjF+bllAIQX1blRO+r0QHJ4Z4VAM2GxrpJzkg0sTGLEsk1iDCOXx 1suvkir828yVhRym0FN/GKXOvUTIChjzt8rZmRB00eDbB1Abg9HHppf81S8ndBR0Vd0D vga8Ug+j0FdfFW8u3vDJo9dUUJgznu5iKYstXnCaydOmGoI40pCOTPbAyVQQhGrFAD1j gF+A== X-Gm-Message-State: AOJu0YxrBUf+MaLd+X66PAO5qfgawJ0mFOEUmLX3ZNzspPFacOrE0H9Z XHL1I2QAu8vPP9xOMJvNXDQeGSRSO7fGlbB7jEzXwZdqyAC7j6DeQECFsanKBn8mBzgscBagNS2 XiuEL X-Gm-Gg: ATEYQzydNOikyV4wyZUWLWPhG1nrkbJSaHoqy6zKt+HVTB9dn52R4akp3x/06m81hMJ apgEJvlkBboVCNrU4spfoB8AQBCFo1yn38GrsqcEGvyMfTAfoVZL7o4b0zSKrnCVNUVB9rT4yAN 3ACnW4EzlbEtuSHeFmnE6tllsO7QkJWLBybKJVhe+ZeKWEDayKMIMnVgynb+A2zO0f0Ygh691xz faubdYFHhJI0X/fVs8WqM06nAzFnvL8DNYqiXOWH3akFiwQDwCQ42m+sdis/Ee0nygiBQlhe63q PQZIp+Pk4jWTVG/GJ2kJOcLCs4yujdGSM/q2rKNJU5fEhue4MkEG/vD2gk/nKqDlx4t62ACbnwD 7mrkDWjzQtF098MsUldjqTzBatdZCbVwPbbjoRI8RYnLFveqvfkt1AaZAcM+EeaovxXXAnsBrV8 fexaPHbgxEYjSdd/3rgpiJllxr6nMG8l/BCHWabNOvQAKLVMIzQMgdhqKm3MmehGzWcmrLsX7vg wz3800OMFU= X-Received: by 2002:a05:600c:1907:b0:485:50ac:b8cf with SMTP id 5b1f17b1804b1-48555a5689amr203121575e9.0.1773657764722; Mon, 16 Mar 2026 03:42:44 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 10/17] MAINTAINERS: Remove Eduardo Habkost Date: Mon, 16 Mar 2026 10:42:23 +0000 Message-ID: <20260316104230.836962-11-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32d; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32d.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657918753154100 Eduardo Habkost doesn't wish to be listed in MAINTAINERS any more; remove his email, and also the git trees he used to use. Move the QOM boilerplate conversion script scripts/codeconverter to "Orphan" status, as it no longer has any listed maintainers. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-4-peter.maydell@linaro.org --- MAINTAINERS | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f2ee7988ed..71cd07acf1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -422,7 +422,6 @@ F: tests/tcg/sparc64/ X86 TCG CPUs M: Paolo Bonzini M: Richard Henderson -M: Eduardo Habkost S: Maintained F: target/i386/tcg/ F: tests/tcg/i386/ @@ -430,7 +429,6 @@ F: tests/tcg/x86_64/ F: hw/i386/ F: docs/system/i386/cpu.rst F: docs/system/cpu-models-x86* -T: git https://gitlab.com/ehabkost/qemu.git x86-next =20 Xtensa TCG CPUs M: Max Filippov @@ -2015,7 +2013,6 @@ F: include/hw/i386/nitro_enclave.h F: docs/system/i386/nitro-enclave.rst =20 Machine core -M: Eduardo Habkost M: Marcel Apfelbaum R: Philippe Mathieu-Daud=C3=A9 R: Yanan Wang @@ -2038,7 +2035,6 @@ F: include/system/numa.h F: tests/functional/x86_64/test_cpu_queries.py F: tests/functional/generic/test_empty_cpu_model.py F: tests/unit/test-smp-parse.c -T: git https://gitlab.com/ehabkost/qemu.git machine-next =20 TargetInfo API M: Pierrick Bouvier @@ -3446,7 +3442,6 @@ S: Maintained F: backends/hostmem*.c F: include/system/hostmem.h F: docs/system/vm-templating.rst -T: git https://gitlab.com/ehabkost/qemu.git machine-next =20 Cryptodev Backends M: Gonglei @@ -3549,7 +3544,6 @@ T: git https://github.com/kostyanf14/qemu.git qga-win= 32 QOM M: Paolo Bonzini R: Daniel P. Berrange -R: Eduardo Habkost S: Supported F: docs/devel/qom.rst F: docs/qdev-device-use.txt @@ -3572,8 +3566,7 @@ F: tests/unit/test-qdev-global-props.c F: tests/qtest/qom-test.c =20 QOM boilerplate conversion script -M: Eduardo Habkost -S: Maintained +S: Orphan F: scripts/codeconverter/ =20 QMP --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657910; cv=none; d=zohomail.com; s=zohoarc; b=B+qs5IKkNUgLyvze8c0YVbcwRW1gaGDDj7r6nMqCPH8By70WqdKXmMLDF/7XNp/gtMnAwW1gr+qTy0pzGmo3eSkVwz31IoljAtMlTppDEByPmhHKUt9H3gXW9TpjChLj+UpJ2vhCkQ92zr4NhQ16UEK12WfhMsHPGkzDy6651+Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657910; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=VZ3XMUYm+uS9vWPU0VkmALluObtDZ3CULMv+l+51GP0=; b=NBA61FTGy9+EVucy706h9SKxnAudW2br/lOlD+Thz7D9FcDdSI2vDIbwhtIZonbgMTqMxdtuAK7qZxLpYWlhNfqlwnpmf7rfRefSRdbMfWorFDFnwJ2tWQa/wTMdytEkzEqwz4xdyPjG4rj+pn4bc5qMc+wDCpCnZ5EUzUaxB4U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657910839861.8291207278362; Mon, 16 Mar 2026 03:45:10 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PO-0001b5-Q6; Mon, 16 Mar 2026 06:42:50 -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 1w25PM-0001Up-NJ for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:48 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PL-0003gB-50 for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:48 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-48532925a4bso22531835e9.1 for ; Mon, 16 Mar 2026 03:42:46 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657766; x=1774262566; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VZ3XMUYm+uS9vWPU0VkmALluObtDZ3CULMv+l+51GP0=; b=cyZrNDyloPTOcLMVGSjHGWv6jisT3aV4R3bBM3ryIkZ20ob3n1Pa5pQXZSJJSmtqjc 5vT9wVSvn4aLJQizVVwhq9ut6bEt34R0TIyJtzIYp+w1Wlo7uGmFubUZL2tHEOVnlnT+ cQdydfpFTiyZhZz9ANJPmSvzHva8ru26av8wVDbJr1YtlxtUq+vf7aLRqatZC9sKf4hV xAVLZF37DPhUxcnobKm/I6DDsW4kP9lJiOQFD9hfE1gvgSwnRPSMnIRmL6WDwkj3qjAV hTLBP/YHKFzBSCZYL7kxbHN7YnioFHttnf9uJt36MBdxqVSzRQXhZWhwOYSHUNfC3S9z +mXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657766; x=1774262566; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VZ3XMUYm+uS9vWPU0VkmALluObtDZ3CULMv+l+51GP0=; b=YbRDCK1K91Cdg4ewAkEMu64WL6AcdDsoI6uTn5NJnrhOAOCN5PMpmZViwP9AS/vqCi +bqtG6hu8JDCek24jkJc1LLqTWDOHzZRcpSV92ObJU4hpjI4xeiRF36BnJhcN6fRYXO/ 9mJPAyNMgtSDOuI3ennU4OPflVVKVsZS6QbLenFmzIyoWWE4aGUKZcF7Km4mn9I/VyoC EKq90ZvRMZktw3OfwvsMuBohhKYeo8lXZgjWX5NGvcpbFIy9xt1eJJwwNOmWsRHkiU/K VSabsp4ndMXgA1GQKju7HPyP3qVy8VO0t/07X7myPho/hb/JjugOEq57Z6HFGJAdkr03 dPqg== X-Gm-Message-State: AOJu0Yz58vo6AaHzC6cWXCtaDxEXF58X0aE8ROtdprrf1ZnWG2SqvNSY LzzWBtZhW8jNJTFcsiA98VfChyzsZ7DCAgvqWBmE+wYqgj3844y+ZYDkFA6QNb3cwMY3Jbw4VE0 g6JEg X-Gm-Gg: ATEYQzysO5IhzPzA3qKnMRn/hAFPVl02Y5ripnNwpVyAeFqVQdNy7tZTxnPdiVgc9pU KQ1yHqSH3I2rqU+RFxkZgYDdcYhMRllEtq1RWKjxR6gh7a3QSSRRNviLZPO+a31qecRBB7j3dNs sHcUP4X8gJr4WAfeTSLLexWZh59SdhyMuJ66eSDJgvgk2bhCx8cD9Y2uidfMKyyBtgHkGDQ7HM5 8A73ImrhFf2NNk/J/q6PILf5ktVtXO7h/zBYGSBwhIoYMoFraPy8WrwTyj/4LdcY/PyKL7eZMui UQJBKuzO7BB4vBzzyb+1kKXdvC4agIdbJHwlWYa4zoFPdwSHnCQeDrlTZ4Qf4r7mhsbenjTT/BT WXKjPdsqTZLMvwr0cHqq4rj24OWIfycKlowetLCbGUuN+UqV39XHNZVWSYusybLuE7XDivQvUsc DvKtlDyLnaJudClkrKKWs8nlnc66/ilY83D2fzRmj3N9Uu3FcxZek3yrLOybYzi6b6jW3pFssbg +6xr9/yG30= X-Received: by 2002:a05:600c:4e16:b0:483:6d4a:7e6d with SMTP id 5b1f17b1804b1-4855670cd92mr200885605e9.30.1773657765589; Mon, 16 Mar 2026 03:42:45 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 11/17] MAINTAINERS: Remove Radoslaw Biernacki Date: Mon, 16 Mar 2026 10:42:24 +0000 Message-ID: <20260316104230.836962-12-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::335; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x335.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657912024158500 Content-Type: text/plain; charset="utf-8" Radoslaw Biernacki doesn't wish to be listed in MAINTAINERS any more; remove his email from the relevant sections. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-5-peter.maydell@linaro.org --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 71cd07acf1..9706003812 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1036,7 +1036,6 @@ F: include/hw/misc/imx6_*.h F: include/hw/ssi/imx_spi.h =20 SBSA-REF -M: Radoslaw Biernacki M: Peter Maydell R: Leif Lindholm L: qemu-arm@nongnu.org --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657777; cv=none; d=zohomail.com; s=zohoarc; b=bwCSc6dxu5gtdMI7S1Fus/xDM/+bf2oOdp5RAGTWFi+OtKmwJvaBXZLUZUmqM2YGSKIs3CUDRIlqlyC/H767RBiQVPZZm/YXnXyocsOo8EbKNtHtzZA8n6Prbs7hky4LEgTRT8WONg2xhRITqrr9+yGyct4uf1LvB7HG6PpWujU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657777; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=FtDXSN5JOj7mH7U5ZM2aKU3Da2Ltje+ixVgvhsVRn1c=; b=mnR/xp7AducIKxjTqrB+MF4egOoyqpAU4ofxCoxGsmZ6vEljJLgcjNNHLC+IUIKwqX9QNOztPJiHn7e9LMwSxaXIsBH884OIhMsLzHvS9g30mN0rs9T3fPQWtz18Jqdm17ycYYZALvHEVPK1PAW8JV1Rd9/+9nnDYT+H15NRCjE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657777230388.31889468012014; Mon, 16 Mar 2026 03:42:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PP-0001i6-Q7; Mon, 16 Mar 2026 06:42:51 -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 1w25PN-0001Yd-H7 for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:49 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PL-0003gH-Tb for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:49 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-4852f8ac7e9so52509535e9.1 for ; Mon, 16 Mar 2026 03:42:47 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657766; x=1774262566; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=FtDXSN5JOj7mH7U5ZM2aKU3Da2Ltje+ixVgvhsVRn1c=; b=rzRgD0KNNDi85UNH44BEYZEESX5U5w8dZ8aPw0ie//AmBjY/Lt3CBXTsk6sr9yQVuv 26HYW4CAEUUjmWLcXypFxyN9zAsGJs2Y8JJsQstsWWES3N/mFaps3vqw533eqlBgcIET d8Hf4V9FGZEuk9X7WQ+wyDEIxiVmrhG7ZD/eJINQILgD6FCCZB0Ce5Sw4JS5/IwxcJp+ gWpzYZUS/pa/LdCkmRwTuP7QN8VlfOkUjx/SrZBI5sujl32VluAlKTJwSQ6uSJKZmREc Bacv8WVQyTcdUFVuz6KBqSS0NbvyP2ifyReFIy3mkuXH+dMmvHjo83hNUbcaGBdLB2jU Jq0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657766; x=1774262566; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=FtDXSN5JOj7mH7U5ZM2aKU3Da2Ltje+ixVgvhsVRn1c=; b=Uu4vmApk561uRrnDZwEwlf4HLlWz4RJ7csWJjyRn4kI9pdrpq3XVbICOGnTit0NcQz pk+Py2JNDmBBcME8oj5fEIZYNAUN0NdlJBJhbgxNT5uP0ZHP1mFnXYIA6BquDnGNfje5 T+XAQglLbzQh23MSPG1pYslcUMul9tQzfiJgs9DKFkN4RkSUqUQ908PhoGpsG16SK+3A AySvxVnIcEaXV76s6loPTF/5cpI8TZO+j55RObzmHMjPZO2CMj503JW/1MBdqHVH2u9I hjiS6jKPiz3D/MF4GwkUXEESF2xjWRIs9VGpcOmhaB7RlN2Ke6JZkNznM/x9lykvkp3B ZKJA== X-Gm-Message-State: AOJu0YwsCylC3eDa8MpCgojKUaeoQs04mN9yXoh/0v7MngCjLEPtnVSM aYLA0ThwSczc9uWr/COsJjIPIWaI4ndKeMMdY4fOXdmD/pF5d2nCDKJhTrn6+K1EbqCKHJ4e5TW n/Lp5 X-Gm-Gg: ATEYQzy2c/mZJGxUzcMVYkLrhqttKzxJ0ocFttaiCDzrMTIiq5qjcqO43kozSElxWC3 HTdLT+urko4Q1a8bkDwsmX3q0cQJLIIi1xW8rb44dbyrxuA11i9wC/tbXvENoD64UU5sPl7lfx1 Z1yJ4GBhRtn+FXqhSMkX+fkctJlUU+V81bdb1aWce/ttECcyPa9QHV8z2a+Xe7xRy3x3BTF80OZ 2yvZ+1ZV/8/9Go95i9/MNPVCePetXhmzHamNfw6lMzDApAytiP5FygFHQecm1vAuiU6TExabYad l565e4x63OfWCy8lbyiSafUMw5+aIMM/GqHsWClfDgrGGT4hMgx1z6zzmcZ4My3oepnY78mrToV JJkG1Af57hCnLS6LASQsEJKU0IbbyAWAo2ptfR4bKUsMi4EtpsFXL9E/o/lyljE0gB8pwr+k+Ys jNmbvoVbl1wgfE/5s3Neec5eFVSQr8pFoWKUoa8kt3Mmn7A9J31CdkQeZ2oJsGTxBuehxKmEmiH eExVR6KQLA= X-Received: by 2002:a05:600c:354b:b0:483:2c98:4368 with SMTP id 5b1f17b1804b1-48556703401mr208811975e9.18.1773657766449; Mon, 16 Mar 2026 03:42:46 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 12/17] MAINTAINERS: Remove Andrey Smirnov Date: Mon, 16 Mar 2026 10:42:25 +0000 Message-ID: <20260316104230.836962-13-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::32d; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32d.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657778607154100 Content-Type: text/plain; charset="utf-8" Andrey Smirnov doesn't wish to be listed in MAINTAINERS any more; remove his email from the relevant sections. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-6-peter.maydell@linaro.org --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9706003812..06a0bd0383 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -903,7 +903,6 @@ F: docs/system/arm/mcimx6ul-evk.rst =20 MCIMX7D SABRE / i.MX7 M: Peter Maydell -R: Andrey Smirnov L: qemu-arm@nongnu.org S: Odd Fixes F: hw/arm/mcimx7d-sabre.c --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657889; cv=none; d=zohomail.com; s=zohoarc; b=SihnruEvHXI7V/n8JgpO5hiYUAmEz/SCXUafO4M3e4yN6OIQu8EWaBdj6kI64E94tz5ge+LWty4WXWZQjX1BJsJXgwI0taWxZPkwUqccWADpAUGE18K3XwHlinHH6Uq9uv2GPaWilNyNGOh7RjuIbmTIbty/psSn3sRQEFRKwIY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657889; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=E8/4CMtNXRZ2X1/ftYSmtEFaBPOReSBwxJEUSTFqB8Q=; b=FEMU8oGyQ+N538148wY4CgXmLOawQlF2fwZqVPAG/qIoKi3ZEUrIKHh73wrdxVaoKLX5x0wF/JMxtxqN77pO8oBYSaxvD7KHd9c9rnDScvF4j8xtxAFQwizUMQGBNtJynagkYsR3w3Tli1BpAQEkfRmI/ADnjy5muCkQEdTGjyA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657889658899.8945654701242; Mon, 16 Mar 2026 03:44:49 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PS-0001vm-Pa; Mon, 16 Mar 2026 06:42:54 -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 1w25PO-0001aS-IP for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:50 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PM-0003gV-QY for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:50 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4853e1ce427so50332695e9.3 for ; Mon, 16 Mar 2026 03:42:48 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657767; x=1774262567; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=E8/4CMtNXRZ2X1/ftYSmtEFaBPOReSBwxJEUSTFqB8Q=; b=arP1WSN996OIJDPiWp2dZoZX6E+PHlHtczd5BLYB+E/3U+B1TDTpmhg/0jWwDT8yWI 4PAwZMPUsI6K+LHcyjXWWUL89ozRJ88vheMOatANtq7KMPq+7HMRBpQrKDYHQhfEhP8x ClFUWGl6FiZiLtHPwTyCg9wZ4ldGgHIBSCReentdeuqjE81Gm3ecyy764uQkNNeOqsNQ bwpJlb6ngHJPmokn8O9cxX9kSxeV5nL6Z06mhudBy5zjqIPQ2YfrqnZUQorJEmaFnLxB +p0kN0eWLNleBZkyFXNYGhwCCcGPEDI6GTG8h0FzSQBCOvIjq03L50gPahfbF7RhNoZp KhRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657767; x=1774262567; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=E8/4CMtNXRZ2X1/ftYSmtEFaBPOReSBwxJEUSTFqB8Q=; b=EB0oMHxvY2jqmVPylYr4bpXRP2dRe8NICy3c60MdSN72NX4ivaxiUDF/EslyFFlgWb Q112ADub7+Jr/ic8f4N9N5LNgYjlBsBwg79qGqCOpAbibfAj5z903BCm/cztD1b+zfs/ 3r9UoJgf/MZGq5RYmPooDV9a/KdtAp2dT3lz90lMjX4oT4h/7aIqRla54hZH3xmD6SSS ILppSCHpTMvhiJ20vZdGjWzkVkyWU2LOwK3wC7SR29O9UXpjJE5p+EKoo7tKEcniSxYf XPVNgzLz7JyqkZvT0fLbQDm2yvSqWQDFjs2OAZfONt58vQzZq8c6ZxyykRa0QmQ08f2f fngw== X-Gm-Message-State: AOJu0YyG1Tr/eJD5wgXDN5oqOf3OuoGYiMcZ7FR2qQbuBPtK9e2YB06R 5ayO8nOElBk8/ifHgp4HOz3No6vRDTXRYLUUkhLIM+AHjwo6sUEGNBLvi7lQL7JQ8jpdsQCPrzS YgBxP X-Gm-Gg: ATEYQzxpQH9boC/Zapm7QrmPfGWV1V8dXwG8/VEZAllnSpxSLbzYg9ZCl068eB4MFeI eBV385yt2t3AHiZuf1UnQr7ereN64F+LIThHjEkRU05bH/G6tCS3TroVCxZTkCnz1TsZfvAF8c3 OvqeP+I03rrMgnia4jjPg3oIwcz6J6z4QNnG7VL5rZyPQFVNrOCKW7toUawZz/47X9rQZlYvoz7 V8falp3v43HsrRcC7HbPe7ro6uPYUyxj2ul3YOrCgE+LT1mVGyIKbUhvbuqToY7ACHLcfUIGNks syrRJjjKN9OC5pUCqrc05g1ImMlYenD2iOvlmAI6hzYv6he8GAaTF4m4wOeLJeYAWne8FFc0fAe 4fl+VK0Uw/jbzeCfAKJR6Z9H0lJkgUQxm/15yAUmsYswP7hN9uOCN5cv7/R/Ooajr21uuiPIQu7 G2CTxDEXsdHu8DDghBQjWHgpnCfXp/P3eZAtNR7iREeRfCxqQr5U6msv6kFSCIlmEQi01dGrB9i +43EcdMI8Q= X-Received: by 2002:a05:600c:8208:b0:485:34b3:8589 with SMTP id 5b1f17b1804b1-4855a8d7004mr189315425e9.31.1773657767315; Mon, 16 Mar 2026 03:42:47 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 13/17] MAINTAINERS: Remove Chris Browy Date: Mon, 16 Mar 2026 10:42:26 +0000 Message-ID: <20260316104230.836962-14-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 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=2a00:1450:4864:20::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657890392154100 Content-Type: text/plain; charset="utf-8" Chris Browy's listed email address is undeliverable: The recipient server did not accept our requests to connect; it times out on attempts to connect by my sending mail server (gmail): [avery-design.com 99.83.249.127: timed out] [avery-design.com 75.2.78.167: timed out] Remove his name from the file. Signed-off-by: Peter Maydell Message-id: 20260306120555.2035421-7-peter.maydell@linaro.org --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 06a0bd0383..7a0c71e12c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2160,7 +2160,6 @@ F: docs/system/sriov.rst =20 PCIE DOE M: Huai-Cheng Kuo -M: Chris Browy S: Supported F: include/hw/pci/pcie_doe.h F: hw/pci/pcie_doe.c --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657788; cv=none; d=zohomail.com; s=zohoarc; b=KV7wX1zsueNz0s94kFw+oSF9a8oJgncA969lpYjszpaRJO4LcgdTa/fF28h2HY5baLv0dkT+mwk3ElzxbXVsyZF+A7nn4e6AWHyjXgPcsGTAhW+a0d9TmpF9oaJ0hsmeQ228Qgb5ii0NwKtX1SDFgWAOlBxOf5tbppznaIQiPmA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657788; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=Q+xitAlK1s/NviM9Oq68epH9BMAZRVhmQhy3D1hM4gI=; b=EUPEhVlWGaME/RmcRPnEu+Qpy3dsAl658ejrFEFO4XW2uTGCIqv9PrZMmsIkFqOzA3hGHeN0+A/cRffBD/dV8lrP/QyIW/EGv4tfF4p2YtXYd61HOyk3wZHMUFl02ixojaDemA6KjpMAvjDKfQ5EC3Qp6zWM/w9GJHom+9n05bQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657788631258.7006288063509; Mon, 16 Mar 2026 03:43:08 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PR-0001rG-Ih; Mon, 16 Mar 2026 06:42:53 -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 1w25PP-0001ie-SV for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:51 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PO-0003gi-3k for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:51 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-485445e80bdso38566435e9.0 for ; Mon, 16 Mar 2026 03:42:49 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657768; x=1774262568; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Q+xitAlK1s/NviM9Oq68epH9BMAZRVhmQhy3D1hM4gI=; b=llifjUQ8LEPd8i0rNZ6OcffcCVSnwQCMOfdr7kwsGc9e/6y0wTV8Wvul3N+1johGoo CCzsEPl/BbZF6lPYP+wn30FAVlR7/WSCLZntOC4uUk0ao5e7PQYQdkP+HkVmnSKleK2K 0zeX46Q+EAFFLPSc32FKxjyyeFWfZOlNItYJq8oDCvYN391qmvw4J69Of5s3+n7LR+d2 Cs7n2tRS0cCKOva2teJSN1MkCOIUoekWBeFL+1JPrkgvBg//p37brDfz94yY0u+QPwOe vYU8DykITpsfDld9sUVj9H+GU7f34vxJnFQMfOJcKGYhGp7I9YCcs5JHphiTJBJdY5ON itAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657768; x=1774262568; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Q+xitAlK1s/NviM9Oq68epH9BMAZRVhmQhy3D1hM4gI=; b=bBnuso3HKDBPZl1FPQOj7GnzpPyCk9khtbKERUo5Z8l9Of6G+POjklairaWJhcHnqg egJGTXM2GSLnKQ4W2EoHp/4rLG+TDG5jA5rv6a8Dp0e8nMgHLXo36zeyENcPnXCvs6I4 TglDuYSNAMFECogXvbNw3xg8+oFHuiWG61VgRh2oA7VBoHxQBGn5LLLwIZj15FIF2lOm 0z70j+QCUDJnUqu0jNPCCeARzRBorUvMYJPRlzholbntlWd2CaYf+iQbTWAKdD6aO9HR S1h6UVIy0ZiJo/lmf9aWO6TSHyZz8TUzFFlrpNB/GU5I+dX5fvzCORa6cyCahZP7eVMC uUZQ== X-Gm-Message-State: AOJu0Yy7djJvB32nskPNB/5uKzL1m/O/3Hs+cmQxPl+zxC0r/+HDjJTx MTpa3ZgrxNROTOosiKgCdxoN3QomisCPkrk8b9loKc5ISdaTOuU/aRcX4Up9+hooX9Vju7ts/mV ooDWo X-Gm-Gg: ATEYQzzETdAd+JYj7acJYvbmzpw4FU6NSowccLdz60WX30gfDXH8qp5B4+u4DPok8B6 F6nTUtsJTYMPkv6Wp7Tsf9QrzkCocfMTPVNIHyPv/np5ASUGME69fYwZCqmUg24RWXKuc1cqEzS +6wMm/WG2TWJVQOqWL/Uau5FglQ6dgbiA14+S7gxCuYJIXqs0hVZ65lbKHsTqDVxZN8IfgN+Fj5 uO3ARjaieuiEGFHUn7jwMH0UnFiKuGMmq9s3/cxAt1bpqStwZCUNjvcUsut32bHUa84tvwyWkFn +408GOB0hIS1S5ud+XEEH78ag3C4/ksBMFWDYegwgckrH+Vu1B9xRmYlPbvmsMLSE/FjVDgVvzx mUWzYUqiQ4TEk24DKSeWloE3D4ul9CJac17diX3ugLuy82A6DmbJJt3DkJwH/mkLXXwPe/9weKS oPHRmMl8m3+GFzO3nl0MPGiMiT+SLbDkrvELGcGL4rcMYul83V18Axn7Oa7+OuzRDnvKwpm4in/ jfwSp715sA= X-Received: by 2002:a05:600c:1d0e:b0:47e:e076:c7a5 with SMTP id 5b1f17b1804b1-485566ea474mr226129845e9.11.1773657768176; Mon, 16 Mar 2026 03:42:48 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 14/17] tests/qtest/ast2700-sgpio-test: Use g_strdup_printf() instead of char arrays Date: Mon, 16 Mar 2026 10:42:27 +0000 Message-ID: <20260316104230.836962-15-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657790828154100 Older versions of gcc with -Wformat-overflow=3D2 don't like the usage of fixed size char arrays in this test; gcc 7.5.0 (SUSE Linux) says: ../tests/qtest/ast2700-sgpio-test.c: In function =E2=80=98test_output_pins= =E2=80=99: ../tests/qtest/ast2700-sgpio-test.c:27:33: error: =E2=80=98sprintf=E2=80=99= may write a terminating nul past the end of the destination [-Werror=3Dformat-overflow=3D] ../tests/qtest/ast2700-sgpio-test.c: In function =E2=80=98test_irq_level_hi= gh=E2=80=99: ../tests/qtest/ast2700-sgpio-test.c:85:33: error: =E2=80=98sprintf=E2=80=99= may write a terminating nul past the end of the destination [-Werror=3Dformat-overflow=3D] These can't actually happen because of the limited size of the values being substituted in. However rather than require readers to check whether the arrays really have been declared large enough, we prefer to use g_strdup_printf() for this kind of string work. Reported-by: Fabiano Rosas Signed-off-by: Peter Maydell Tested-by: Fabiano Rosas Reviewed-by: C=C3=A9dric Le Goater Message-id: 20260310151507.2973843-2-peter.maydell@linaro.org --- tests/qtest/ast2700-sgpio-test.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/tests/qtest/ast2700-sgpio-test.c b/tests/qtest/ast2700-sgpio-t= est.c index 56c54cca9b..529408ca8f 100644 --- a/tests/qtest/ast2700-sgpio-test.c +++ b/tests/qtest/ast2700-sgpio-test.c @@ -18,14 +18,14 @@ static void test_output_pins(const char *machine, const uint32_t base, int= idx) { QTestState *s =3D qtest_init(machine); - char name[16]; - char qom_path[64]; uint32_t offset =3D 0; uint32_t value =3D 0; for (int i =3D 0; i < ASPEED_SGPIO_MAX_PIN_PAIR; i++) { /* Odd index is output port */ - sprintf(name, "sgpio%03d", i * 2 + 1); - sprintf(qom_path, "/machine/soc/sgpio[%d]", idx); + g_autofree const char *name =3D g_strdup_printf("sgpio%03d", i * 2= + 1); + g_autofree const char *qom_path + =3D g_strdup_printf("/machine/soc/sgpio[%d]", idx); + offset =3D base + (R_SGPIO_0_CONTROL + i) * 4; /* set serial output */ qtest_writel(s, offset, 0x00000001); @@ -45,14 +45,14 @@ static void test_output_pins(const char *machine, const= uint32_t base, int idx) static void test_input_pins(const char *machine, const uint32_t base, int = idx) { QTestState *s =3D qtest_init(machine); - char name[16]; - char qom_path[64]; uint32_t offset =3D 0; uint32_t value =3D 0; for (int i =3D 0; i < ASPEED_SGPIO_MAX_PIN_PAIR; i++) { /* Even index is input port */ - sprintf(name, "sgpio%03d", i * 2); - sprintf(qom_path, "/machine/soc/sgpio[%d]", idx); + g_autofree const char *name =3D g_strdup_printf("sgpio%03d", i * 2= ); + g_autofree const char *qom_path + =3D g_strdup_printf("/machine/soc/sgpio[%d]", idx); + offset =3D base + (R_SGPIO_0_CONTROL + i) * 4; /* set serial input */ qtest_qom_set_bool(s, qom_path, name, true); @@ -73,8 +73,6 @@ static void test_irq_level_high(const char *machine, const uint32_t base, int idx) { QTestState *s =3D qtest_init(machine); - char name[16]; - char qom_path[64]; uint32_t ctrl_offset =3D 0; uint32_t int_offset =3D 0; uint32_t int_reg_idx =3D 0; @@ -82,8 +80,10 @@ static void test_irq_level_high(const char *machine, uint32_t value =3D 0; for (int i =3D 0; i < ASPEED_SGPIO_MAX_PIN_PAIR; i++) { /* Even index is input port */ - sprintf(name, "sgpio%03d", i * 2); - sprintf(qom_path, "/machine/soc/sgpio[%d]", idx); + g_autofree const char *name =3D g_strdup_printf("sgpio%03d", i * 2= ); + g_autofree const char *qom_path =3D + g_strdup_printf("/machine/soc/sgpio[%d]", idx); + int_reg_idx =3D i / 32; int_bit_idx =3D i % 32; int_offset =3D base + (R_SGPIO_INT_STATUS_0 + int_reg_idx) * 4; --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657897; cv=none; d=zohomail.com; s=zohoarc; b=XOA2CXdH8aofQdXt5/7dxt7QNjWjOBqK8sRtVqfI/pqewToqXLCkxz1n+fcckbjcHoJdkV6mQfnfXf6YLGsSwn4LJN8YIwuJrgKZnjdZIDz6mn05pZS7hOKbAG9gPRvEvYRQ0Tz+oLPzpcYoyrDLiIpdXcb6E5hWwaV9k+3ydqs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657897; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=6aV4AyLVehW0PthetTdb9Q6TzUbWpqWLCzbdXYshMzc=; b=DcTXypTbo5oybckf5In6JDRV/4xZNfvMlTJtHZ8Zl/463tl/bqB9cAGd07cDyi40yxzDJZ85PzNBNWAZuv1NInn6vxFBuvCBzk9lyf4RSa5z+riDJEP2AX8w3/hlc3igX73VezaMImWAai3irOiJP9IQdH8/WqJmBDtW7bjOHp0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657897208773.335810154018; Mon, 16 Mar 2026 03:44:57 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PS-0001ts-4O; Mon, 16 Mar 2026 06:42:54 -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 1w25PQ-0001mo-Ht for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:52 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PO-0003gq-OL for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:52 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-48532925a4bso22532225e9.1 for ; Mon, 16 Mar 2026 03:42:50 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657769; x=1774262569; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=6aV4AyLVehW0PthetTdb9Q6TzUbWpqWLCzbdXYshMzc=; b=IQ0BJ/ua+y7qIWkk27GT/qZY0Q9lgJbxTaKHwK0ABAM1uMjdZ17pnI4+Ulkp4No9ey Qml0GQ91QSneJQ/HfGhKUbYQB6953MpGlLrDeokJ05OUnxEgknyrOsqGxh6kxd94xhqy eAkV2VE6BHVRKuT08ae1qWJdplByBC+uW7P821nJJAeRp3npw0N2r3e1lqE2DIHugfhA JuaOZvMpJdnzKgM6xmmIIDXMlkpoaHW+O+UIy+WDIs0IeVp08eKkdA69owLcEH9a+CkN HvfrnosHZSY3EuIH4oeAjZ75DnX4KSUhHpsuF8Gy0RyH2D2ijfwdnx2y77EEEg7OqXxp 4aWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657769; x=1774262569; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=6aV4AyLVehW0PthetTdb9Q6TzUbWpqWLCzbdXYshMzc=; b=cboqdckvcbFzvjMaJp0RuV1YF7ZIDxVAxpGNI+bRI7R6HkX0eNjCYF2bSkw0Lw8ssu 1mOvXJGzyCbAMcN3mNGRfJFYaszXQ/bW2WRxaCX37AAAlofoTjaZ62J6bdOFM6+sSrN+ 9p9uGO194FUF07DvddbQjRb7Z0a6cJLx3ZJr/VV3PpK6Ck851uHWanrp5T5nKE7IN6+T 2H7MBoq4f0SLpvvzi7/+FY3y5zWTrDufG/gGIa0D8qmHIlS4RL1BtJngojXAvER9b/3C P97ZpRuek0JuOeVePWtUjVPPrv2e2OuUV7lvkCPRA3WqYFtAGo9N18SKPxzQka9paRvY NQfg== X-Gm-Message-State: AOJu0Yy287lAgZTe6n2f7bQ8MRS3/1S/EyipJS5dHdibOI00eYcELo6J rhehVmFLjscz4QwnbCsS+tMUWPH4YQgtIkORvZsR64cnMvAgFqjXF3nm4NmArCbfZf7M9UTlcCu B6iY9 X-Gm-Gg: ATEYQzxyLDcyKne5CHfOE9OmYAie7pzoSaDhFzM9hY78ylhNIvlvFDTT78movI3DPa1 eUT9mvUhjvWURJIytWyD0ny35OEMplLggEFPS2QxVXbvERJ1D1DloU5sKc/WPXJnSFOhkBqe8A4 FPOxcMyog9syMtgToi219cmXKckGttudkywTIUMxcyDD81bNPvkt0StWaHTWIwYgR5eQyaOUbXE a+agD2fo7OY9A4FWurzlvhO/VBISnasFNYO8KdCyrpM0tS0eWXrp5N/C3Bft6hp/Grj/MIAyh8+ SSbWCr+E2Iuv3s/+UbXtkoP3gf0+FqZO49zEa5ssPXD8ob9x4JlM0shRMsSInunURlNESxb4Gwc BDioQH204ZeP3V6vajfEosh3eXGEWU2LzViFGlzSr+OAJNuuju0+PKj1kwh5/X2WuFL7IGjjX8u k/NyfyRbZhby4et8zaYBxSDjXSmdfuLWPWNmpLikqSnnS6IqwXFEYwxbOtyxh38CpAabzotFYyn cae+sb4e1g= X-Received: by 2002:a05:600c:1388:b0:483:badb:618f with SMTP id 5b1f17b1804b1-485567050dcmr204222605e9.25.1773657769143; Mon, 16 Mar 2026 03:42:49 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 15/17] tests/qtest/arm-cpu-features: Use g_strdup_printf() instead of char arrays Date: Mon, 16 Mar 2026 10:42:28 +0000 Message-ID: <20260316104230.836962-16-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657898402154100 Older versions of gcc with -Wformat-overflow=3D2 don't like the usage of fixed size char arrays in this test; gcc 7.5.0 (SUSE Linux) says: ../tests/qtest/arm-cpu-features.c: In function =E2=80=98test_query_cpu_mode= l_expansion_kvm=E2=80=99: ../tests/qtest/arm-cpu-features.c:578:35: error: =E2=80=98%u=E2=80=99 direc= tive writing between 1 and 10 bytes into a region of size 5 [-Werror=3Dformat-overflow=3D] These can't actually happen because of the limited size of the values being substituted in. However rather than require readers to check whether the arrays really have been declared large enough, we prefer to use g_strdup_printf() for this kind of string work. Reported-by: Fabiano Rosas Signed-off-by: Peter Maydell Tested-by: Fabiano Rosas Reviewed-by: C=C3=A9dric Le Goater Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20260310151507.2973843-3-peter.maydell@linaro.org --- tests/qtest/arm-cpu-features.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/tests/qtest/arm-cpu-features.c b/tests/qtest/arm-cpu-features.c index eb8ddebffb..5444e4d40b 100644 --- a/tests/qtest/arm-cpu-features.c +++ b/tests/qtest/arm-cpu-features.c @@ -519,7 +519,6 @@ static void test_query_cpu_model_expansion_kvm(const vo= id *data) bool kvm_supports_pmu; bool kvm_supports_steal_time; bool kvm_supports_sve; - char max_name[8], name[8]; uint32_t max_vq, vq; uint64_t vls; QDict *resp; @@ -573,9 +572,12 @@ static void test_query_cpu_model_expansion_kvm(const v= oid *data) } =20 if (kvm_supports_sve) { + g_autofree const char *max_name =3D NULL; + g_autofree const char *name =3D NULL; + g_assert(vls !=3D 0); max_vq =3D 64 - __builtin_clzll(vls); - sprintf(max_name, "sve%u", max_vq * 128); + max_name =3D g_strdup_printf("sve%u", max_vq * 128); =20 /* Enabling a supported length is of course fine. */ assert_sve_vls(qts, "host", vls, "{ %s: true }", max_name); @@ -583,6 +585,9 @@ static void test_query_cpu_model_expansion_kvm(const vo= id *data) /* Get the next supported length smaller than max-vq. */ vq =3D 64 - __builtin_clzll(vls & ~BIT_ULL(max_vq - 1)); if (vq) { + g_autofree const char *name2 =3D + g_strdup_printf("sve%u", vq * 128); + /* * We have at least one length smaller than max-vq, * so we can disable max-vq. @@ -595,11 +600,10 @@ static void test_query_cpu_model_expansion_kvm(const = void *data) * unless all larger, supported vector lengths are also * disabled. */ - sprintf(name, "sve%u", vq * 128); - error =3D g_strdup_printf("cannot disable %s", name); + error =3D g_strdup_printf("cannot disable %s", name2); assert_error(qts, "host", error, "{ %s: true, %s: false }", - max_name, name); + max_name, name2); g_free(error); } =20 @@ -608,7 +612,7 @@ static void test_query_cpu_model_expansion_kvm(const vo= id *data) * we need at least one vector length enabled. */ vq =3D __builtin_ffsll(vls); - sprintf(name, "sve%u", vq * 128); + name =3D g_strdup_printf(name, "sve%u", vq * 128); error =3D g_strdup_printf("cannot disable %s", name); assert_error(qts, "host", error, "{ %s: false }", name); g_free(error); @@ -620,9 +624,11 @@ static void test_query_cpu_model_expansion_kvm(const v= oid *data) } } if (vq <=3D SVE_MAX_VQ) { - sprintf(name, "sve%u", vq * 128); - error =3D g_strdup_printf("cannot enable %s", name); - assert_error(qts, "host", error, "{ %s: true }", name); + g_autofree const char *name2 =3D + g_strdup_printf("sve%u", vq * 128); + + error =3D g_strdup_printf("cannot enable %s", name2); + assert_error(qts, "host", error, "{ %s: true }", name2); g_free(error); } } else { --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657797; cv=none; d=zohomail.com; s=zohoarc; b=Zn7iWEPXKBeeefaZzaB+inF+TbNcsuY9UVrLSuYrIShl76FyHd77d3ZMKr1WDKzeE80GOsUkjUnwr01ailX0F8I062fBXpOZY39AJKx/6InM5v2SAR8qDmBxnixlF0RViN5nsVEVpaum/Jq4G1MxNTnQ9XCUlYajM4fDFZACtNw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657797; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=o0P6vt/hzdopXfQcHvxln1E4PPuo52b8fU4UsoyK39o=; b=F5/N6k6nxxIWcO1iJPi5qI7gVHbIvV1I+WZJgX/IY+zpa8aVIG8yamXYsUZhZr5zyfVbHOSUj4XoY3ptlMsiK4pv215BJ0/xeCfhpRsaBhsqOg5isSR0iBMiTZcmBXJrUv69ldR83AMkSnKXFlLV+mzX8FZ19M4Jy/v+Wdoc/48= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657797650131.3503229241427; Mon, 16 Mar 2026 03:43:17 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PU-0001zP-Bt; Mon, 16 Mar 2026 06:42:56 -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 1w25PR-0001qG-9W for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:53 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PP-0003h3-La for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:53 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4852b81c73aso38809835e9.3 for ; Mon, 16 Mar 2026 03:42:51 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657770; x=1774262570; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=o0P6vt/hzdopXfQcHvxln1E4PPuo52b8fU4UsoyK39o=; b=RaYIe6bpnHEW79As7UeWXFFmhGbSiAUbCaxbFmuITcxQ2cGRQncjafYW0zQLA0B3j3 Kzq16HSM0bnn1jCYqbd26GmbI8wHo238Zxdzp13syk2sO7lYvtjrqOxXoZ2P0iSb0OtH LmczkPr7MRyt1GuatjqHYiAn7RcZA4Bk5IuOeiVp+EUx53h5bqdA3hI5mTLiRlGPEQ5b zaKa5MUbh1kLB0XQ1VuV3lhrWaMNgYUN0DcYRtsLXHmI++hGLEw6DyGXCxSEBUkLT0xA LhZwCDbLET54/rt0JdDbK5VCLdY62Qg12Nr04x1ZM70auVw0hVeE2BbY6LYLPNpJ83vo fiRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657770; x=1774262570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=o0P6vt/hzdopXfQcHvxln1E4PPuo52b8fU4UsoyK39o=; b=YA9YoQk9VueNXjqqTJGU7STloLVKnstQs1y6ffHCEjF/bxbm42nd7f/wpnXnHxU6/T tFJ6S4BE1JrD0MYQKUZCkFVa6P7Z9FwBQ1HK+s6uJ43aNm3TSuhaFe0e0wdwCp5rdHsl atzV0DAzaJ9ljvo3DzS73zDni60udCwzIdlA60BGBD+HAp9f/BRoqFE+y0USWDOzASiP vf0DG4YkxFA9K2/pc9FayMSrapCw1UvfPfMylrd8hahdYe6fpR12WpgZLAL9RxROPrrX BKlzLPRZkCZMldXEPchiMRvFWj+6ReeHZRG35RgPRzutpn/42LvNDBTLvidbM1pFnL7R H6bg== X-Gm-Message-State: AOJu0YzwFwbQ5oSg+302yol6HNpisSAKuhu5EKpfTw/nQwvzCRuraa+z kVQCC1M8h+8aYaU/ymrJV09QVs5l5e/5qxvvTjaRitip8USDKBD5vz2dqKOQE8ZpPz2PgJbJ66L SXVDi X-Gm-Gg: ATEYQzx/LEjBy+tfSgNhsHBceb8HI7Z1ZubjANGOIwoB2POOIlS/elxz22yZVj/iKAk y+b1PJT4eE603sToxlxEqOGoiJ91af/+08oT5y9n7X2XAmEiFaQMJXe68vHT/4G4e00iw6pimv/ CK+B9ZB7l4FfGUNzglNxXz1OOB4SLsJIOT15Dcpo60uz93YDJj0S2rBaVApUCYPfoaY7WEufKGW 8U6nRQ0+Dtf5XcrFXHSV+TSkcQIeEse8hye5TpZ3nuvv/7R60+xAO4JJcFu1Amn4lLYIK3R8BKp o9O/nSnjM8KnMBgSuyOyrowbuupFIbIrbeimg3qYSgNBePjNk+0EwJ1rX4Je0C2yKx2BvtaoAGM C40tXHC4fjpyjLtD9Q+euQvNqBO07B/r+xh5xj+EZ2mE8OETVdAlMsVVFL5nQl/o7XzkA/5yV3C lVSzLJ2Sv/B50ZbWB0Pu4qUsmjm24GWHbcC8rjGnz5YzM28v1oqpgGkRY2ER3fVZSAW1cM5alQk lcNzGA1+UM= X-Received: by 2002:a05:600c:a46:b0:480:4d38:7abc with SMTP id 5b1f17b1804b1-485566d6ec5mr216120095e9.11.1773657770142; Mon, 16 Mar 2026 03:42:50 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 16/17] tests/qtest/ast2700-gpio-test: Use g_strdup_printf() instead of char arrays Date: Mon, 16 Mar 2026 10:42:29 +0000 Message-ID: <20260316104230.836962-17-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::333; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x333.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657799577158500 Older versions of gcc with -Wformat-overflow=3D2 don't like the usage of fixed size char arrays in this test; gcc 7.5.0 (SUSE Linux) says: ../tests/qtest/ast2700-gpio-test.c: In function =E2=80=98test_input_pins=E2= =80=99: ../tests/qtest/ast2700-gpio-test.c:54:36: error: =E2=80=98sprintf=E2=80=99 = may write a terminating nul past the end of the destination [-Werror=3Dform= at-overflow=3D] sprintf(name, "gpio%c%d", c, i); ^ ../tests/qtest/ast2700-gpio-test.c:54:13: note: =E2=80=98sprintf=E2=80=99 o= utput between 7 and 17 bytes into a destination of size 16 sprintf(name, "gpio%c%d", c, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This can't actually happen because of the limited size of the values being substituted in. However rather than require readers to check whether the arrays really have been declared large enough, we prefer to use g_strdup_printf() for this kind of string work. Reported-by: Fabiano Rosas Signed-off-by: Peter Maydell Tested-by: Fabiano Rosas Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20260310153334.3063224-2-peter.maydell@linaro.org --- tests/qtest/ast2700-gpio-test.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/qtest/ast2700-gpio-test.c b/tests/qtest/ast2700-gpio-tes= t.c index eeae9bf11f..533feea7da 100644 --- a/tests/qtest/ast2700-gpio-test.c +++ b/tests/qtest/ast2700-gpio-test.c @@ -44,14 +44,13 @@ static void test_output_pins(const char *machine, const= uint32_t base) static void test_input_pins(const char *machine, const uint32_t base) { QTestState *s =3D qtest_init(machine); - char name[16]; uint32_t offset =3D 0; uint32_t value =3D 0; uint32_t pin =3D 0; =20 for (char c =3D 'A'; c <=3D 'D'; c++) { for (int i =3D 0; i < 8; i++) { - sprintf(name, "gpio%c%d", c, i); + g_autofree const char *name =3D g_strdup_printf("gpio%c%d", c,= i); offset =3D base + (pin * 4); /* input direction */ qtest_writel(s, offset, 0); --=20 2.43.0 From nobody Tue Apr 7 04:21:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1773657803; cv=none; d=zohomail.com; s=zohoarc; b=hyQjjfv8OR2MsF+cUWnW0YKV/p0Ay1haL5O0WWt5PSIhtyz4cPutz17hU0QT1+BzoaABaXcT1k5FNBBOzOMahrcK1JaYAxYq7MbUitcodWxVvp1RYuLZmufU2jLIZOqLNtZ8Y8L0X0t90adTBUuiftVo2PZ0jt7HQOcCVxtrbWM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1773657803; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=VoeBwvNz/P8suv3FOeBbsNj8VpBrzg4rCNwkaJZHuV8=; b=kv8dke2G9YCcJh0Wv/ooKM4MYPNmkIag2pfWIOroeW6xloLOluItTUCpAolHUNsGPD+M5fEAbxkVDaqAjfnoUXy/4ABavHpagUkvFxwoVmRbiZtR+IDpVvgCcqc0PJpnixHBOeUVNlhonXbCw4YLNwtfIN6cCcVSfmB33YgCaFQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1773657803904205.51555813883135; Mon, 16 Mar 2026 03:43:23 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w25PU-00021n-TF; Mon, 16 Mar 2026 06:42:56 -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 1w25PS-0001uw-9c for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:54 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w25PQ-0003hF-JG for qemu-devel@nongnu.org; Mon, 16 Mar 2026 06:42:54 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-48557c8ad47so24408765e9.0 for ; Mon, 16 Mar 2026 03:42:52 -0700 (PDT) Received: from lanath.. ([81.2.115.145]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48557a74266sm85519135e9.17.2026.03.16.03.42.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2026 03:42:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773657771; x=1774262571; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VoeBwvNz/P8suv3FOeBbsNj8VpBrzg4rCNwkaJZHuV8=; b=X18ywJWOFPFCTbt67f9n2+pMnPmIkXR4Nx4M5/BKumRN70vGvg++D1z3apC5yI8FXp XMiZMiDO4pBdJXKIKSNwT+hP0Lx4ZroW7bm9GK/k1PvWXg6cHF+uYlmT/bstemSOIGhP cfkL2/E+kg5qDGMrZfgC4ycFJTuHRdr7MZYwfjDWLYumHGXMsh2J1lPKwtpewS2uTanp lfq52VSXF5NBXxMp7ND8RjJpxbAQGScYGa8Q+thHlxT3lmwIjiMuukRoARJGJ+WYqKv/ 23yL8OhHnVY/OkWsKDoPpdj4bpi5gg32eKfRoW58PPmEj2eY95irgZoT0MrD0akwdVna S4YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773657771; x=1774262571; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VoeBwvNz/P8suv3FOeBbsNj8VpBrzg4rCNwkaJZHuV8=; b=C6XtPcVfCpLB87wLYROGPZuhL2nTBeHeXNEOrWduyPrmMxlgfKGp6d6lCmMB4/9ibW jI+W+5bU8nqXMh+Cdz6P5VdUaEYD0sMxw+uuoDaHYvXMtLO/+f9mGl7DnJ8Rn9LTpMQh 6XxAiBOU6K47sU4xNtalk5mA70ME8/Z8iK0gNUxtO+d6fVEn3ogLcguAR6kjJQyfhrPh Oh3+EnVrGfoQxWY4ypACzBnmG/O1HQzbFEkkv0SlDNM8fgEU1AcLnBic63tAerwbeOdJ hdQ+EhQwLkcEB8D9muF3LdQ/PVanhFlZHT9dPWeH3g6gT49O4xD7IHqMcHhapI8CdbhD JNgg== X-Gm-Message-State: AOJu0YyZOq8aDHkbTW3lgItqaulIQpI7l+/M066lmqGeQfLPtGYS8nKP opZYwZ3quGKYirb2wYQMObjx3vA26I1i2g60yp66IcMIBImbrgU+uvQsnuIrIUxBt3DIN2K2Jeb ih9Uw X-Gm-Gg: ATEYQzxbK9oIK+plrHulANRmziD8pieTLq40hycq0+wTZ0rPGuNZl3VjlozbXzrQhnW QZFdnfcdE9n+i9a9ufpjVr/lPBOYzAZnx+XwjfewxjeQod1I1gnWDHyJJ15Ty8f7BS0UfELRbk2 lzBXDivEYWpNSvj1JoRH3yB563P1NuPUGZWuz8FPvbLNRWDiaXZBVgvo1UvruWQbwLJE4z3xnTQ sxDF99qgis3KISxxw7ZhGCrhhAMR5/c6v1+soo+9dIJfBNhbv79GV8bvTaQr3wb4Kyiq4D+mfNq 5IReBVxQedBE8K/CFSW539wRJxrrQ5NgQYMWwoq3rU0vqzvKVErXnSyzyKJVQPWzlEf0L1VDct0 7dJm6BrfSbcujIgAzzBafhAjm4u0OiE2YwX+9resMJovP396pHlo8ev86mUfrfIvMlINKFy1KHr XomFIu4oK5FoieObhz8u1ErPagF2T5XF4O0EAwSO+4fHB6QddptPWlWEYy4SkGaDjW6cLejYe1P 8ts8DG8zPM= X-Received: by 2002:a05:600c:1c21:b0:485:5ba3:37d8 with SMTP id 5b1f17b1804b1-4855ba33bf2mr171648935e9.5.1773657771056; Mon, 16 Mar 2026 03:42:51 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 17/17] tests/qtest/aspeed_gpio-test: Use g_strdup_printf() instead of char arrays Date: Mon, 16 Mar 2026 10:42:30 +0000 Message-ID: <20260316104230.836962-18-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260316104230.836962-1-peter.maydell@linaro.org> References: <20260316104230.836962-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::329; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1773657832965158500 Older versions of gcc with -Wformat-overflow=3D2 don't like the usage of fixed size char arrays in this test; gcc 7.5.0 (SUSE Linux) says: ../tests/qtest/aspeed_gpio-test.c: In function =E2=80=98test_set_input_pins= =E2=80=99: ../tests/qtest/aspeed_gpio-test.c:149:36: error: =E2=80=98sprintf=E2=80=99 = may write a terminating nul past the end of the destination [-Werror=3Dform= at-overflow=3D] sprintf(name, "gpio%c%d", c, i); ^ ../tests/qtest/aspeed_gpio-test.c:149:13: note: =E2=80=98sprintf=E2=80=99 o= utput between 7 and 17 bytes into a destination of size 16 sprintf(name, "gpio%c%d", c, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This can't actually happen because of the limited size of the values being substituted in. However rather than require readers to check whether the arrays really have been declared large enough, we prefer to use g_strdup_printf() for this kind of string work. Reported-by: Fabiano Rosas Signed-off-by: Peter Maydell Tested-by: Fabiano Rosas Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-id: 20260310153334.3063224-3-peter.maydell@linaro.org --- tests/qtest/aspeed_gpio-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qtest/aspeed_gpio-test.c b/tests/qtest/aspeed_gpio-test.c index decbba23c8..029b3731d1 100644 --- a/tests/qtest/aspeed_gpio-test.c +++ b/tests/qtest/aspeed_gpio-test.c @@ -140,13 +140,13 @@ static void test_set_colocated_pins(const void *data) static void test_set_input_pins(const void *data) { QTestState *s =3D (QTestState *)data; - char name[16]; uint32_t value; =20 qtest_writel(s, AST2600_GPIO_BASE + GPIO_ABCD_DIRECTION, 0x00000000); for (char c =3D 'A'; c <=3D 'D'; c++) { for (int i =3D 0; i < 8; i++) { - sprintf(name, "gpio%c%d", c, i); + g_autofree const char *name =3D g_strdup_printf("gpio%c%d", c,= i); + qtest_qom_set_bool(s, "/machine/soc/gpio", name, true); } } --=20 2.43.0