Message ID | 20200521161503.384823-14-seanga2@gmail.com |
---|---|
State | Accepted |
Commit | 9472630337e7c4ac442066b5a752aaa8c3b4d4a6 |
Headers | show |
Series | riscv: Add Sipeed Maix support | expand |
diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S index 5f1c220e0c..f408e41ab9 100644 --- a/arch/riscv/cpu/start.S +++ b/arch/riscv/cpu/start.S @@ -65,6 +65,8 @@ _start: #else li t0, SIE_SSIE #endif + /* Clear any pending IPIs */ + csrc MODE_PREFIX(ip), t0 csrs MODE_PREFIX(ie), t0 #endif