qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ziqiao Kong <ziqiaokong@gmail.com>
To: qemu-devel@nongnu.org
Cc: ziqiaokong@gmail.com, qemu-trivial@nongnu.org,
	alistair.francis@wdc.com, richard.henderson@linaro.org,
	philmd@linaro.org, pbonzini@redhat.com
Subject: [PATCH v3 0/1] Fix endless translation loop of riscv
Date: Tue, 15 Apr 2025 16:02:53 +0800	[thread overview]
Message-ID: <20250415080254.3667878-1-ziqiaokong@gmail.com> (raw)

This version fixes the return value `old_pte` not correctly handled in
my previous patch.

This patch refers to common usages of qatomic_cmpxchg like those in
target/i386/tcg/system/excp_helper.c and target/arm/ptw.c. I also add
a brief explanation of the correctness in the commit message.

Thanks Philippe Mathieu-Daudé for offering previous review for my
previous patch! 

Ziqiao Kong (1):
  target/riscv: fix endless translation loop on big endian systems

 target/riscv/cpu_helper.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.34.1



             reply	other threads:[~2025-04-15  8:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-15  8:02 Ziqiao Kong [this message]
2025-04-15  8:02 ` [PATCH v3 1/1] target/riscv: fix endless translation loop on big endian systems Ziqiao Kong
2025-04-15 14:32   ` Richard Henderson
2025-04-16  4:33   ` Alistair Francis
2025-04-16  5:53 ` [PATCH v3 0/1] Fix endless translation loop of riscv Alistair Francis

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=20250415080254.3667878-1-ziqiaokong@gmail.com \
    --to=ziqiaokong@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=richard.henderson@linaro.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).