qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Leon Alrae <leon.alrae@imgtec.com>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net
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	[thread overview]
Message-ID: <1442235504-15910-1-git-send-email-leon.alrae@imgtec.com> (raw)

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

             reply	other threads:[~2015-09-14 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-14 12:58 Leon Alrae [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442235504-15910-1-git-send-email-leon.alrae@imgtec.com \
    --to=leon.alrae@imgtec.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).