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