diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2019-02-17 09:00:20 +0200 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-02-18 09:21:58 +0530 |
commit | 918c1354b75c74b62f67c4e929551d643f035443 (patch) | |
tree | a4dae8b766d17ae3d3dc38564ac7d9dba18cdf20 /Makefile | |
parent | 51e543511a7425da1a5378e149de0b45928c7111 (diff) |
lib: Improve delivery of SBI_IPI_EVENT_HALT
When sbi_ipi_send_many gets called with the current hartid
included on pmask (or when pmask is NULL), and we send
a HALT event, since the for loop works sequentially over
all hartids on the mask, we may send a HALT event to the
current hart before the loop finishes. So we will halt
the current hart before it can deliver a HALT IPI to the
rest and some harts will remain active.
Make sure we send an IPI to the current hart after we've
finished with everybody else.
Signed-off-by: Nick Kossifidis <mick@ics.forth.gr>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions