-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riscv_common: make thread_yield_higher IRQ compatible #15942
riscv_common: make thread_yield_higher IRQ compatible #15942
Conversation
I guess this should be backported |
This PR fixes the failing tests:
I'm running the full test suite, just to be sure nothing else is broken. |
Thanks, appreciated! |
Now I have this:
So no new failures! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes are good and are fixing the failing tests. I didn't find any regression.
ACK
could you please provide a backport against 2021.01-branch? |
it might be difficult because this PR was opened after #15718 was merged. |
Sorry, I thought this was related to #15736. Since nobody replied #15942 (comment), I assumed it was in ;) |
Contribution description
This should resolve the issues mentioned here. The thread_yield_higher function now checks if it is executed from interrupt context and just set the
sched_context_switch_request
flag if it is in interrupt context.Testing procedure
These tests should work again:
Issues/PRs references
Fixes regressions mentioned here