Skip to content
Commit 04b2123b authored by Randolph's avatar Randolph Committed by Leo Yu-Chi Liang
Browse files

riscv: andes: Rearrange Andes PLICSW to single-bit-per-hart strategy



Source hart information is not necessary in IPI, so we could
use single-bit-per-hart strategy to rearrange PLICSW mapping.

Bit 0 of Interrupt Pending Bits is hardwired to 0.
Therefore, we use bit 1 to send IPI to hart 0,
bit 2 to hart 1, ..., and so on.

Signed-off-by: default avatarRandolph <randolph@andestech.com>
Reviewed-by: default avatarLeo Yu-Chi Liang <ycliang@andestech.com>
parent 5a348ccf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment