You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add SMRNMI extension support and enable NMI delivery on boot.
Changes:
- Add CONFIG_RISCV_ISA_EXT_SMRNMI Kconfig option
- Define SMRNMI CSRs in arch/riscv/include/csr.h
- Set NMIE bit during boot to enable NMI delivery
SMRNMI hardware generates but doesn't deliver NMIs when NMIE=0 (default).
This causes twister test failures and prevents handling of critical
hardware events like watchdog NMIs and ECC errors.
Setting NMIE=1 is mandatory for correct operation on SMRNMI SOCs.
Signed-off-by: Afonso Oliveira <[email protected]>
0 commit comments