qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Green <green@moxielogic.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Anthony Green <green@moxielogic.com>
Subject: [Qemu-devel] [PATCH moxie] Fix bug in tlb_fill.
Date: Mon, 13 May 2013 16:04:24 -0400	[thread overview]
Message-ID: <1368475464-3116-1-git-send-email-green@moxielogic.com> (raw)

Fix a simple bug in tlb_fill for moxie.  The port was mostly working
before, which is why I only really noticed it recently.  Thanks to
@jcmvbkbc for tracking it down.

Signed-off-by: Anthony Green <green@moxielogic.com>
---
 target-moxie/helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-moxie/helper.c b/target-moxie/helper.c
index 6e0ac2a..6c36c49 100644
--- a/target-moxie/helper.c
+++ b/target-moxie/helper.c
@@ -55,8 +55,8 @@ void tlb_fill(CPUMoxieState *env, target_ulong addr, int is_write, int mmu_idx,
         if (retaddr) {
             cpu_restore_state(env, retaddr);
         }
+	cpu_loop_exit(env);
     }
-    cpu_loop_exit(env);
 }
 
 void helper_raise_exception(CPUMoxieState *env, int ex)
-- 
1.8.1.4

             reply	other threads:[~2013-05-13 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 20:04 Anthony Green [this message]
2013-05-13 20:33 ` [Qemu-devel] [PATCH moxie] Fix bug in tlb_fill Max Filippov
2013-05-14 16:02   ` Richard Henderson
2013-12-15  4:10 ` [Qemu-devel] ping.. " Anthony Green
2013-12-15 18:51   ` Andreas Färber
2013-12-15 19:03     ` Peter Maydell
2013-12-15 19:26       ` Anthony Green
2013-12-16  0:07         ` Peter Crosthwaite

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=1368475464-3116-1-git-send-email-green@moxielogic.com \
    --to=green@moxielogic.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@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).