From a98650f609cc9cb79c1a32bf4c0c3950096ac6a1 Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Wed, 18 Oct 2023 14:37:58 +0900 Subject: [PATCH] arch: arm64: Remove unnecessary code in arm64_cpu_idle.S Summary: - I noticed that irq is enabled explicitly in arm64_cpu_idle.S - The code is unnecessary since tasks, including the idle task, are created with irq enabled in up_initial_state() Impact: - Should be none Testing: - qemu-armv8a:netnsh_smp_hv with qemu-7.2.4 Signed-off-by: Masayuki Ishikawa --- arch/arm64/src/common/arm64_cpu_idle.S | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/src/common/arm64_cpu_idle.S b/arch/arm64/src/common/arm64_cpu_idle.S index 6252168dcd..a9e5e8fac9 100644 --- a/arch/arm64/src/common/arm64_cpu_idle.S +++ b/arch/arm64/src/common/arm64_cpu_idle.S @@ -50,7 +50,6 @@ SECTION_FUNC(text, arch_cpu_idle) #endif dsb sy wfi - msr daifclr, #(DAIFCLR_IRQ_BIT) ret GTEXT(arch_cpu_atomic_idle)