From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oYC3AJQMgWmftyQAWB0awg (envelope-from ) for ; Mon, 02 Feb 2026 15:44:04 -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=AJt2cQlJ; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E764E1E08D; Mon, 02 Feb 2026 15:44:03 -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 3DDE01E08D for ; Mon, 02 Feb 2026 15:44:03 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 968F14BB58C3 for ; Mon, 2 Feb 2026 20:44:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 968F14BB58C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1770065042; bh=iqBZuAx6RC7dPP8VzXcCROxU9Gusjn+cNpZOOoVnNXI=; h=To:Cc:Subject:In-Reply-To:References:Date:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=AJt2cQlJiAK8xy8uhbrdNHqcJiXzKZgAdRZwUKDXGxntpW6zsr7bHQwv/BywTc/BK Zf1EBGVmA1kCp9FlO79nPtWXJN4MgM8WcBMMwOjgcyCM3d0vL+kC5T9igDuzkvWFH+ wwLlkVlTZIICZMpfWq4przpf/8vbh5RONO9RQYHk= Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by sourceware.org (Postfix) with ESMTPS id 8E8564BB58B7 for ; Mon, 2 Feb 2026 20:43:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8E8564BB58B7 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8E8564BB58B7 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770065007; cv=none; b=PDsKfBOGBHawScYrZiYGN2zGRfM8wS1WR1l7iolr4bttzW2xuCRACvzAYByoPaZBJhskFuH5y8DQIwRowidNRkzRBOeYs6T9Aq37cJuoyptF77kkzegmxNYnCkOAmiK/IycLTwB5v2mDjgQ4lH1dqcWTmgNhiXDRjPAePTYndLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770065007; c=relaxed/simple; bh=zW8zMDnhQIB4W8Fg87ycftFx5wdJPvmR2vyA5QjkIi0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Y/erEXliZyB/acQ41aUG2zuWEOO1qfd8rujNXZjKKhoukKBX6cQ+5QjzwkOtbUF1hO228e6gRyZ5xVD6AwNjTn7GnrSha7HN53tBM8QQB//MmoVBaGLGbmFhgWP/nbNrgLZVG/wkaESjds06+eq6bDk7i5yZW2oW5FId/320Bq8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E8564BB58B7 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-7946a1f2430so46498557b3.1 for ; Mon, 02 Feb 2026 12:43:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770065007; x=1770669807; h=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=iqBZuAx6RC7dPP8VzXcCROxU9Gusjn+cNpZOOoVnNXI=; b=JhHo8BA6fZql+TDSiJhk8jnu7gsVo7C3IyiADqtsMKvEMOg9Ew9dmavnD8XtzuGzS0 PdyWC+xKjTtWvAIBNd3GK9VNM+W8+ta1nCFIqEAGKexb+peXtg9o7vaBWkyNS1GI8/9c EYSOmkMlsu7uVcZbqzfZi5NH5qn20CxztzKyij9f3GRFOSoFBxHYvpdnYiata7+6TpEz ervqeoLsntTm+2niPsg3Wg0ouCTj7b1FGdsG8Oq9bDiGJGENZTt8wfjj8oKE6rt/z56K oejsK0h1UdU1UYrUyOVT9e5pZvoxMS30td8s4Xsyt1uC23WdzRlbVkGO/R44rv3ksBoj oNQQ== X-Forwarded-Encrypted: i=1; AJvYcCWjnLjUCIcbiN8HH5e9pf/7UYeqI/shHah7FBGl6OEq+ZQU6htARNDiLrkkCKJQ+NgEj84=@sourceware.org X-Gm-Message-State: AOJu0YxHtqYr2OT2JN9OkYulJv9khcnzgXW6TJ55AJUnXlQZFi5U/slQ r53hkTFb/i6/TKRt9YhdxWK08O60FomaOx/jhwQ2mJ2dH6EjwkH9V+Ih/Pipm2v/lwM= X-Gm-Gg: AZuq6aLver1nb2Pmr+6sXbzAf/hMs2GvtIpniQ1R83VtexnNjf+FN2mSnD9NxPV8M3+ 334Mk1To/tDPv1ggRvCOyBABZiniP2ppEPYbFoOwtINTdppcmX/PUghCjtcY6Sagp+v4xf2/9ms S4uVVxWlsP5UNoN+bPywZ40sB5888jUotOeEdZpU7WbjdqgVYPeqpthCjH0pvFX6PDkFHyc8ZuW yyfHndyJHUpCtWsR6UUv/Zje4V3s0p8la3ovtqBghwFUbFoAO7f/wGO1zhGU04u7qSPumxVwzcl 5YIhU83U93DHzcVoWkftdTgJtaSHgjpshbV4IcCcmm4O3oc2crD6YuWL1ANffdkgQXELdPHoqsx kvwSzqKiDR58edyPiSzuQMqcTedFigFokiTigzceP1+m1YEjvT3/i8lVI5ufKh93/e4R2kyGiWO vPIzOcIzKVHxUA+l5bLsAWsPNwwg/+y3ZD X-Received: by 2002:a05:690c:113:b0:794:d1a4:dc92 with SMTP id 00721157ae682-794d1a4ef58mr45289957b3.38.1770065006847; Mon, 02 Feb 2026 12:43:26 -0800 (PST) Received: from localhost ([2804:14d:7e39:8083:f04c:42e3:5943:38f6]) by smtp.gmail.com with ESMTPSA id 00721157ae682-79482762e59sm93186927b3.7.2026.02.02.12.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Feb 2026 12:43:26 -0800 (PST) To: Peter Maydell Cc: Luis , gdb@sourceware.org, Manos Pitsidianakis Subject: Re: gdb support for SME-without-SVE ? In-Reply-To: (Peter Maydell's message of "Mon, 2 Feb 2026 14:06:11 +0000") 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> User-Agent: mu4e 1.12.15; emacs 30.2 Date: Mon, 02 Feb 2026 20:43:24 +0000 Message-ID: <87343ilvv7.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain 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: Thiago Jung Bauermann via Gdb Reply-To: Thiago Jung Bauermann Errors-To: gdb-bounces~public-inbox=simark.ca@sourceware.org Sender: "Gdb" Peter Maydell writes: > On Mon, 2 Feb 2026 at 11:01, Peter Maydell wrote: >> >> On Fri, 30 Jan 2026 at 19:01, Peter Maydell wrote: >> > >> > 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 asimdrdm jscvt fcma lrcpc dcpop asimddp asimdfhm dit uscat ilrcpc flagm sb paca pacg gcs dcpodp flagm2 frint i8mm bf16 dgh rng bti ecv afp sme smei16i64 smef64f64 smei8i32 smef16f32 smeb16f32 smef32f32 wfxt ebf16 cssc sme2 sme2p1 smei16i32 smebi32i32 mops hbc poe lsfe >> > > >> > > I still get only passes in the testcase, but more tests were run now: >> > > >> > > === gdb Summary === >> > > >> > > # 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=on" >> 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=off" with no 'sme=on' 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=on option handling and a few other > minor things: > > https://gitlab.com/pm215/qemu/-/commits/sme-no-sve-3 Great! Now the results from the GDB SME tests (running all aarch64-sme*.exp tests, not only the sanity one) match what I get with the FVP. I get some failures, but they are problems with my GDB branch. This branch works fine for me. -- Thiago