Skip to content

Conversation

nzmichaelh
Copy link
Contributor

The RISC-V Machine-Level ISA section 3.3.3 says that wfi will complete even if interrupts are masked, but the QingKe V2A does not do this. Work-around by enabling interrupts first.

This is the same mitigation as used for the Nordic VPR.

Fixes #88449

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

The RISC-V Machine-Level ISA section 3.3.3 says that `wfi` will
complete even if interrupts are masked, but the QingKe V2A does not do
this. Work-around by enabling interrupts first.

This is the same mitigation as used for the Nordic VPR.

Signed-off-by: Michael Hope <[email protected]>
Copy link

@github-actions github-actions bot removed the Stale label Jun 22, 2025
@nzmichaelh nzmichaelh closed this Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CH32V003 (and possibly the other WCH SoCs) cannot be used with multiple interrupts enabled
1 participant