Skip to content

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.

@BitBender334 BitBender334 force-pushed the bugfix/add-irq-priorities branch from 113a218 to 3f8ce7c Compare November 19, 2024 13:33
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