Skip to content

Add skip for MRPC comp events in ISR loop#132

Open
BenReed161 wants to merge 1 commit into
Microsemi:masterfrom
BenReed161:skip-all-mrpc-comp
Open

Add skip for MRPC comp events in ISR loop#132
BenReed161 wants to merge 1 commit into
Microsemi:masterfrom
BenReed161:skip-all-mrpc-comp

Conversation

@BenReed161

Copy link
Copy Markdown
Contributor

Current implementation just skips the MRPC_COMP, it should also skip the TWI and CLI MRPC completions + ASYNC Ccompletion events too.

The kernel ISR mask_event incorrectly writes back to the GAS register 0x4154 to clear EN_IRQ + OCCURRRED, the firmware event manager write handler interprets that write as an attrs update, which zeros the EVENT_REPORT bit in the MRPC completion Async Header Register.

For these events we want to skip and not write back.

Current implementation just skips the MRPC_COMP, it should also skip the
TWI and CLI MRPC completions + ASYNC completion events too.

The kernel ISR mask_event incorrectly writes back to the GAS register
0x4154 to clear EN_IRQ + OCCURRRED, the firmware event manager write
handler interprets that write as an attrs update, which zeros the
EVENT_REPORT bit in the MRPC completion Async Header Register.

For these events we want to skip and not write back.
@BenReed161 BenReed161 force-pushed the skip-all-mrpc-comp branch from 1fa6d25 to 3744eae Compare June 23, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant