Skip to content

target-mips: non-enabled interrupts can wake up the CPU in R6

Leon Alrae qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target-mips: move the test for enabled interrupts to a separate functiontarget-mips/cpu.c target-mips/cpu.h target-mips/helper.c+20 -160 replies
2/2target-mips: implement the CPU wake-up on non-enabled interrupts in R6target-mips/cpu.c+4 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up the CPU in R6

MIPS Release 6 requires that the CPU blocked on WAIT instruction can be woken up by an interrupt, even if interrupts are not enabled.

First patch does not contain any functional change, it just moves the "are interrupts enabled?" part into separate cpu_mips_hw_interrupts_enabled() function.

Second patch allows the R6 CPU to resume the execution regardless of cpu_mips_hw_interrupts_enabled().

Leon Alrae (2):
target-mips: move the test for enabled interrupts to a separate
function
target-mips: implement the CPU wake-up on non-enabled interrupts in R6

 target-mips/cpu.c    |  9 ++++++---
 target-mips/cpu.h    | 29 +++++++++++++++--------------
 target-mips/helper.c |  3 ++-
 3 files changed, 23 insertions(+), 18 deletions(-)
Signature · 1 line
2.1.0