From: Tien Fong Chee Date: Fri, 8 Aug 2025 14:20:42 +0000 (+0800) Subject: arm: socfpga: Enable ASYNC interrupts in Agilex SPL X-Git-Tag: v2025.10-rc2~3^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3721998510de23ff77e0f9cbb61c8c5f8c38ddd2;p=pandora-u-boot.git arm: socfpga: Enable ASYNC interrupts in Agilex SPL Asynchronous aborts were previously masked at SPL entry. To ensure early detection of system errors such as ECC faults or bus errors, asynchronous aborts should be explicitly unmasked by clearing the A-bit in the DAIF register during Agilex SPL initialization. Signed-off-by: Alif Zakuan Yuslaimi Reviewed-by: Tien Fong Chee # Conflicts: # arch/arm/mach-socfpga/spl_agilex.c --- diff --git a/arch/arm/mach-socfpga/spl_agilex.c b/arch/arm/mach-socfpga/spl_agilex.c index 698e76f45b2..2780e0f921f 100644 --- a/arch/arm/mach-socfpga/spl_agilex.c +++ b/arch/arm/mach-socfpga/spl_agilex.c @@ -43,6 +43,9 @@ void board_init_f(ulong dummy) int ret; struct udevice *dev; + /* Enable Async */ + asm volatile("msr daifclr, #4"); + #if defined(CONFIG_XPL_BUILD) && defined(CONFIG_SPL_RECOVER_DATA_SECTION) spl_save_restore_data(); #endif