From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id iXMqMs35fGnxWh4AWB0awg (envelope-from ) for ; Fri, 30 Jan 2026 13:34:53 -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=vPqS12cF; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id BAD3D1E0DD; Fri, 30 Jan 2026 13:34:53 -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 3A8881E08D for ; Fri, 30 Jan 2026 13:34:53 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 9D5674BA2E05 for ; Fri, 30 Jan 2026 18:34:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D5674BA2E05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1769798092; bh=LUd3DE4uB8Z/nZiRVVXzo6aw+KdkQcF9eZJg9D5IyAE=; 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=vPqS12cFVXAeMv3As2Lo8Qw4+55jplOuaxnEx0KVO3ETP5sD4v9+9vYrdrVQCOQbs sXkyGkjKPFsb2N+cMajrMnXLHcRemSmScPlZZOU9QfLg1nW3nombwR67UPTklG5jCd kRSyevxMYckTqaDV+++rgWWRKqkIPBBNHcZ0TVTs= 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 0C8294BA2E05 for ; Fri, 30 Jan 2026 18:34:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0C8294BA2E05 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0C8294BA2E05 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769798059; cv=pass; b=pphZxYriHi9d0FUPb8J3krzCzNq/lrhHmW8cmGtnZSjYeZaHTwRCbxR3oEgAoWRKE/MuF0e5NCW3898/K33y8oEyqCX6UUBKhDF/u9hPO6XWdZUv9hnDZBZnYjT6M70Dr626cG6njC85FM8Hg1628IlOzJwQcBkUf585SvanKRE= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1769798059; c=relaxed/simple; bh=yBbAMdLvCO1/5Bmm/JZ75XwvgFWUviLkhYKVItRVXXQ=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=grVjFnJhatJCX/Mp7djpI+C58EB1Y9ofuHgMTytuXs/5p3zFunaRctgjFzPnpopwhnYQ/T+UHY4IpNnmYUIhyTvo2y+YHRq6xN7Q9aDs8ikTau1a5T4imw+vDnpyQxGhFNN48XOWhthVLXkXAd1vHLLGLiOaJcnMk4/WMKT2/2A= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C8294BA2E05 Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-793fdbb8d3aso23838147b3.3 for ; Fri, 30 Jan 2026 10:34:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769798058; cv=none; d=google.com; s=arc-20240605; b=NHyemVJDgnvA7P7porkQdaGFgr3vF+W0xeokTVLw4h8yDVpZ7DIC1I6AaddLO1F4oc qvTglb5frlWL2K7s8BoQzDlfmZfvOg2lZny0c89pe/cRMU1DdYVe2ze/8F8BrpCQSFAQ ENB7Gi8DLmPsAe9t3KMLIfWdqm5eXDvZYatIpsni50hTEwuWjD197OCERd/qZmtdyF/H ujzl6q6enx5pumsoF1yfvBitcMa++XswDJ3U3eJSwAFQkw/6UL/Q7QqEZ52BY/ncjrRs JImikoLAa6b6gTN+X/ukaPQW9DX72OesbXDaPnSVv0WT1s5EdB5RSEQWJYTMNq3CmXVi BEmg== 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=LUd3DE4uB8Z/nZiRVVXzo6aw+KdkQcF9eZJg9D5IyAE=; fh=Mp7/VY6DyhIpkUsn8wzJe3LDfwIJc+c54iwukHuQIcs=; b=i+k0YJgjYHN+CRMkfWK31iWyknTgpCYw19McbDgfVGS9Z4gr2Mx0miyklCFsEICvM7 x38eipttGuYvNb5FBPF1doaO3RZ+pyVu/FqDR9n2aJZQy17Kx6Fcz7oVLr0YOrD9Z2dg Don8Vc9T6Z9pt/078Lum6VyGbgxi7iBjiL+otS9tzD3OJa6U154MHwQULQNfR7uIvdFg Ddp/60kPsa4eEsee3/KoBcrRMhQNxcpYtNvc1ErOzNg8U7GuewhE+F596+Lkprv6usmK DRbEx/M9g83Ruo/Zt50fzTncU1zwD+hp2fZ3sON0rLxN2j0dou67rFcQP2pfJdhTtBsB yfOQ==; 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=1769798058; x=1770402858; 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=LUd3DE4uB8Z/nZiRVVXzo6aw+KdkQcF9eZJg9D5IyAE=; b=EkKXWTyJ9HBGa8qhrZaO8gTX7qh9bPp+HkJ92pJ4OCWAC37tFty5l+5RJqjpK/pJLu wEXcgLlOVESQAwKgcI0BZWOgagLdHIXxRUOh/A2ALziwHYgnqUyVy3Qj6xKChxWMQIu0 pFVrP7ZpWcB6XRAHXQm3ZYMb30cvsSBGj6XpdERvoB0jMc6zT22QzyVqV1UaxjBeGMYV NMIBTbtLAFIU50UdCm9tTlrmw7m+YP8bkZp4I/ckpaYMEzyiYV3xFHySt3wrJpvzyoTw kkgndh8BOBTnVI2E8EawSoLOhqSmt9fJk++oUpowQ+INBPNTl0ZEz74eRXqyffDAKq/J NkPg== X-Forwarded-Encrypted: i=1; AJvYcCXCafzzW2yhVVZCAKg9oAU0N7D7Gao5z06f1W4VgguraAw176ImGSUlnEzsuq8LsIovN+A=@sourceware.org X-Gm-Message-State: AOJu0Yz8mUkFLjhTc0O2rd6L1J8mpDAvf0iA2IkOzYu0VslLHQ3Z7mLH NP/ybgonKwl95jKOfVsN/WY2oPkfSTpYbyK753Nd0lCbZ4jbcnPqkmNHYCIWQKAvgj3Fcw6yVB5 JHzwK3BKl3l8ua6c+K06MVWXJ0aOP8CrewoNz2VGDZm8lT0QdtS8LCFM= X-Gm-Gg: AZuq6aKM4v7lWkhfa6GpQBV+UBxl77VEKqM0VGBmhHmojPVEPs81/t4T14xEk6e3guM CKTnxa51yjcLb5p5gak+hYXCDQ43+DK86hLuBU6wayrZbCm9c+hzB3P6mzF21ZprzX3Ojqao89P PVcfonSDGu1e9hjYIVwlvI5lcopVrk9Bdc2HmY9r6+FjPPC8+IKjFvWaK/PrZ43+iQEhZ72JNzI vclntLaVZSfKMoW5inxSiV33Vl8qV4PvwwAhvf/XUfWBO3LfY71o1TyGcNHbsycwynDPqUe0Yiv 3m7E X-Received: by 2002:a05:690c:f8f:b0:794:3a7:e4a0 with SMTP id 00721157ae682-7949dede327mr30141347b3.23.1769798058295; Fri, 30 Jan 2026 10:34:18 -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> In-Reply-To: <87sebn7ymd.fsf@linaro.org> Date: Fri, 30 Jan 2026 18:34:06 +0000 X-Gm-Features: AZwV_QivLMO4gZQ_Kge4E63zJO7v65vPMNZiZW8rgvEAT5_WMaUDweLaU_xXTb4 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 18:18, Thiago Jung Bauermann wrote: > Peter Maydell writes: > > With my updated QEMU > > (which you can find in the new "sme-no-sve-2" in my gitlab repo) > > that can now run the tests without making the kernel fall over. > > It reports: > > > > # of expected passes 241 > > # of unexpected failures 37 > > > > Is that the same as you see on the fast model, or does this > > indicate that I still have more QEMU bugs to track down? > > (Peeking into gdb.log, these failures seem to be run-on > > failures from the program under test getting a SIGILL > > in initialize_zt_state(), so my guess is QEMU is still not > > quite right.) > > Indeed, there seems to be something off with QEMU. > On FVP, all the tests pass: > > === gdb Summary === > > # of expected passes 278 Just to check, does your FVP have the SME2p1 feature ? (Should show up as "sme2p1" in the feature list in /proc/cpuinfo in the guest.) The SIGILL is happening on the attempt to set ZT0: /* Initialize ZT0. */ /* ldr zt0, x0 */ __asm __volatile (".word 0xe11f8000"); because QEMU thinks that EL0 doesn't have access to ZT0. If your FVP isn't emulating SME2p1 then the test code will return early before getting to that part of the function. -- PMM