From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bNIIIYWvgGk7ViQAWB0awg (envelope-from ) for ; Mon, 02 Feb 2026 09:07:01 -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=MDwy4LX8; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 77D381E0DD; Mon, 02 Feb 2026 09:07:01 -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 839901E08D for ; Mon, 02 Feb 2026 09:07:00 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 018CD4BB58C8 for ; Mon, 2 Feb 2026 14:07:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 018CD4BB58C8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1770041220; bh=zLkanCff/IRT3moqYXLpHjnCJwRvfNO+rHU4pNNUvIo=; 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=MDwy4LX858ozUR7L+QbVwJIYp0MTtPiHsXCKfn5bCvmJIFBRDlVxmgo9+sXzCs/Je jPvxmp0BOEwkgw5EVftK8lzOLTYsGrSSrMxuuAUINsrQawUDWEs4qw3R22fYMirrb/ hRuCuCcbzWRBBWsyx17GCZG+j2s9IjwA9WElAkZA= Received: from mail-yw1-x112d.google.com (mail-yw1-x112d.google.com [IPv6:2607:f8b0:4864:20::112d]) by sourceware.org (Postfix) with ESMTPS id 48B144BA903E for ; Mon, 2 Feb 2026 14:06:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 48B144BA903E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 48B144BA903E ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770041185; cv=pass; b=RjBLiA+7ZeWwag8A4kBsdexgGRIWW9xs5EteyII2rKvNiqueaImixAY8wC05wh3sJoIaSv9hM6hBDdyUSnnZT+hAl2mnSyzubOpB7S6gzFAvl78/HsRnqBh4C+WkrsFKdZ7ToGpQ6rSAXnsLd0/8pxLM4qz/AhXVB3W4RsvjrIw= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1770041185; c=relaxed/simple; bh=j37ioDIhQax2Bt6cKzvAckjnW73tJjS9gdoavxEJyUE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=jDHq5VJMfck5Aq3AQimQDrYTpiFavNANrzAG8Ch6Ft3JvqlYgI//0Zm53hfv6gHdB9pJbcthSnZgRJDscxzbw1YoCoLI8L1LrrJRLn/mykmSSMYaoAcl0Ttae0ZCqiB7dYTv/owDG2PStoE7kCXmwxaWEwh0nyjL79thAgDJfrs= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 48B144BA903E Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-794e95357cfso2555207b3.0 for ; Mon, 02 Feb 2026 06:06:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770041184; cv=none; d=google.com; s=arc-20240605; b=EoruVdsG/fCWkocFsWgKE1odOyZX3fUyhnCkMJMINxqMTMdhaCayoYSEe2eYcP258V 5Zk4UA91IqEX0uFdmfxFBwGc3mqc6FuV0nuNwYspwkwxGhJylEOVQu3jn+NCCeWartGa JihwfHbOAZWFSufTs5v3H7+wq6HKLiAUaD4YHF9hmZeyLxmafGcO204T8TjpqIWjf14M j5BTICTKjJ3FkAyHn95M2tSMocuEuwsLKnA1jxJSuwaZlPYMm1nK71jKyiZg4Rrh0mzb Z7yOFGZXF6jN+Ckh4ozTv8f6UQi8sA/6+yme1Jkj0cUWZZ7je2RfvS26Bk7zXdbaiQL8 bHbA== 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=zLkanCff/IRT3moqYXLpHjnCJwRvfNO+rHU4pNNUvIo=; fh=cGtesSI+qm1G0C4udDEkowDi2k+KEAXOz3Vxz1LjsDA=; b=jdYdL8GXQ6w2FoxvDN4Wi80mBWExQ21ZpcuWvLpIPLVbto1d7OK6UfeXHVwCN3e89n nGLJszeyW6xAibY8j/oBg/0tNRCdDBWZYFFsjcNLR+7ucAXc/qY1R2KtFxS3/4Z5GT2J 5HBbR0w5CpF3d5o983XLkmWRBaGt6cy2a/Nq0X3ZjCP1JhpPltWQrKJeEJwCx158mM3q Z89khL8o8j3SCjvmK9jhJ+QFj94epaNeh7T2UGuze0hoJb1MHbp5cU6FxiP57+Rgwk05 WYx1cyvG8Ir/rM+C1A2of8VFi2NtLXK3oP86O/6roRZwlnR2JE91f4RhA6Z6R8x8jYZm vh6w==; 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=1770041184; x=1770645984; 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=zLkanCff/IRT3moqYXLpHjnCJwRvfNO+rHU4pNNUvIo=; b=K4OJLZlqM93n3Y+4PRlUCPVVlAdYi/iAI6IbkO80J+6/tQxkrLS1fhdqHvOhdze0gs FdhKdTxq/j4ODniwfDS0bTHx2DwX/cGWZp/9wDS4E219fmk13TNQTmscStNKg35cEb3c IttU+E/GQx9EYj+hZnASckOqPLSWV+8zeCvjtCKyF7gJegMVTzYqTjJpChyb6R51yhaJ 2B4KpVrXg8TF+5zqIdCAQel/wmujy+Nbxot1ucAiHLdqckBJMGI+iftYsECyiSme7K9p bgRFzWisnX7baCbQ4bse0U2rrcM3nFmh+Q/IjVSP2dOFdbSFOLmATD/ps3yxtg/HTLJp zZFg== X-Forwarded-Encrypted: i=1; AJvYcCXiKoFnV9Nks4OSLrZz9uXi50CKZN4kc0Q81qY8vlYsqQer/Q81NIcrIqQJjDuiTW3qTw4=@sourceware.org X-Gm-Message-State: AOJu0YxiVHi5diVcA7jMfJLP7MhkutDgSM6KTBsYX0vlH6HI5ALQ72/3 AU4tHclWj+7nEWW7k/tZT5suLUi8edx/nJ0RCGGqD/4lUtukxRpu61I8PbTOT6dzqy5NK0N1Q34 aqXm4k66ZyT1Dlx8kj2pkiIXG6iJSW/Xkfjx/z88DNSlvrN0bBvf7708= X-Gm-Gg: AZuq6aIBndF91Qu170bdK31e8NF7Fb9tstSR1mXZ738eW5DaCfNmk9Djj/ImI1J6kN5 viiNEQg7bcR9tyk5yNir485D0hEVVS8SaYCgqaJXcTqXPDFP2TwIKQLObtcTHeNkGe1n+hDotZt ZzFqt+HaT9b2LbVtYrKNWl88Bf9yL9pkzJKquPYy8DgY/vfTcoxM3G623LzjK9s5ki9wmKmK80N qW/wrWHa+FVx0MPF0ZkyxiLtmPPqI1pYwyNTvhgwKC4VhrFhoUQRug0AeZtAKHhKJFZPGp9Eqlo /iDg X-Received: by 2002:a05:690c:4b06:b0:794:e88d:c63c with SMTP id 00721157ae682-794e88ded68mr6421457b3.67.1770041184562; Mon, 02 Feb 2026 06:06:24 -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 14:06:11 +0000 X-Gm-Features: AZwV_QgsnJLeZl7DLWqFkZxlRSfeGBuFbKgz1U2g-iJZSF7WRao6XdCxdZAnnTw 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 Mon, 2 Feb 2026 at 11:01, Peter Maydell wrote= : > > On Fri, 30 Jan 2026 at 19:01, Peter Maydell wr= ote: > > > > 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 a= simdrdm jscvt fcma lrcpc dcpop asimddp asimdfhm dit uscat ilrcpc flagm sb p= aca pacg gcs dcpodp flagm2 frint i8mm bf16 dgh rng bti ecv afp sme smei16i6= 4 smef64f64 smei8i32 smef16f32 smeb16f32 smef32f32 wfxt ebf16 cssc sme2 sme= 2p1 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. ...and I have now pushed an sme-no-sve-3 branch to my gitlab QEMU repo which fixes the sme=3Don option handling and a few other minor things: https://gitlab.com/pm215/qemu/-/commits/sme-no-sve-3 -- PMM