Re: [PATCH v2 3/7] riscv: Use a valid bit to ignore already-pending IPIs

2020-09-17 Thread Leo Liang
On Mon, Sep 14, 2020 at 10:22:59AM -0400, Sean Anderson wrote: > Some IPIs may already be pending when U-Boot is started. This could be a > problem if a secondary hart tries to handle an IPI before the boot hart has > initialized the IPI device. > > This commit introduces a valid bit so secondary

Re: [PATCH v2 3/7] riscv: Use a valid bit to ignore already-pending IPIs

2020-09-15 Thread Rick Chen
> Some IPIs may already be pending when U-Boot is started. This could be a > problem if a secondary hart tries to handle an IPI before the boot hart has > initialized the IPI device. > > This commit introduces a valid bit so secondary harts know when and IPI > originates from U-boot, and it is safe

Re: [PATCH v2 3/7] riscv: Use a valid bit to ignore already-pending IPIs

2020-09-14 Thread Bin Meng
On Mon, Sep 14, 2020 at 10:23 PM Sean Anderson wrote: > > Some IPIs may already be pending when U-Boot is started. This could be a > problem if a secondary hart tries to handle an IPI before the boot hart has > initialized the IPI device. > > This commit introduces a valid bit so secondary harts k

[PATCH v2 3/7] riscv: Use a valid bit to ignore already-pending IPIs

2020-09-14 Thread Sean Anderson
Some IPIs may already be pending when U-Boot is started. This could be a problem if a secondary hart tries to handle an IPI before the boot hart has initialized the IPI device. This commit introduces a valid bit so secondary harts know when and IPI originates from U-boot, and it is safe to use the