Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
riscv: andes_plic: Fix riscv_get_ipi() mask
Current logic in riscv_get_ipi() for Andes PLICSW does not look correct. The mask to test IPI pending bits for a hart should be left shifted by (8 * gd->arch.boot_hart), just the same as what is done in riscv_send_ipi(). Fixes: 8b3e97b ("riscv: add functions for reading the IPI status") Signed-off-by: Bin Meng <[email protected]> Reviewed-by: Rick Chen <[email protected]> Tested-by: Rick Chen <[email protected]>
- Loading branch information