[PATCH v3 0/7] riscv: Correctly handle IPIs already pending upon boot