Re: [RFT PATCH] riscv: andes_plic: Fix riscv_get_ipi() mask

2021-06-14 Thread Rick Chen
Hi Bin > From: Bin Meng > Sent: Monday, June 14, 2021 11:48 AM > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > ; U-Boot Mailing List > Subject: Re: [RFT PATCH] riscv: andes_plic: Fix riscv_get_ipi() mask > > On Wed, Jun 9, 2021 at 3:55 PM Bin Meng wrote: >

Re: [RFT PATCH] riscv: andes_plic: Fix riscv_get_ipi() mask

2021-06-13 Thread Bin Meng
On Wed, Jun 9, 2021 at 3:55 PM Bin Meng wrote: > > Current logic in riscv_get_ipi() for Andes PLICSW does not look good > to me. 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(). > > Signed-off-by

[RFT PATCH] riscv: andes_plic: Fix riscv_get_ipi() mask

2021-06-09 Thread Bin Meng
Current logic in riscv_get_ipi() for Andes PLICSW does not look good to me. 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(). Signed-off-by: Bin Meng --- It looks there is no datasheet released from