From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id JaGrNsYSvWnSQTEAWB0awg (envelope-from ) for ; Fri, 20 Mar 2026 05:26:30 -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=ESZzXYWn; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id CB7F61E04F; Fri, 20 Mar 2026 05:26:30 -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 A8FFA1E04F for ; Fri, 20 Mar 2026 05:26:29 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 091414BAD170 for ; Fri, 20 Mar 2026 09:26:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 091414BAD170 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=ESZzXYWn Received: from mail-yx1-xb12b.google.com (mail-yx1-xb12b.google.com [IPv6:2607:f8b0:4864:20::b12b]) by sourceware.org (Postfix) with ESMTPS id F0B7C4BA23F9 for ; Fri, 20 Mar 2026 09:26:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F0B7C4BA23F9 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 F0B7C4BA23F9 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2607:f8b0:4864:20::b12b ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1773998763; cv=pass; b=RwewDWZ7Xi13hd4/CSp4JBmqkHPbbAFsy2dd89s1lsEL/Vrm5GT7pd7lW6513hOLRjW/XoOKP6EUh68wKEBr+ZO4c1tDvRF8hrYA1pFRl+mpeTtD3UUNVuWVWBD6HkdVPq6MTypgV5xS0SqK8JmXeBl2NHHqV9ajEb41QNSrj+U= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1773998763; c=relaxed/simple; bh=X9PjexnaxArXvXg3fVfxvt5K9khI78/+jbjy5stUWII=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=etLmZaKkKH6Q05cj+MOEhsGH0ZqcoymowZKkRUOugwctrUlDhl4bmC4k5CwgcUHEBxkBo4yjEhHrMe5Y4ZVtP9WrFp22LZQpTw6wvL5G38+uJaUCsgsVS1CzViWUPpBr/DI3mgH1uwhCzbZJl9revrvnAUZ+pO38b8cnowWixtk= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0B7C4BA23F9 Received: by mail-yx1-xb12b.google.com with SMTP id 956f58d0204a3-64ae222d978so2045174d50.1 for ; Fri, 20 Mar 2026 02:26:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773998762; cv=none; d=google.com; s=arc-20240605; b=GTQqraooJcfeT0ebQ3s3LseHREsIemD2xeukdy9neRXzD+AO0Y815s/Kj+RL56tTjn EOkritB9XORjT7eb8fstif/ySrUHRoYswJZcrduldFXULb5BSkm25M6Y80gppOs2m3se p4UVQyi6SbaG7rx23Ypf0DCLpT3XpKWFETxnk0Yr6RODfbZNGBXv2+w6nnw3H9jA6fZv MtcoaCKFZDrJGmkFyeijDUv0bKKYjchwnGDdpVN4PvXhVkLGO4wo4F8dPpTc05XYi7+s e0emIcRvLsON1iz+d8LUY1g5EFAFgISITzcCUUFjqhUB/ZX/SrWdRsm++UfGb4Zuyy2C TQew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=X9PjexnaxArXvXg3fVfxvt5K9khI78/+jbjy5stUWII=; fh=aK5OZ7hqqewpnbZiFI6TuNzevlMAd++zx3u62JqnL6M=; b=cwkMpe69hLMIy9FlHHQnzvThnenQTKAX6mVpRxeYqyGtbyVOESlJWMytQI3UYbs1Uf KHw+X6VYwolMIMSpgWYRACczogKboZ6GtphAa2Zn1CpnJKWhQowVDmPf3rhWtqnmCoPZ KBx/QOkXQSt+U7YE0lzc/6hYcJlA/NFAw7I16rMyDJ2TAcjVcsbkWvwHmrG/mYa/BpQO CRtY6gtLHz1SL/SXpITP+iwuJVeK1sE820xhVUWoz4QdBeoWeX6R279uZSUaI0TFJKk2 aP4GJvOcuFDICxYytgBukF4zBNLfx+x/ljTG/cnhTXr5xTVcyg0CTkUUkWlEmDyaOTt1 XJTA==; darn=sourceware.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1773998762; x=1774603562; darn=sourceware.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=X9PjexnaxArXvXg3fVfxvt5K9khI78/+jbjy5stUWII=; b=ESZzXYWnKkeHUsFQPIyBkZMo2UrVoenu8KwFIhMDc/NCiwN4Dz4J2/TpYbDkyc3x5v +V8FrV3MDvikHn5qHglR6tOQTaCD4GYbxGUIU7+g/1l1fIuEkaU8Rxyel4zECqPJvyeN CCVz20GkB+U8Jdvo9F5QP6lRsuhAIHwCGTPGU7hgKAHCuuzy85Jt53f3rMoUuqlmVifs OUEZBzb2CLGh/fprzP/0KD5JDrViFeKGRVgDj1fDS2Q3coPL6CFgjLHa5ELS5chx3foD /blNeAZvRyzK1QxuzS6p9tYxdANAS/m/Mx4ccoKIsUeg3lUiomLVmNjN7Sf40y+h6ZZC qZhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773998762; x=1774603562; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=X9PjexnaxArXvXg3fVfxvt5K9khI78/+jbjy5stUWII=; b=Htu2YnbutfOasNEk48+CEg/kNsT4KhcS2kHyngyPhuiTtAS1D68IV2bxSU0t/gUvu1 EyZ7hi0rC4q2VSuadBSd5aHOm1ngxS5gS/pkjELTxYEt2j+xSM9i0Dxgd1TSin7JxH/j MBDIZ+CvYXun7dmF1PJJqgNqHonzVNv+a1gDSNXdxbsjxMuOw0h6xrzMp3v8Q0kTOG8I M/sK5SBUhZMNT6sdknFXtlqa43ZrOt3ZIuxBhWQWTcr0Pw4GLvkSltJlQF8J/lstEW5O iMXVHeWjXNnzswTsbZdaYvGDwvRX+OI9Ti+jVzpJBvWB/qUGsaf9FBLNwImDeS/+K82X /+rA== X-Forwarded-Encrypted: i=1; AJvYcCVMjQXlAdh6IG8q+QTa7ahLgjkCofV1QhDHChRr2vg9juLI46O6o4H5z0av3oZtmnDBYCT/N27kftZBQg==@sourceware.org X-Gm-Message-State: AOJu0YwPs5vHC0azW4xjUuNRCMXW52atc1ht0qFpFhnb61rvU8qm2QII TDWEYOKaBeWnmKLZIKMfNiTnHOE1lCl9jgE74oG8HEczug60/zD95TZ+SSTt+hk6zidfv4RDw66 LvkBY79ogRChx2GzMD+1WncT8rB1DtAEb17zAptebRQ== X-Gm-Gg: ATEYQzw5Zeu+ab6NejRHT2WIsSkME18lLAfO/dZRKkJ/g64Pw5fy66bMoiLx14PjENt zZmg8okYCDfutVF9KF+ftpgGdw1f9NT30B2NjUijsQm+5Upod0GuiLb/29goidKjPm1dy0Mrgoh HVHRMFJYgTGa7xcnTUZ6B2HgJqVAEMrxFHCr50gbDfFSL6etLkWCcvAgTWvV96xt5SrzJP3ME5S G4No0E+J6r8QQ5OJswgQh/9DJFQRoRjhblo+cY+kSQeWEjMzuVvnI+BZXA3wIriZ4tsTN4CMagP uKCNAhlqZkq+iZiTiN/fzGBcwB8yc/QR8hr14YhSRywF5JnUXLP1aoGZoSeYdmL9ZmE= X-Received: by 2002:a05:690e:e0c:b0:64c:f53b:d3d9 with SMTP id 956f58d0204a3-64eaa853708mr1753372d50.75.1773998762224; Fri, 20 Mar 2026 02:26:02 -0700 (PDT) MIME-Version: 1.0 References: <20260129181122.1426596-1-peter.maydell@linaro.org> <57424b3d-a34e-4fbe-9858-d45b8dd49150@gmail.com> <87ldfn6w5h.fsf@linaro.org> In-Reply-To: <87ldfn6w5h.fsf@linaro.org> From: Peter Maydell Date: Fri, 20 Mar 2026 09:25:50 +0000 X-Gm-Features: AaiRm50s8km3spNU3tBX7I18unNmBIM5YCa8IXyOYtYEUZVVdDRf4OA5ijPOcZ0 Message-ID: Subject: Re: [PATCH] docs: Clarify gdb remote protocol AArch64 SVE and SME handling To: Thiago Jung Bauermann Cc: Luis , gdb-patches@sourceware.org, Manos Pitsidianakis 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 On Fri, 20 Mar 2026 at 03:02, Thiago Jung Bauermann wrote: > > 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 wro= te: > >> >> 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 Thia= go > >> 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 ma= tch. > > > > 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. How does it see the actual vector registers, then ? Those will have a larger size than vq=3D1, but there is no separate place to report them, at least in the remote protocol... -- PMM