Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8ECEE606A31B for ; Thu, 5 Nov 2026 11:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=rev.ng header.i=@rev.ng header.a=rsa-sha256 header.s=dkim header.b=gyKoy6+/ Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xOvkE-0008MC-Kb; Thu, 05 Nov 2026 06:35:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xOvkA-0008K2-JY for qemu-devel@nongnu.org; Thu, 05 Nov 2026 06:35:00 -0500 Received: from rev.ng ([94.130.142.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xOvk9-0004jJ-38 for qemu-devel@nongnu.org; Thu, 05 Nov 2026 06:34:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=rev.ng; s=dkim; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive:List-Unsubscribe:List-Unsubscribe-Post: List-Help; bh=K3WF536KAEJDTVMJnr6MSOf0PKglou7E91LUVX7iawM=; b=gyKoy6+/6Kl8LpA +eZOy7Z5TfwLPd+fDb5rYreP3ndhcT+wr3W4jOsgdgfQoYGnRo8yNodvA4cK+TGno3Y3pJiJwPD+5 /fwrky8wh2ORuZ/cVk7Jzer4tdXzwgbc321EgkPCV0udUDkpPuTwK1NlAtu3YMmeYExmny3XhoQ5M ag=; Date: Thu, 5 Nov 2026 12:40:26 +0100 To: Marco Liebel Cc: qemu-devel@nongnu.org, ale@rev.ng, brian.cain@oss.qualcomm.com Subject: Re: [PATCH v1 3/6] target/hexagon: Forward return address to HLX load/store helpers Message-ID: References: <20261103192358.28589-1-anjo@rev.ng> <20261103192358.28589-4-anjo@rev.ng> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: pass client-ip=94.130.142.21; envelope-from=anjo@rev.ng; helo=rev.ng X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Anton Johansson From: Anton Johansson via qemu development Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 05/11/26, Anton Johansson wrote: > On 04/11/26, Marco Liebel wrote: > > On Tue, Nov 3, 2026 at 1:18 PM Anton Johansson wrote: > > > > > > > Could you add a commit message body which explains what this fix is for? > > > > > Fixes: 2db29a3615a5ad2a3 ("target/hexagon: add HLX helper support") > > > Signed-off-by: Anton Johansson > > > --- > > > target/hexagon/macros.h | 13 +++++++++---- > > > target/hexagon/hlx_helper.c | 31 ++++++++++++++++++++++--------- > > > 2 files changed, 31 insertions(+), 13 deletions(-) > > > > > > diff --git a/target/hexagon/macros.h b/target/hexagon/macros.h > > > index 2748e26d6c..5799016ea4 100644 > > > --- a/target/hexagon/macros.h > > > +++ b/target/hexagon/macros.h > > > @@ -22,6 +22,7 @@ > > > #include "hex_regs.h" > > > #include "reg_fields.h" > > > #include "accel/tcg/getpc.h" > > > +#include "hlx_helper.h" > > > > hlx_helper.h is missing, so this commit (/series) doesn't build. > > > > [...] > > > > Does it make sense to write a test for this? How did you find it? > > > > Ah ofc I forgot to add it, my bad! It's a fairly common mistake when > dealing with faulting helpers, and a mistake I've made plenty of times > myself. Forgot the other part of your question. No I don't think this makes sense to test for a single target, maybe if it could be tested or verified project-wide somehow since it's such a common issue with faulting helpers? -- Anton Johansson rev.ng Labs Srl.