nuttx/arch
Ville Juven ff4d461fda mpfs_irq.c: Interrupt claim must be cleared before disabling the source
From Polarfire SoC TRM:

6.5.8 Interrupt Completion

To signal the completion of executing an interrupt handler, the processor core writes the received interrupt ID to the
Claim/Complete register. The PLIC does not check whether the completion ID is the same as the last claim ID for that
target. If the completion ID does not match an interrupt source that is currently enabled for the target, the completion
is ignored.

The last paragraph clearly states that IRQ completion does not work for
sources that have been disabled -> must ACK the completion before disable.

Signed-off-by: Ville Juven <ville.juven@unikie.com>
2025-02-19 15:22:16 -03:00
..
arm arm/memory_barrier: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
arm64 Revert "use small lock in following files:" 2025-02-13 14:15:43 +08:00
avr Revert "Use small lock to protect usbdev and endpoint in AVR." 2025-02-13 14:15:43 +08:00
ceva arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
dummy
hc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
mips Revert "Use small lock to protect usbdev and endpoint in arch mips" 2025-02-13 14:15:43 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k nuttx/compiler: fix build warning on GCC14 2025-02-18 09:04:54 -05:00
renesas Revert "Use small lock to protect usbdev and endpoint in arch renesas." 2025-02-13 14:15:43 +08:00
risc-v mpfs_irq.c: Interrupt claim must be cleared before disabling the source 2025-02-19 15:22:16 -03:00
sim Revert "Use small lock to protect usbdev and endpoint in sim." 2025-02-13 14:15:43 +08:00
sparc Revert "Use small lock to protect resources related to irq in arch avr, hc, mips and or1k." 2025-02-13 14:15:43 +08:00
tricore arch: set (*running_task)->xcp.regs to NULL when exit from irq/exception 2025-01-22 23:52:17 +08:00
x86 x86/Toolchain.defs: Add LLVM target definitions 2025-01-27 02:28:29 +08:00
x86_64 Revert "use small lock in following files:" 2025-02-13 14:15:43 +08:00
xtensa xtensa/esp32s3: allow moving .bss data to the external PSRAM 2025-02-19 11:44:18 -03:00
z16 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
z80 arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
CMakeLists.txt arch/z80: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Kconfig arch/Kconfig: allow FLASH config for non-MMU chips 2025-01-17 16:38:17 +08:00