diff options
author | Nick Hu <nick.hu@sifive.com> | 2023-12-01 17:51:47 +0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-12-10 13:24:13 +0530 |
commit | a25fc74699feb9409e44344dff742d525f315e5c (patch) | |
tree | b85fba5d933e8a87a13376c8b595df436e65aeb4 /include | |
parent | 06968103dcd99c2cf2dad97549ef3880ea00ccd2 (diff) | |
download | opensbi-a25fc74699feb9409e44344dff742d525f315e5c.zip opensbi-a25fc74699feb9409e44344dff742d525f315e5c.tar.gz opensbi-a25fc74699feb9409e44344dff742d525f315e5c.tar.bz2 |
lib: sbi_hsm: Put the resume_pending hart in the interruptible hart mask
Current interruptible hart mask doesn't include the hart which HSM state
is SBI_HSM_STATE_RESUME_PENDING. So when there is a request to send an
IPI to the hart which is in the resume process, this hart would miss the
IPI forever. Put the SBI_HSM_STATE_RESUME_PENDING hart in the
interruptible hart mask to fix the issue.
Signed-off-by: Nick Hu <nick.hu@sifive.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions