From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 4sP1Etq4vGkQ/DAAWB0awg (envelope-from ) for ; Thu, 19 Mar 2026 23:02:50 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wihx/JMA; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 39E281E0BC; Thu, 19 Mar 2026 23:02:50 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 500551E04F for ; Thu, 19 Mar 2026 23:02:49 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id B6F0E4B7A1C8 for ; Fri, 20 Mar 2026 03:02:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6F0E4B7A1C8 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=wihx/JMA Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by sourceware.org (Postfix) with ESMTPS id 1DD7F4BC89A7 for ; Fri, 20 Mar 2026 03:02:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1DD7F4BC89A7 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1DD7F4BC89A7 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::112f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773975743; cv=none; b=pX9BXqqCZNZGc1EdGk2QHiT1T4zQ57vY27YB1pXxj/nY0iHMU4ve0N2ueIpvXZSmIaFizec6rqellXslhO/7pnbwSZWK9L7MPCmhXj6rxywXGYKezTerbyuh1Hs2+ntQAi6YTJywP9xtWHkKVOCPuHPkgDiTnebPoKEOJ1Vpewg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773975743; c=relaxed/simple; bh=cpSf0vGG8RFe26F1JxS6SUR+BvCyguw6e8Lxvpm6gYw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=k2jMMI5WeM3uaJ32eRSe9vmbHZTxcDAXvkh05MyKjwzUNT31YBXXIxWqnGIjej15JsZgBOjIkyiW1Qc/OjgD06uvAzvXIAQOUIAh7b7RiQYlDhlZBvJUSA9ftIJXvm9NkXc7FYQhK/FsPPOIYn0h2PUw1hEQ3JzjoGkWehSo9To= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1DD7F4BC89A7 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-798374d0f44so39512407b3.0 for ; Thu, 19 Mar 2026 20:02:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773975741; x=1774580541; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cpSf0vGG8RFe26F1JxS6SUR+BvCyguw6e8Lxvpm6gYw=; b=wihx/JMAnIbRp5N+p1DRuq3/GCMMI24vRgmpgQIemrOksxG1fE0ID/I/bdTzDpFXbv H9ibGWHxkYe3kKAFVALgJCR+QvnPUlRmnqUwc1QAzpoRSGefgilomg26bZHqLIg/R23q aZVFsFovxXcY4EJi9+7tzMDnLK5EG8y3xsqULF4gkmyjVh98SQUMnQAqh0JZiK3VveVk 5eRryleMPdXnb/4kboRxkDXyfdxertFrUuFmZKgOWZ1qtPNspjq7wBXvohz6ioi7qfuW tyV1YZ+QCg8+mDQoqoUkb+iM4cNuwY9p+hiu2pIb6eGHLamPa8lv9HpTcrFUiOkJVYZ7 M54w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773975741; x=1774580541; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=cpSf0vGG8RFe26F1JxS6SUR+BvCyguw6e8Lxvpm6gYw=; b=XiDcfhs9ctZwaVhigAVLVjEyMxSO6Y+oaKPzX/6FFDcyH6NqmFeuPdm6YEKvcBKNwa FPInmr0JjrJZqN0mKypX6afVbZK8h4YJiMbO3qkfPlziFp05gr/weiQt/Eha1NDUMePm ivsVxcAj/idqeNYtH3Gk73LoV3FltTHlkKxVj2H3rzgZMkwl1VjdykkDhX7XgXMVRSos DQbu2lnD9nCa8AKfofb8VnfWqKZSXB4fBorLONXvENIhStfoCx3hP/qFRzDnqIgfmiDD d6+zNzctiXnW4kuc2N40/IWKkbb3SoUxn6YqNbRieOiNj1OZya+X44RsoIuOmzkCvmJx Hs3A== X-Forwarded-Encrypted: i=1; AJvYcCVvCaM4OECsB3ERUdqR5Tly986PqtrXbBU2BAK/VuizaqWoyj+3lfEeR+bF72ZYN6+3KDzs6TlNF+zvwA==@sourceware.org X-Gm-Message-State: AOJu0YyUcVMMfFQ1DwYiFWvSy+XkABqL8pbwYiwd0AdMzmAY9gouhkBK YOtGrHtiblYNBwZAgJrOW+a4FXG3MggEazJhYhClcABqhAETVpoFO+FU4xzrhlslpRc= X-Gm-Gg: ATEYQzzd+jzIp+tBI/UHdH0jTCZGrrfsWtbfKUF/TtZBpaGfDHr1z14ZCXzhIrBYz62 JmA0gey9AQa7vReO+XLl7OyWplYsea9EmhtWRSTa6xrR4Qey1lbolpnS20irB4GU4zYt0tEeFNu NBs6YzQV89WfgzIRSwOWRAXzqNM49PPAZugMj8+/QXediIGBRTPrLSRZdk/6L/5kogbUXfdqmVr nIABlSgsFohXZ5UfFEVwB/cZ3aOrXUkTK9ocGZ9ycpNe/3JD4hBg+TRRIjK/fJZ11v6g2j4t82F xeSguofukkZv0CAqngcmzocu0c9QBuXisApav6pIMIobh8jvrKnXkMH5hN18qJkkweb4zhTouKj kBM19JmNzR1/Quh0UQjeAVCzt7ZzM83ZUkg/mzBlwGZ/hOrNfKQmjImazIiCit4dBpjhwMhaEgd FLOBytpzc42R5hdyjSaF3bsCer7tAJhSsndA== X-Received: by 2002:a05:690e:284:b0:64a:eda9:8ea9 with SMTP id 956f58d0204a3-64e9cb794fbmr3740486d50.2.1773975741422; Thu, 19 Mar 2026 20:02:21 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8083:f04c:42e3:5943:38f6]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-64eabef7822sm623011d50.21.2026.03.19.20.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Mar 2026 20:02:21 -0700 (PDT) From: Thiago Jung Bauermann To: Peter Maydell Cc: Luis , gdb-patches@sourceware.org, Manos Pitsidianakis Subject: Re: [PATCH] docs: Clarify gdb remote protocol AArch64 SVE and SME handling In-Reply-To: (Peter Maydell's message of "Thu, 19 Mar 2026 13:41:16 +0000") References: <20260129181122.1426596-1-peter.maydell@linaro.org> <57424b3d-a34e-4fbe-9858-d45b8dd49150@gmail.com> User-Agent: mu4e 1.12.15; emacs 30.2 Date: Fri, 20 Mar 2026 00:02:18 -0300 Message-ID: <87ldfn6w5h.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Hello, Peter Maydell writes: > On Mon, 2 Feb 2026 at 23:41, Luis wrote: >> >> Hi, >> >> >> On 30/01/2026 09:36, Peter Maydell wrote: >> > On Thu, 29 Jan 2026 at 23:18, Luis wrote: >> >> I don't feel comfortable setting this is stone before we have a >> >> patch that clarifies how this separation between SVE and SME is >> >> achieved. >> > >> > I agree that we don't want to commit this until we're happy that >> > it's the right thing. This patch is my attempt to put down in a >> > concrete form how I think this should work. >> > >> > When you talk about "a patch that clarifies how this separation >> > between SVE and SME is achieved", what do you mean? A patch to >> > gdb? With this proposal, current gdb I think should work without >> > changes. The changes Thiago has are all because of the way that >> > the Linux ptrace API has chosen to represent SVE and SME, AIUI. >> >> We need a couple things from what I can see. >> >> First we need to teach gdb about SME without SVE, and that's what Thiago >> is working on. I=C2=B4d like to see that patch first before we adjust the >> documentation for the SME-but-no-SVE mode. Just to make sure things matc= h. > > Hi -- I just wanted to come back to this thread to ask how > the "native (ptrace) gdb SME-no-SVE" support is going. Do > we now have that landed, or at least solid enough that we are > happy to update the remote-protocol documentation? I was about to submit the patches when I ran the full GDB testsuite (I had been running a subset during development) and found a few regressions I need to fix. I don't expect big changes though, and I will submit the patches soon. The essence of the changes is that if the target has SME but not SVE, then GDB uses a target description with SVE but with vq =3D 1, meaning that the SVE register set has the same size as the FPSIMD regset. --=20 Thiago