diff options
| author | Xiang W <[email protected]> | 2023-12-21 09:44:27 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-12-26 21:28:34 +0530 |
| commit | 63e09ad3f77218e34fb6cc1df88bedde9b9f38cb (patch) | |
| tree | d56b502a37ae31da89a0c3c4e475172b0816294c /lib/utils/timer/fdt_timer_mtimer.c | |
| parent | 2b80b92f028aa3726c6488eaaefddbdec43c5b54 (diff) | |
lib: sbi: Fix shift bug in sbi_system_reset
There is a problem with judging whether the current hart belongs to
hmask. If cur_hartid minus hbase is greater than BITS_PER_LONG, the
previous hmask will also have a bit cleared incorrectly, which will
cause some harts to lose ipi.
Signed-off-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_mtimer.c')
0 files changed, 0 insertions, 0 deletions
