diff --git a/opensbi-enable-seip.patch b/opensbi-enable-seip.patch index 778ff9e..d1861e5 100644 --- a/opensbi-enable-seip.patch +++ b/opensbi-enable-seip.patch @@ -8,8 +8,8 @@ index 0ae604a..94832c8 100644 - if (ext_irqfn != default_irqfn) - csr_set(CSR_MIE, MIP_MEIP); -+ csr_set(CSR_MIE, MIP_SEIP); -+ csr_set(CSR_MSTATUS, MSTATUS_SIE); ++ csr_set(CSR_MIE, MIP_MEIP | MIP_SEIP); ++ csr_set(CSR_MSTATUS, MSTATUS_MIE | MSTATUS_SIE); return 0; } @@ -19,8 +19,8 @@ index 0ae604a..94832c8 100644 - if (ext_irqfn != default_irqfn) - csr_clear(CSR_MIE, MIP_MEIP); -+ csr_clear(CSR_MIE, MIP_SEIP); -+ csr_clear(CSR_MSTATUS, MSTATUS_SIE); ++ csr_clear(CSR_MIE, MIP_MEIP | MIP_SEIP); ++ csr_clear(CSR_MSTATUS, MSTATUS_MIE | MSTATUS_SIE); sbi_platform_irqchip_exit(plat); }