From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2N/0JVykfGnBmR0AWB0awg (envelope-from ) for ; Fri, 30 Jan 2026 07:30:20 -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=o4hQ98Jc; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 8C7161E0DD; Fri, 30 Jan 2026 07:30:20 -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 AD8121E08D for ; Fri, 30 Jan 2026 07:30:19 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 1AE5D4BA23C4 for ; Fri, 30 Jan 2026 12:30:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AE5D4BA23C4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1769776219; bh=cTDKnVhaUIk7Y2NYRjd5E4+LHGFGcfb3QfAXwMPcPmQ=; 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=o4hQ98JcybeVNjPfqGMQJDAEP2+pddP5vswJ2hHjtHI84yDkdhRLQ69DzBA+rLVbd qN9O1wrw2yV0RR4rF957bhutkQ+6N0tfhTVTWDyiSwlN7V8tsXngF2zvwkj+LjXhRc ieXvQPE5oNiDPwhRmK7xFFnsetxfOkrWfuB5jvzU= 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 0DC3B4BA2E1F for ; Fri, 30 Jan 2026 12:29:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0DC3B4BA2E1F ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0DC3B4BA2E1F ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769776182; cv=pass; b=dS+E4xCbdyytvJSzPw7hz7Bt01zGeEHScpuoit8JPaamUk7tM2mDiXM7oZKgdfjeMnhqJxapD9XL50yAZWtqguVWWpXowB5NIhWFYOrrUP2FDF1SNZRcBitFbKti0KXmhRmX1bc+o5QG45T1plouxpAdmGs6cAoDTpbOQKabY0o= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769776182; c=relaxed/simple; bh=T/uF5Sgh8nwcEACmDfsaZhk5j12IT+R/JvU5Sd3BLgk=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=iEujSP/dXQwN0TRry8gATLG76KN6gEaWkv3W2ieFk+WbYfUxin0AiEY82Uby1UeJsnHYlPrAhkEXkVFrfUtdZhvFefnM6M0JEVky8NEmmC6Ts/bGoeIaVIaWLfxksNGJXvlxd1crMYqm8XLNu1lxKmdi742bsomqaUzy0wcZzyI= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DC3B4BA2E1F Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-79492a2a57bso19066297b3.2 for ; Fri, 30 Jan 2026 04:29:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769776181; cv=none; d=google.com; s=arc-20240605; b=TLtX+6pamA770JQrIrhKhPbAxDU0+ebcl4Q9/STzM7AVG8S60iAH6VDW12y23dWDvW pv75qdmpn4RfroosPF4MsQwppUyivx/1rVDMTbJdhHO9TwXTPk91W/Wfgv5R3e0G+k0o uFbDzlZKomziJPKONgCZGoJsw1iESe+/PGWExyLzgeOEkLFXYcWU5Eqj/F6lrp7RHfV9 Xb531d18U2nvZgPz1svw687C1y1l8Xw2/OyAhsCekgzXTXzMy6p5meYk/bz7wxvvsUIY 4fpc9V/fW9ALvuoroHYZA4iZlHX+3Mtrnl5XRx0OqIIb4wQIZDEI9W6+WWWO5V+3do9N rXdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=cTDKnVhaUIk7Y2NYRjd5E4+LHGFGcfb3QfAXwMPcPmQ=; fh=feUGnL0OGHEeASeJXTr2GxbWONojGzWClL5VoXhgIe4=; b=Gcd3LvtHZcBXTLhKryK1wAI4niYNdjxkZP0Z7pANL5l/jQH0GqkLMJx0H6kxeNGtr4 rpY/tO8t+b+sY+juoo+mJDWEHzYFDsFv7yauxYnSy7GWdhrdHvSKbzZ4nD/jGe+i5GTY p9h+B5vlCHoYhPl77c84kaV/vjGmmy0mxWMhBz21C1Bu9RAbT+G9YECVk3fzsU+Jbo8T jnuO1zyPVpm+LxqkIGaOS+2hYRzOGvJuX+0+gnvaMRW2cBcxOJR6rFLEBVpe5i7vJQJw mkJvw2MRRI/cIhQXtFNwfNONWcqnzdc/1xHRUA44EtauzL9BqAkXGm8sVh5DUzKjs41M 7fow==; 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=1769776181; x=1770380981; h=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=cTDKnVhaUIk7Y2NYRjd5E4+LHGFGcfb3QfAXwMPcPmQ=; b=SR6BVn3bmOprlJv4YJtLzc82LCf55nLl3W7RHBgctdEJmA14gPBH7fwkAoCIdqHHtM esEaPjoh/gWRH4/BtfhNyyL2etb98E6paqZGmZB2TnPUEdGPOp6VAXU9/bRQ/Xs+2owB mMr9kutj7yg6etyZJpvEuiM93kVmyUUQwVXRR6fvdB4y3ODO7TN4RrF/TdDDu5j/sMhA pzX5CShUwe8hEeu0CLcFI5NKFqnUbhrYC6A+oakDKmeNDDlzqYt96mrEcTPevds/+ihC JFunZWG58qvEiRmAaZEljv11jXNNxRK2vA0HxWYhZVY0w/CTGAHxmWC/Nl+387AkA9cU +nJg== X-Forwarded-Encrypted: i=1; AJvYcCUt62dLH8JYK7i8VA8QSugrJH0jvDjQTp/UwHO4F1kq5/nTe+jwA7nM/Anp/n4qhSzZD1E=@sourceware.org X-Gm-Message-State: AOJu0YxUQRT4UIYS99PAA4XsLUuVeii+rVyhDjXHp9qa+bpZloHxaGPJ 4hggfYbe7WVGHE5hVv95ewmjeqYKqlh26Eh12m35aRug3aAYc/DmLdZ8IXIc6VOclFCP/jVzcx0 IlgiQxF+r2X8COV3FGrDfea4h1n6LjExvdmldyJwJqw== X-Gm-Gg: AZuq6aJGaLESH3Hk1fs4znO/ZIlYxz85u+w0r4Hhhn0evmYudD2272RV69ZBT2Uhzsq voJIcu0gU4GKrChVtqRlChT1knaGU6c7QAimtoT0zNv5ID8TVUmd3A/S9y6UaBlaBJr0aDewkaQ FKpiDbXn3leoko0R3pP/T01bngzWefhDN/l7B4pkSIGMBMDs3291YACs7ufw2HxvUkjOVHsBAnN m7007TbJWpsH43mRlKyEgkdTTal761I1Z4AMZNHi/p1s8NPm12kkglaqF+bKnhjl85l/w== X-Received: by 2002:a05:690c:1e:b0:794:668:ef12 with SMTP id 00721157ae682-7949e027bc6mr23589947b3.64.1769776181314; Fri, 30 Jan 2026 04:29:41 -0800 (PST) MIME-Version: 1.0 References: <87ldhigyao.fsf@linaro.org> <87tsw59hwu.fsf@linaro.org> <87a4xvafmv.fsf@linaro.org> In-Reply-To: <87a4xvafmv.fsf@linaro.org> Date: Fri, 30 Jan 2026 12:29:29 +0000 X-Gm-Features: AZwV_Qg9ZCRHPJ-JaORC-PkOaMNbBGk3qm3f6G3iCj6I9aAq6vZcScO8sv_utU4 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" 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 04:28, Thiago Jung Bauermann wrote: > Unfortunately I hit a kernel oops reliably when trying to run a GDB testcase: > > [ 156.387143] Internal error: Oops - Undefined instruction: 0000000002000000 [#1] SMP > [ 156.389966] Modules linked in: sm3_ce tpm_tis tpm_tis_core sha256 cfg80211 rfkill fuse drm backlight dm_mod ipv6 btrfs blake2b libblake2b xor xor_neon raid6_pq zstd_compress > [ 156.391005] CPU: 0 UID: 1000 PID: 677 Comm: aarch64-sme-san Not tainted 6.19.0-rc5 #4 PREEMPT > [ 156.391244] Hardware name: QEMU QEMU Virtual Machine, BIOS edk2-stable202408-prebuilt.qemu.org 08/13/2024 > [ 156.391475] pstate: 214020c5 (nzCv daIF +PAN -UAO -TCO +DIT -SSBS BTYPE=--) > [ 156.391657] pc : sve_get_vl+0x4/0xc > [ 156.392149] lr : fpsimd_save_user_state+0x100/0x1b8 So I know what this bug is, but I'm having difficulty with reproducing it. I got it to reproduce just once, after I did a full build of gdb and then ran the test case with your command: > And you can run the testcase with: > > $ cd /path/to/gdb/build/dir; make check-gdb TESTS=gdb.arch/aarch64-sme-sanity.exp But now after restarting the VM and running this command again, it does nothing: root@debian:~/gdb-build# make check-gdb TESTS=gdb.arch/aarch64-sme-sanity.exp make[1]: Entering directory '/root/gdb-build/gdb' make[2]: Entering directory '/root/gdb-build/gdb/testsuite' make check-single make[3]: Entering directory '/root/gdb-build/gdb/testsuite' rm -f *core* gdb.sum gdb.log rootme=`pwd`; export rootme; srcdir=../../../binutils-gdb/gdb/testsuite ; export srcdir ; EXPECT=`if [ "${READ1}" != "" ] ; then echo ${rootme}/expect-read1; elif [ "${READMORE}" != "" ] ; then echo ${rootme}/expect-readmore; elif [ -f ${rootme}/../../expect/expect ] ; then echo ${rootme}/../../expect/expect ; else echo expect ; fi` ; export EXPECT ; EXEEXT= ; export EXEEXT ; LD_LIBRARY_PATH=$rootme/../../expect:$rootme/../../libstdc++:$rootme/../../tk/unix:$rootme/../../tcl/unix:$rootme/../../bfd:$rootme/../../opcodes:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; if [ -f ${rootme}/../../expect/expect ] ; then TCL_LIBRARY=${srcdir}/../../tcl/library ; export TCL_LIBRARY ; fi ; runtest --status gdb.arch/aarch64-sme-sanity.exp ; \ result=$?; \ if test -e gdb.sum; then \ /bin/bash ../../../binutils-gdb/gdb/testsuite/lib/dg-add-core-file-count.sh; \ sed -n '/=== gdb Summary ===/,$ p' gdb.sum; \ fi; \ exit $result WARNING: No tool specified Test run by root on Fri Jan 30 12:25:14 2026 Native configuration is aarch64-unknown-linux-gnu === tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. WARNING: Couldn't find tool config file for unix, using default. === Summary === make[3]: Leaving directory '/root/gdb-build/gdb/testsuite' make[2]: Leaving directory '/root/gdb-build/gdb/testsuite' make[1]: Leaving directory '/root/gdb-build/gdb' root@debian:~/gdb-build# As far as I can see the test harness is running no tests any more (and so the kernel oops doesn't show up). Is there some way I can get it to tell me why it isn't running anything? thanks -- PMM