[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up
From: |
Leon Alrae |
Subject: |
[Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up the CPU in R6 |
Date: |
Mon, 14 Sep 2015 13:58:22 +0100 |
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
- [Qemu-devel] [PATCH 0/2] target-mips: non-enabled interrupts can wake up the CPU in R6,
Leon Alrae <=