qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up the CPU in R6
@ 2015-09-14 12:58 Leon Alrae
  2015-09-14 12:58 ` [Qemu-devel] [PATCH 1/2] target-mips: move the test for enabled interrupts to a separate function Leon Alrae
  2015-09-14 12:58 ` [Qemu-devel] [PATCH 2/2] target-mips: implement the CPU wake-up on non-enabled interrupts in R6 Leon Alrae
  0 siblings, 2 replies; 3+ messages in thread
From: Leon Alrae @ 2015-09-14 12:58 UTC (permalink / raw)
  To: qemu-devel; +Cc: aurelien

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(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-14 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 12:58 [Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up the CPU in R6 Leon Alrae
2015-09-14 12:58 ` [Qemu-devel] [PATCH 1/2] target-mips: move the test for enabled interrupts to a separate function Leon Alrae
2015-09-14 12:58 ` [Qemu-devel] [PATCH 2/2] target-mips: implement the CPU wake-up on non-enabled interrupts in R6 Leon Alrae

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).