nuttx/arch
Jukka Laitinen f695fc6884 arch/risc-v/src/mpfs: Disable external interrupts on all SMP harts
Interrupts on MPFS platform are currently served on the hart, on
which the up_enable_irq was called.

Call to up_disable_irq may execute on different hart than on which
the up_enable_irq was executed. In this case the interrupt is not
disabled currently.

While there is nothing fancy (irq affinity control or such), an
easy way to fix this is to simply disable the irq on all harts.

This also changes the prototypes of mpfs_plic_get_iebase and
mpfs_plic_get_claimbase to get the hart id as an argument, in
order to accomplish this.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2025-01-22 15:30:32 +08:00
..
arm armv8m: Default open hardware stack check 2025-01-21 11:55:10 -03:00
arm64 arch/arm64: use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
avr Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
ceva arch/ceva:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
dummy
hc Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
mips Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
misoc arch: up_getusrsp change to inline and implement in irq.h 2025-01-06 23:03:05 +08:00
or1k Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
renesas Use small lock to protect usbdev and endpoint in arch renesas. 2025-01-15 17:15:49 +08:00
risc-v arch/risc-v/src/mpfs: Disable external interrupts on all SMP harts 2025-01-22 15:30:32 +08:00
sim sim/virtio: fix typo sim_rpmsg_vritio.c -> sim_rpmsg_virtio.c 2025-01-22 15:28:13 +08:00
sparc Use small lock to protect resources related to irq in arch avr, hc, mips and or1k. 2025-01-22 15:27:30 +08:00
tricore Use small lock to protect resources related to timers in arch risc-v, xtensa and tricore. 2025-01-20 09:57:01 -03:00
x86 kasan/kconfig: Add config CONFIG_MM_KASAN_INSTRUMENT 2025-01-14 14:01:48 +08:00
x86_64 arch/x86_64:use UP_DSB, UP_DMB, UP_ISB as barrier standard API 2025-01-20 20:13:07 +08:00
xtensa xtensa/esp32s3: Fix wrong dummy length in mode register reading 2025-01-21 16:25:33 +08: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