This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new a98650f609 arch: arm64: Remove unnecessary code in arm64_cpu_idle.S
a98650f609 is described below

commit a98650f609cc9cb79c1a32bf4c0c3950096ac6a1
Author: Masayuki Ishikawa <masayuki.ishik...@gmail.com>
AuthorDate: Wed Oct 18 14:37:58 2023 +0900

    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 <masayuki.ishik...@jp.sony.com>
---
 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)

Reply via email to