From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wLdTOfmQw2gU5AAAWB0awg (envelope-from ) for ; Thu, 11 Sep 2025 23:18:17 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=OzgbJist; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D93EE1E0BA; Thu, 11 Sep 2025 23:18:17 -0400 (EDT) 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 server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 2B0F91E047 for ; Thu, 11 Sep 2025 23:18:17 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 817DA385801D for ; Fri, 12 Sep 2025 03:18:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 817DA385801D Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=OzgbJist Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 7FC3C385801D for ; Fri, 12 Sep 2025 03:17:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7FC3C385801D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 7FC3C385801D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::429 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757647056; cv=none; b=HhVRGtdQqb23hbCUes5tzCrdGbE3cP8t8R1g/WBtdz41fjuuR2IYSz2XNNwN0pbqrsLoeiDY1CRSc9/1v/aYPH2RodVcr8TcaOf4VGh4y7GotiWVhSvN6JHLK33vVKiQroaHiD2YpEqC80E9vdldrv+AcLBFr3dZwjqCsiQAjVU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1757647056; c=relaxed/simple; bh=ZZKtlpmCWKUE11cPIXWLJnCSAVbMfkNDYN2L03f5FFE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=XsI5lThvb3IGGYGx4+amlO2NHNqTaZ++ExLeU5o0blYsf3XkzCP9oF2okIXhNAEQtzMsnagvtQT/fTe2mQb04DT1tQRyaYNlW2eGBZgnjPqMOJ19/AZw7CsejP4j/6sfx9j++f+SAwPLkaJ+B2wF2mY8TkXHueAltZfKqngCAlM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7FC3C385801D Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-76e4f2e4c40so1289545b3a.2 for ; Thu, 11 Sep 2025 20:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1757647055; x=1758251855; darn=sourceware.org; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=VQDwTK/6jH5/SPDyB8J+B/TMwNnEOzFLmGZMCIfbwpM=; b=OzgbJistkqc2hgqkQacWBOk6jugBb9AiKDvU35jMV53G8aFNUGE4PLUzvieMPk+QrW gxdpfqC4vHiff2HOWkdW3EXy9DQ2un7zuVm0B8FWRU4CwUIGLS5P7dS592ieh6VLvgTG xTA42/Cx8zmpJXvg2YKyjta/cy6tXT0hzB2CFDrSWXxenk5W4ZH4wJINUlyuqi+jh53P K5D3d3JdGHaBsYCGVO1fjtqJIa8HBRhmhflrw226M3BAEuLi25KXurwggO+rLfGSKCcu HGuIyvs9Lrl6A7H9QnO4Oh8twxGGgrchohVGADyz/uvvdPqZNGrl1squKIupuuPY+L7/ Wcgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757647055; x=1758251855; h=mime-version:message-id:date:user-agent:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=VQDwTK/6jH5/SPDyB8J+B/TMwNnEOzFLmGZMCIfbwpM=; b=cKN2XYc8lFI/CzPGDfwKQ/pIIIF39Bpm8bujgJh2c9qc25xY6qV8f1/Qxnpn9e0adk uRwOfxMDpmuIlTg4rQzIZUxHufMefN0zXH169gzZRj9omuA/C3pAPMBsxXWNBm4yE3/p 0IVfY6YXY8fCyV4co/bGEzBQcZ0fcyYj5QH0QLbfFSinpeVCLtyexAoBrrefYkNtHFzf qivNQKCA5AY95nKOS9E6C9DRPb4UUiNlRtTVxlrjhsaWpDfiMt9pwRdWLtRUz9pFMws/ viuUDZqWl6QhfRZ/7gUhh3I0uBTP2ZVPNIv0AVWyhMHNuvv462acEFCIp2pgB24Sq+sh UiGg== X-Gm-Message-State: AOJu0YyqFuriCRi+chVKqgEwfoIpEG6bqPire28eYI+83rSCMRSOjD/1 OX+aOYtBkiKxLrTtk+MiJ0WvZhkBJw9VSiWVNdhVnYLSqoBYNqnt5hBvLLgaWBcuElc= X-Gm-Gg: ASbGncsx/KiD1i/LpaZTFPObp5Kb2Mnx2NrnZXt2FW+BzbTJZwaNbBlPd6pinqSAIZA cmCcJhSvhSvKBkR8OFRIViBkM/J7ZFYLqSHX1VuFsJv5MYiHBrhbXnTLuokdFruTAFWCbKYcT2c nvSSy/3xZXBaPUwAM4zeCJUkLoCZZ+qmXGo5cme+s6Ci9H2IDJ/c7lv/YaMdzvKsWTq+svbtUtd Bq40zhAFBAlamIJUlarYzTWUlkYiqqDy1pDvjQ1ALUVQ8BwmeVDQ0qBLxLkk39W0kctEhhzZ1IU I5qfA6CU19FKigMfb8lLRdavLTDmx3RWyZckA9vx5GVsETxSfp8n7/8gw8qekxNQbh/9TiY8PrK hTev2zpWrS2+ATdxJABPu0cKGVKhw34TqO/3kt0rVhM0= X-Google-Smtp-Source: AGHT+IHj7ZH8rIzMTCvkitdyjoGeMwmjhcgIOkhaohjoluDlgjCYG/+21yXJMZ5SuPKRXLHVF3krjw== X-Received: by 2002:a05:6a00:2d84:b0:772:f23:f9f with SMTP id d2e1a72fcca58-776121c35f1mr1603210b3a.29.1757647055369; Thu, 11 Sep 2025 20:17:35 -0700 (PDT) Received: from localhost ([2804:14d:7e39:88d6:51c8:2036:4544:4e3a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-776075fdd83sm3734542b3a.0.2025.09.11.20.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Sep 2025 20:17:34 -0700 (PDT) From: Thiago Jung Bauermann To: Ezra Sitorus Cc: , Subject: Re: [RFC PATCH 0/5] gdb/aarch64: Support for FPMR In-Reply-To: (Ezra Sitorus's message of "Thu, 11 Sep 2025 16:52:56 +0100") References: <20250905131707.77027-1-Ezra.Sitorus@arm.com> <874it96fof.fsf@linaro.org> User-Agent: mu4e 1.12.11; emacs 30.1 Date: Fri, 12 Sep 2025 00:17:32 -0300 Message-ID: <87segs2wc3.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Ezra Sitorus writes: >> Hello Ezra, > > Hi! > >> Thank you for these patches. >> >> writes: >> >> > From: Ezra Sitorus >> > >> > The Floating Point Mode Register (FPMR) determines the behaviour of FP8 >> > instructions. This patch series adds support for this register into gdb. >> > >> > This has been tested using Shrinkwrap, which allows me to run Linux on a >> > model of an Arm system with new features. You can find more information >> > here: [1]. >> >> Is there something specific one has to do to enable FPMR on >> Shrinkwrap/FVP? >> >> I tried building an Armv9.5 configuration: >> >> $ shrinkwrap build --overlay=arch/v9.5.yaml ns-edk2.yaml >> >> and then running it with upstream kernel v6.16-rc7 which I think should >> support FPMR, but AT_HWCAP doesn't have the FPMR bit set, and the test >> program from the allow_aarch64_fpmr_tests procedure gets a SIGILL so the >> testcases in this series report unsupported. >> >> -- >> Thiago > > I think that kernel version is fine. To get FPMR to work, I created an overlay.yaml > file which contains this: > > run: > params: > -C cluster0.has_fpmr: 1 > > Then I run with this: > > shrinkwrap run ns-edk2.yaml --overlay overlay.yaml Thanks! This worked. > FYI, if you want to enable other features, you can see the options by doing: > > docker exec FVP_Base_RevC-2xAEMvA --list-params This is very useful. Thanks for the tip. -- Thiago