commit | 1a9a7a9b439756db41233a61d5e19263b1517196 | [log] [tgz] |
---|---|---|
author | Randolph <randolph@andestech.com> | Thu Oct 12 13:35:34 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Oct 19 17:29:33 2023 +0800 |
tree | 05f65d76fd7da54fb079d4bedbde6cdaf271836b | |
parent | 5a3b01890eeae86de3e3a57519fdedc83cd55f40 [diff] |
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: Randolph <randolph@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>