From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id b0QnG2yEgGkYKiQAWB0awg (envelope-from ) for ; Mon, 02 Feb 2026 06:03:08 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=d3SHkxG6; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 627831E08D; Mon, 02 Feb 2026 06:03:08 -0500 (EST) 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 5B61C1E08D for ; Mon, 02 Feb 2026 06:03:07 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id BE41C4BB58C8 for ; Mon, 2 Feb 2026 11:03:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE41C4BB58C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1770030186; bh=SesEnIvpS4Yg0594ifqB+XAoRy5XAk7wQ8B1tsJ+ntc=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=d3SHkxG6ofNZHMC3kzouTx1UJK2scXbrwlUhtuEXzwtbUs9/DcGpdSc974+wrIPl6 ILyYkodiDNk+WBYEq9uxNymA+cC8a46krO0PNwtzstisiQUeCv7t2s+GjysWMcMZ/F YLQv3ZuC+Z43lRlnML2bpNkU/+desWczQTInJIno= Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by sourceware.org (Postfix) with ESMTPS id 8E8224BB58F4 for ; Mon, 2 Feb 2026 11:02:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E8224BB58F4 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8E8224BB58F4 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770030126; cv=pass; b=kgYnoRl29ER6zJ163t5BkOx8MJe2oEJjLnA2KCnMETLcrNjZRi9HKS5Wv0VZXPtKf/diDKwT3f1+teyWDDEAjnAqO3gKSEV3h2udtmrrXUAdSzXG22/Ti8lQ4HEaMncZlyvYJJxwvhz/6M9TCE7AupMj9Y+mzr4/tObMDKH19G0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770030126; c=relaxed/simple; bh=O+yD5NmfAptaE35pBg6oV9shs8vmy4XkM7mHDhKiBVU=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=Dsudx+Wt4uD8qQkxd9q3wXmNcDTEguPz+eEgvuEq1LZNmfEptbcHUEjfWPPC0G9vhvYaiq6XRCOJCJzdJ9/zDoGrdwuEWFc27mvJic82HOILML08yc0xbUhRV8mtvw4cbV8KH+hzPb2XzQaPWhLq46bnW/3a2JzimJI3OaaFAcs= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E8224BB58F4 Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-79274e0e56bso40035947b3.0 for ; Mon, 02 Feb 2026 03:02:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770030126; cv=none; d=google.com; s=arc-20240605; b=iJo8kdAROAzlPAYh4V2LuVuMaUlCKrZsbhSE05yIb/ug8yTsObD4ofhnxrMk97ew0x gQGJC15lXqjTUkc3IASJ3HuX4LG1ywDEfGS0VALp92BvnCFmUPPJddDBiZmJRjfPSQvm S72zd93a9HjZ6AF2Kl5dU92cKBhh4/XaeSDuBTTPSaxNpkcxADOZRlceBgMHcD8WNf+e hVKPCFLpcoKduc4cZfcspXgBEZT4mKLxWX4VlcvcAQtcEbxKD3W1OgN8H2Z4mr/PCo7R CsAwbJi/PQbbidiLr1bh/a5BV1IFbwop73l9wOvpRktz+GOFF1ixUs6Wp9jmJM+yTGX9 mSnA== 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=SesEnIvpS4Yg0594ifqB+XAoRy5XAk7wQ8B1tsJ+ntc=; fh=wsIL1lSXeINcCQKidOqNeyWJP2KXb8sU73gYHb4timo=; b=FDGIZq6+gGtOw9JZf4mbu/CrGqgjExXKTqGiTjHSjLsFmwb0GYcsanp2n3up/8MkBD 0m/jTKk7HjB0irwJ9qvo6iRPeewqT4PXXc3p44jUPXnDyMvdCq+Wt9wk5HR28EvSSS+0 ly6w6rayk5M47tp/cnEbB7egme/35+jOzuNm75Od4hLc897fqUoG7Q5EhNyODmWgAkN4 vYP7JFKlL2HJxjdKAep3FzaL8dENSStk9F8VGNzMdfScpsj5aqlbRe0DqxVaLi5vOADl KWLRIsrWNPiJKe0yV8jeiHm40Auw+o8sk1ZBh027wtcYijE9Olr5GUV+JMnIIJPVLnp4 eiUQ==; darn=sourceware.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770030126; x=1770634926; 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=SesEnIvpS4Yg0594ifqB+XAoRy5XAk7wQ8B1tsJ+ntc=; b=GguVbN9XhYeKNXCjYOvgt6qPuM/V2Asfr93hbLFRavQn1MhyYhL3cpxxVIWpvETN2u uU40OnMFRTEGpomAvWFuz70e93WZYHUuTFX2x4NOiunLEiNapujNgr6Gef3C8xhaYZY6 OKMg47mb85ZwVgdZHZAOh3ogNjJLnSMoRuDYTiGpH3nc5g78g9nG/9WUvcaNyBXW92eQ vn/V7p83cC/UpqBUBHcaquwGog92u8t98tuno6TPVf0o7tK0S7Zks5iyWvkRfmTj9a+2 QegQ5YW/bDjJjDYJWojDv+GC5ZauFTxhAiQwcNtUcsfZuX2wB4Dz4vaMxA8h+iTR72dq uCxg== X-Forwarded-Encrypted: i=1; AJvYcCW+BtiHcUs+zwxuVHLu+6hijdc/6jgnYn9CXYRgflmsaPRU9KPSzKVZBE++KfLVWM8NmEw=@sourceware.org X-Gm-Message-State: AOJu0YyB+o1SmGxvlSnwQHmROh1oIGIc01rkOGkJid+IZHMTE/KxfLLA TnurAfOhR3pmXyuxIjCAqcgU0jxqRVE7IM/n9RKeDkXIMTyUDVXjx4UM8G3kVzkQC6dyHWqpCAR zp56sH5QhvYNXqqbQG+3kzdqJyiH4YbudKSM3k689eA== X-Gm-Gg: AZuq6aKOI9lApBhwx0Y5lu4tKpc4Ey2Mk42RGKxN7En8YF+ypH65gmP6nv8f/p0VuAq oxloGbnbVJZTHK0ml2oJdXOwiRL74nlReKk7OrT4DMhYILxObajfFrkEk7xbjnwMY3kLCCwMpRG tnTmK1LQsw6u+ZNg0W3ey0ET1EnfqETUuRovHqpdgioWYk+5j79IBkEv80PP+QVc1wbzJutpaSE rnAXrPtY5QxLJpn/3tKW0qOOsHYR79pjqQDV0xzeXbsdS6JJgmn5vhAt9fEyaxtQcOjrSGUUcO9 VRjn X-Received: by 2002:a05:690c:a92:b0:794:8d58:cac8 with SMTP id 00721157ae682-7949de810c1mr96590157b3.4.1770030125463; Mon, 02 Feb 2026 03:02:05 -0800 (PST) MIME-Version: 1.0 References: <87ldhigyao.fsf@linaro.org> <87tsw59hwu.fsf@linaro.org> <87a4xvafmv.fsf@linaro.org> <874io39iuk.fsf@linaro.org> <87y0lf81yt.fsf@linaro.org> <87sebn7ymd.fsf@linaro.org> <87ms1v7xmh.fsf@linaro.org> <87h5s37wqf.fsf@linaro.org> In-Reply-To: Date: Mon, 2 Feb 2026 11:01:52 +0000 X-Gm-Features: AZwV_QhRMbnZC2_i8G81uCixvXugqNC16V1aypq-z4HE69W_d6-gXdPnpTqsl4M Message-ID: Subject: Re: gdb support for SME-without-SVE ? To: Thiago Jung Bauermann Cc: Luis , gdb@sourceware.org, Manos Pitsidianakis Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Peter Maydell via Gdb Reply-To: Peter Maydell Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Fri, 30 Jan 2026 at 19:01, Peter Maydell wrot= e: > > On Fri, 30 Jan 2026 at 18:59, Thiago Jung Bauermann > wrote: > > I was able to enable SME2p1 by adding these options: > > > > -C cluster0.sve.sme2_version : 1 > > -C cluster1.sve.sme2_version : 1 > > > > Now my features list shows sme2p1: > > > > Features : fp asimd evtstrm crc32 atomics fphp asimdhp cpuid asi= mdrdm jscvt fcma lrcpc dcpop asimddp asimdfhm dit uscat ilrcpc flagm sb pac= a pacg gcs dcpodp flagm2 frint i8mm bf16 dgh rng bti ecv afp sme smei16i64 = smef64f64 smei8i32 smef16f32 smeb16f32 smef32f32 wfxt ebf16 cssc sme2 sme2p= 1 smei16i32 smebi32i32 mops hbc poe lsfe > > > > I still get only passes in the testcase, but more tests were run now: > > > > =3D=3D=3D gdb Summary =3D=3D=3D > > > > # of expected passes 286 > > > > The sme2_version option goes all the way to SME2p3, but I didn't try > > that one. > > Great -- this must be a QEMU issue. I figured out what happens here -- if you use "-cpu max,sme=3Don" a QEMU bug means this messes up the ID register value passed to the guest (it forces the SME field in the register to 1, downgrading it from SME2 to a weird thing that confuses the guest kernel). If you stick to "-cpu max,sve=3Doff" with no 'sme=3Don' part (relying on the 'max' default being "SME2 is present") then you can get the full set of 286 passes. I'll fix the QEMU handling of the option, but in the meantime you can use that as a workaround if you want. thanks -- PMM