Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7508DC61DD6 for ; Wed, 2 Sep 2026 11:42:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2C4F54083D; Wed, 2 Sep 2026 11:42:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id SISJfV0vGEgw; Wed, 2 Sep 2026 11:42:12 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1788349332; bh=p9gjnAlUQCT8jJ83Xhe4vmkAviDI4TaYhDVpi3W0YpE=; h=Date:Cc:Subject:From:To:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=WEiLeYhD2Mfsv2y1l92ANf5Ds9YDMqX8LD3dYlAX9agpas0ihtJaMMoOOEbPaFIdR BYvMq5Vr4QZxqKgjrF4YACyXPv1dMy/VTppm8RRrVjlhgYSRgZirIOH8EPkIEUU/0o W6w364Y8EAjgAnE2C7huGQxTMEI37+8Jg5s5llidl8nRFFCDNgvzX68MzXiC3i1aJT SfsKrEAsMkljEXPWPOgkKOjrDHyrYXJyh39Q/fDeIQmJDMKxw/X0iXTk7tm61cTTIG wRTG4wcwbMksNzL4GRse4vU62BXmzrHj5a0px6mMkjqYlwgPW/sx/rqt3EDQgRN7ot JFyjUaFGnwLnA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 5B4E940821; Wed, 2 Sep 2026 11:42:12 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id A0F811DE for ; Wed, 2 Sep 2026 11:42:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 92CFD40821 for ; Wed, 2 Sep 2026 11:42:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 24vS4dBpXrag for ; Wed, 2 Sep 2026 11:42:10 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:41d0:1004:224b::c5; helo=mta0.migadu.com; envelope-from=funderscore@postmarketos.org; receiver= Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=postmarketos.org Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=postmarketos.org header.i=@postmarketos.org header.a=rsa-sha256 header.s=key1 header.b=CLaFNy1o Received: from mta0.migadu.com (out-197.mta0.migadu.com [IPv6:2001:41d0:1004:224b::c5]) by smtp4.osuosl.org (Postfix) with ESMTPS id 8C0664081D for ; Wed, 2 Sep 2026 11:42:07 +0000 (UTC) X-Envelope-To: u-boot@lists.u-boot-project.org DKIM-Signature: a=rsa-sha256; bh=9nZXIBV9eVKh4RG4+P83N+0fGouzl/jvI8VQgO+kb+0=; c=simple/simple; d=postmarketos.org; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1788349323; v=1; x=1788954123; b=CLaFNy1oI4PjPyDoWbXLbBN2ridFq6ZMTLxJfCK3PeaRV/N7w2/hYXiXSDI6MhnVXWlP9uNf vp3Dh3+NuArxvzgr/adnDkSFnSJRHrzaO/hJSZPuou1rAB0eog1ETQiFGtgNHgRChd/d76yg81v P0+DPb52Rls9X9QtI2Zp6BOicoOXl+T0BE4SnB0SepKgNsgammB7Oj+a9Gcl0U8RV/9EmiFXHKR JOyYJwFME/HyppcKr79m4N83ZL+LA8B29yCLQZe4W1RE+cBAjbLhXW6bJQrxmRUw+cKl77127sD 0Yom4J8xdgwZxahcJQtOpB6QoNJm3HAJt/gqZIy6Axr6Q== X-Envelope-To: u-boot@lists.u-boot-project.org Received: by smtp.migadu.com with ESMTPS id 1a0da2cb27795407; Wed, 02 Sep 2026 11:42:03 +0000 X-Mizu-Trace-ID: 1a0da2cb27795407 X-Migadu-Flow: FLOW_OUT Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Sep 2026 11:42:03 +0000 Message-Id: Cc: "Tom Rini" , "Ilias Apalodimas" , "Daniel Golle" Subject: Re: [PATCH] spl: rename DISABLE_ALL_EXECPTIONS From: "Ferass El Hafidi" To: , , =?utf-8?q?Vincent_Stehl=C3=A9?= , X-Mailer: aerc 0.21.0 References: <20260901-typo-v1-1-89ea773a9a05@arm.com> In-Reply-To: X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.u-boot-project.org Hi, On Tue Sep 1, 2026 at 4:35 PM UTC, Neil Armstrong via groups.io wrote: > On 9/1/26 18:20, Vincent Stehl=C3=A9 wrote: >> The DISABLE_ALL_EXECPTIONS define has a typo; fix all occurrences using = the >> following command: >>=20 >> find '(' -type d -name .git -prune ')' -o -type f -print |\ >> xargs sed -i 's/DISABLE_ALL_EXECPTIONS/DISABLE_ALL_EXCEPTIONS/g' >>=20 >> This can be verified by pre-processing, for example with the following >> commands: >>=20 >> make libretech-cc_v2_defconfig >> make spl/arch/arm/mach-meson/spl.i spl/common/spl/spl_atf.i >>=20 >> (Adjust as needed for cross-compilation.) >>=20 >> Signed-off-by: Vincent Stehl=C3=A9 >> Cc: Tom Rini >> Cc: Ilias Apalodimas >> Cc: Neil Armstrong >> --- >> arch/arm/mach-meson/spl.c | 2 +- >> common/spl/spl_atf.c | 8 ++++---- >> include/atf_common.h | 2 +- >> 3 files changed, 6 insertions(+), 6 deletions(-) >>=20 >> diff --git a/arch/arm/mach-meson/spl.c b/arch/arm/mach-meson/spl.c >> index 28a63f39d36..73445064e4d 100644 >> --- a/arch/arm/mach-meson/spl.c >> +++ b/arch/arm/mach-meson/spl.c >> @@ -84,7 +84,7 @@ void board_init_f(ulong dummy) >> =20 >> SET_PARAM_HEAD(&spl_ep_info, ATF_PARAM_BL31, ATF_VERSION_1, 0); >> spl_ep_info.pc =3D CONFIG_SPL_TEXT_BASE; >> - spl_ep_info.spsr =3D SPSR_64(MODE_EL3, MODE_SP_ELX, DISABLE_ALL_EXECP= TIONS); >> + spl_ep_info.spsr =3D SPSR_64(MODE_EL3, MODE_SP_ELX, DISABLE_ALL_EXCEP= TIONS); >> =20 >> regs.regs[0] =3D 0xc0000000; >> regs.regs[1] =3D (unsigned long)&spl_ep_info; Nice catch Acked-by: Ferass El Hafidi # mach-meson spl Best regards, Ferass >> diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c >> index 17acd3665df..cb0604ce034 100644 >> --- a/common/spl/spl_atf.c >> +++ b/common/spl/spl_atf.c >> @@ -75,7 +75,7 @@ struct bl31_params *bl2_plat_get_bl31_params_default(u= long bl32_entry, >> bl32_ep_info->args.arg3 =3D fdt_addr; >> bl32_ep_info->pc =3D bl32_entry ? bl32_entry : 0; >> bl32_ep_info->spsr =3D SPSR_64(MODE_EL1, MODE_SP_ELX, >> - DISABLE_ALL_EXECPTIONS); >> + DISABLE_ALL_EXCEPTIONS); >> =20 >> bl2_to_bl31_params->bl32_image_info =3D &bl31_params_mem.bl32_image_i= nfo; >> SET_PARAM_HEAD(bl2_to_bl31_params->bl32_image_info, >> @@ -91,7 +91,7 @@ struct bl31_params *bl2_plat_get_bl31_params_default(u= long bl32_entry, >> bl33_ep_info->args.arg0 =3D 0xffff & read_mpidr(); >> bl33_ep_info->pc =3D bl33_entry; >> bl33_ep_info->spsr =3D SPSR_64(MODE_EL2, MODE_SP_ELX, >> - DISABLE_ALL_EXECPTIONS); >> + DISABLE_ALL_EXCEPTIONS); >> =20 >> bl2_to_bl31_params->bl33_image_info =3D &bl31_params_mem.bl33_image_i= nfo; >> SET_PARAM_HEAD(bl2_to_bl31_params->bl33_image_info, >> @@ -149,7 +149,7 @@ struct bl_params *bl2_plat_get_bl31_params_v2_defaul= t(ulong bl32_entry, >> bl_params_node->ep_info->args.arg3 =3D fdt_addr; >> bl_params_node->ep_info->pc =3D bl32_entry ? bl32_entry : 0; >> bl_params_node->ep_info->spsr =3D SPSR_64(MODE_EL1, MODE_SP_ELX, >> - DISABLE_ALL_EXECPTIONS); >> + DISABLE_ALL_EXCEPTIONS); >> SET_PARAM_HEAD(bl_params_node->image_info, ATF_PARAM_IMAGE_BINARY, >> ATF_VERSION_2, 0); >> =20 >> @@ -166,7 +166,7 @@ struct bl_params *bl2_plat_get_bl31_params_v2_defaul= t(ulong bl32_entry, >> bl_params_node->ep_info->args.arg0 =3D 0xffff & read_mpidr(); >> bl_params_node->ep_info->pc =3D bl33_entry; >> bl_params_node->ep_info->spsr =3D SPSR_64(MODE_EL2, MODE_SP_ELX, >> - DISABLE_ALL_EXECPTIONS); >> + DISABLE_ALL_EXCEPTIONS); >> SET_PARAM_HEAD(bl_params_node->image_info, ATF_PARAM_IMAGE_BINARY, >> ATF_VERSION_2, 0); >> =20 >> diff --git a/include/atf_common.h b/include/atf_common.h >> index 03cfcc69cd7..9ef1ef186e1 100644 >> --- a/include/atf_common.h >> +++ b/include/atf_common.h >> @@ -69,7 +69,7 @@ >> #define DAIF_IRQ_BIT (1<<1) >> #define DAIF_ABT_BIT (1<<2) >> #define DAIF_DBG_BIT (1<<3) >> -#define DISABLE_ALL_EXECPTIONS \ >> +#define DISABLE_ALL_EXCEPTIONS \ >> (DAIF_FIQ_BIT | DAIF_IRQ_BIT | DAIF_ABT_BIT | DAIF_DBG_BIT) >> =20 >> #ifndef __ASSEMBLY__ >>=20 >> --- >> base-commit: 3f19667468fb93bcb5702d23aa057b72639e3ac8 >> change-id: 20260901-typo-465ee352485c >>=20 >> Best regards, >> -- >> Vincent. >>=20 > > Reviewed-by: Neil Armstrong > > Thanks, > Neil