From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oNx1DQB9fGkiUR0AWB0awg (envelope-from ) for ; Fri, 30 Jan 2026 04:42:24 -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=Y6nP6mTu; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 27D331E08D; Fri, 30 Jan 2026 04:42:24 -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 2AB4B1E08D for ; Fri, 30 Jan 2026 04:42:23 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 7BCED4BA2E2D for ; Fri, 30 Jan 2026 09:42:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7BCED4BA2E2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1769766142; bh=Wa+Bks5UFgyRbWy+9XgxZZ11Shkl1/f52Q96Hbv6ou8=; 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=Y6nP6mTuEzDYVY8ytelHMeH3+T+mJmFaPRxAvgixrBVxfqEmgbqvCmhRX3lsATagy NlCet4cqcv7ET9M9a8WesUHQstv1mkCeZQJmSZwdooz7vtw4xii1hRsO/xhHl3ilZP 4Bxtito0dPajVrw+gLpiP52mu/7ico9f87K4COVk= Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by sourceware.org (Postfix) with ESMTPS id 0AA5D4BA2E22 for ; Fri, 30 Jan 2026 09:41:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0AA5D4BA2E22 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0AA5D4BA2E22 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769766107; cv=pass; b=qj12WhNEkyMl0zKI0vJh4ZXI8AhZ6HGccUxyhvkt8QRWvKbB38sz8m+g1vKTWUvRjJW6+PljmyzHzT4gePWBZjd8Xx6cGVPOksnlzjWpFq7dUhhCI/mgqK16AsOxDWmyBEDyZhsvq4kDuQZ6ntEE4nUoAtnzwcyS/R4PExSeg2E= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769766107; c=relaxed/simple; bh=yrPUZImobA7sRTJwYqLixYwE8vimO4erN3Fz/Ifi57k=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=vC8SysdXHNil8AQu0zB7I4EzJKrmhfKjZ2NtL6jAvSOQ0IApO7e6B/OcrOZ8arTRPPL5dJGDobct7M8mb+wJQnZEo+HwN/9JXkUw1oh7G9rjN0HjQ/qWBjl+DCMaRdNIX67atd9amdMnNPT1OY+gkAwc2w62YfGfwnlMccUTkFg= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AA5D4BA2E22 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-7927b1620ddso29977297b3.0 for ; Fri, 30 Jan 2026 01:41:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769766106; cv=none; d=google.com; s=arc-20240605; b=gHFDXzi6dGW6LtN3HFI4b3FWxraXiFqRUilhIVOHtTISipzlT3rVR9SHUYu/rWhXlY 7BSUZi4w5mTcwXvBI2Dw7l3I0r/D9J5UsSoooubQLrkcMVuFH6oUDITCqdk2NXJ0eejd edz+iT29IVlgrMi5Aa7tWP0V6X7+1NiNXVo+iLq3Wx50IlAunYbzM8628NCHHFKD9e1J 1wGQQLW4+8r3VGCI2ePLuFFJFc+bT60//jUxQ92yOgaawEJos8ZGVJb34lECSyWBYaWZ CzYOS6QAI54nVrulm9YqgcU4oZl6j3ouo9/gWZWjrUI2TW5HZyaXRymDUq2gkdYa548S /6iQ== 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=Wa+Bks5UFgyRbWy+9XgxZZ11Shkl1/f52Q96Hbv6ou8=; fh=2LOpvXOiSPTrUmsb/w9n6zKEvPXzlX5534qR49G6E94=; b=G0UO2NZ4Whwc4myd0hkgXQBKx7L/KejrfqqRxZe/X0yFCV+VKQxLILbfC8z7Dy7nhK i0bzI1stwmn/yL/Zi1F6Eg3/m7DLyuhFMlIo4wYPaYDuwVSvLkL1JaxMdOmFmE0zmnzW HwATZ9kzRoPGVtV19Ls54ObzipCQQ2hl9bNg1LHRDD95FbVhML4oA5ZjpHdemS9drF0B eiZkDn0N/WhxFp8D9rL9TEGJ599+nJZOg+zm3GE5j02VkdQZ6HH3w+J2musBXDC3tLh4 A6Is4xgFXLwIYAQZPG+xh3dGTJA2tJcfbqzfazlOEdnYQHfN+3+Obt9iUjrbNmMRvRCE XEMQ==; 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=1769766106; x=1770370906; 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=Wa+Bks5UFgyRbWy+9XgxZZ11Shkl1/f52Q96Hbv6ou8=; b=WiPSE2w+lWL2JCpu+seTXu0uIMy4vV0VGGtgrT9UoP2tYR/cnEEMVLLhjjHeleagj6 UjFj26L7BGri5dtXPUxIsKY0Mw9jn92TShjZbHfTMjr64fo+kq4A2lRSYyZqQvSjn2Yj jlnrsi8y1hr5uv+vm3WuIZMNaxjB+rwi1/8i2pX5HVVhDmaRqo99fVE9UDHcGdtldBVE +yu0Kxkm25ytNN7oYdWrZY90TZ3WcRivlL213VF/7NdFk3j7XlInwnxO5/xtvJyCXcJO xUyJ+FpQe8azqGhIjt0oI5KaQ3ik4UCu5hJ5s8WtnTHbKMlUQp939VuFMJkBaa2fAD+X UkXw== X-Forwarded-Encrypted: i=1; AJvYcCXfpGEDzCZWgnqMQBuZW4XFSjPalWtyKnmQo/QEjqDwjE4Mj9dI9qxuOaCTfdTeN4Ags3U=@sourceware.org X-Gm-Message-State: AOJu0YyGN/XdahoWLaGsv/QisXHCzqTOuKtO3aOJrJ6AS82DMt0OBb5i Avcyi78+YElrbfn763nhUg7ho9Eleq7+RoFXhaD/WKsKhp8Cnk+FVZA1emXqs6A7arD3RQ5+7Zn Z7t/pEHiS2tp0nSPsQ4aESEGhsADTSiSqf1inXYyQSdnWxs24tb1p X-Gm-Gg: AZuq6aJgIbhsdqxYjL+od5XkR1utUPJxvXa4CHRVVvNSYzQf25CBS6FpDPvY2TeFzrS 8W9cNqAA0BOHcBMJ9XffuiEq3Va1/lF8/VN3Lbrhu+SGEQVOcuS6AEi+R02/yDQSPc+qUV6mLZf PVj4ZxDj4YlfD+9h5e3x1BmcQmVerID8ZH1rQyeJ9IHoUAMBIy1RgoQ8dVMkjY5rFhxGEs9OF6R I7LH6kLufOAipmG6cnlYAe2n4r3u5hic3zas+EGAl+JguDzR4Y3PtlS8b8NTtIT/QnN+A== X-Received: by 2002:a05:690c:288:b0:793:db35:6af2 with SMTP id 00721157ae682-7949fb2bc9emr17073447b3.3.1769766106335; Fri, 30 Jan 2026 01:41:46 -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 09:41:34 +0000 X-Gm-Features: AZwV_QizKjVQxgkYkhznx-IaHIz85fcYHqHWjzM2OMWoLbaXIGBd9bHkB1MDWaM 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: > > Peter Maydell writes: > > > On Thu, 29 Jan 2026 at 09:10, Peter Maydell wrote: > >> > >> On Thu, 29 Jan 2026 at 04:12, Thiago Jung Bauermann > >> wrote: > >> > > >> > Peter Maydell writes: > >> > > >> > > On Wed, 28 Jan 2026 at 04:24, Thiago Jung Bauermann > >> > > wrote: > >> > >> I'm currently implementing SME-only (i.e. without SVE) support in GDB > >> > >> for Linux userspace debugging. It's mostly done, I just need to test a > >> > >> few things, polish the code and prepare the patches. I'm hoping to send > >> > >> the patches next week. > >> > > > >> > > Let me know if a QEMU setup emulating "SME only" would be helpful > >> > > for you with that. > >> > > >> > It would indeed! If there's a branch I can build, it would make my > >> > testing quicker, and the regression testing more complete. > >> > >> I'll get one sorted out later today (the patches I have right now > >> have a few issues I need to fix). > > > > This branch: > > > > https://gitlab.com/pm215/qemu/-/commits/sme-no-sve > > Thank you very much! > > > should let you create an SME-only CPU with "-cpu max,sve=off". > > I have not given it much more than a very cursory testing, so > > let me know if you run into any problems with it. > > Unfortunately I hit a kernel oops reliably when trying to run a GDB testcase: > > [ 156.387143] Internal error: Oops - Undefined instruction: 0000000002000000 [#1] SMP > The same kernel and userspace binaries work fine in Arm FVP. Thanks for testing -- this looks like it's going to be a QEMU bug where we're accidentally making something UNDEF when it should work when SME is present. I'll have a look at it. -- PMM