nuttx/arch
hujun5 f6a9e91057 irq: remove restore_critical_section in irq
Only in the non-critical region, nuttx can the respond to the irq and not hold the lock
When returning from the irq, there is no need to check whether the lock needs to be restored

test:
We can use qemu for testing.
compiling
make distclean -j20; ./tools/configure.sh -l qemu-armv8a:nsh_smp ;make -j20
running
qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic -machine virt,virtualization=on,gic-version=3 -net none -chardev stdio,id=con,mux=on -serial chardev:con -mon chardev=con,mode=readline -kernel ./nuttx

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-07-02 03:00:57 +08:00
..
arm irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
arm64 irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
avr sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
ceva irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
dummy
hc sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
mips sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
misoc sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
or1k sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
renesas sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
risc-v irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
sim irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
sparc irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
tricore sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
x86 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
x86_64 arch/x86_64: add support for FMA, AVX-2 and AVX-512 2024-07-01 13:27:33 +08:00
xtensa irq: remove restore_critical_section in irq 2024-07-02 03:00:57 +08:00
z16 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
z80 sched: move nxsched_dumponexit() to task_exithook 2024-06-30 17:30:42 +08:00
CMakeLists.txt build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
Kconfig files: add files_dumplist api, replace dumponexit implementation 2024-06-30 17:30:42 +08:00