Skip to content
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

arch/risc-v/src/mpfs/mpfs_irq.c: Default global interrupt priorities #14841

Merged

Conversation

BitBender334
Copy link

Note: Please adhere to Contributing Guidelines.

Summary

On MPFS PolarFire, when we recently rebased to use the latest from NuttX, some of the functionality was broken. After reviewing, we noticed mpfs_irq.c no longer defaults the global interrupt priorities (removed in #14397), and this creates issues where interrupts are missed. Adding this back in.

Impact

Testing

Tested with SMP on MPFS PolarFire.

@github-actions github-actions bot added Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XS The size of the change in this PR is very small labels Nov 18, 2024
@BitBender334
Copy link
Author

@pussuw Happy with most of the changes you have done so far for SMP on MPFS. Just wondering if this was missed or if there was a reason to remove the defaulting of the global interrupt priorities.

@lupyuen
Copy link
Member

lupyuen commented Nov 19, 2024

Sorry I have to cancel the CI Check for risc-v-05, it will run for 6 hours (then get cancelled) because of this issue:

@pussuw
Copy link
Contributor

pussuw commented Nov 19, 2024

@pussuw Happy with most of the changes you have done so far for SMP on MPFS. Just wondering if this was missed or if there was a reason to remove the defaulting of the global interrupt priorities.

Clearly an error to remove it. Thanks for fixing this.

I moved the per hart init to another file and must have removed this global init by accident.

@xiaoxiang781216 xiaoxiang781216 merged commit bd70744 into apache:master Nov 19, 2024
11 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Size: XS The size of the change in this PR is very small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants