[PATCH] riscv: andes: Rearrange Andes PLICSW to single-bit-per-hart strategy
Leo Liang
ycliang at andestech.com
Tue Oct 17 08:50:15 CEST 2023
On Thu, Oct 12, 2023 at 01:35:34PM +0800, Randolph wrote:
> 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 at andestech.com>
> ---
> arch/riscv/lib/andes_plicsw.c | 24 +++++++++++-------------
> 1 file changed, 11 insertions(+), 13 deletions(-)
Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>
More information about the U-Boot
mailing list