1
0
Fork 0
forked from nuttx/nuttx-update
local-nuttx-update/arch
Ville Juven 51171d66f2 riscv/riscv_ipi.h: Do not write to CSR_MIP.MSIP as it is read-only
From the RISV-V Privileged Spec v1.10 (3.1.14 MIP/MIE):

Only the bits corresponding to lower-privilege software interrupts
(USIP, SSIP), timer interrupts (UTIP, STIP), and external interrupts
(UEIP, SEIP) in mip are writable through this CSR address; the
remaining bits are read-only.

Thus, it is futile to write to the M-mode status bit via the CSR, only
access via RISCV_IPI is valid.
2024-11-28 09:14:07 +08:00
..
arm armv8-r/gicv3: support fiq 2024-11-27 14:28:27 +08:00
arm64 arm64: change name saved_reg to saved_regs 2024-11-26 10:09:31 +08:00
avr arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
ceva arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
dummy arch: Add custom arch chip build support 2020-10-20 14:48:16 +08:00
hc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
mips arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
misoc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
or1k arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
renesas arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
risc-v riscv/riscv_ipi.h: Do not write to CSR_MIP.MSIP as it is read-only 2024-11-28 09:14:07 +08:00
sim sim: Fix sim m32 start up crash issue. 2024-11-23 01:47:34 +08:00
sparc arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
tricore gcov: update gcov compilation parameters 2024-11-22 19:08:08 +08:00
x86 x86-64: Support symbol table and kasan global variables cross-border detection 2024-11-22 00:01:36 +08:00
x86_64 arch/x86_64/intel64: re-enable interrupts before syscall handle 2024-11-27 13:32:23 -03:00
xtensa espressif/mcpwm: fix compile error 2024-11-26 16:34:19 +08:00
z16 arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
z80 arch: remove up_current_regs in common code 2024-11-15 18:25:35 +08:00
CMakeLists.txt greenhills: fix the arch_interface archive error 2024-09-27 23:39:56 +08:00
Kconfig arch/x86_64: add kernel build support 2024-11-27 13:32:23 -03:00