qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/1] Fix endless translation loop of riscv
@ 2025-04-15  8:02 Ziqiao Kong
  2025-04-15  8:02 ` [PATCH v3 1/1] target/riscv: fix endless translation loop on big endian systems Ziqiao Kong
  2025-04-16  5:53 ` [PATCH v3 0/1] Fix endless translation loop of riscv Alistair Francis
  0 siblings, 2 replies; 5+ messages in thread
From: Ziqiao Kong @ 2025-04-15  8:02 UTC (permalink / raw)
  To: qemu-devel
  Cc: ziqiaokong, qemu-trivial, alistair.francis, richard.henderson,
	philmd, pbonzini

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



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

end of thread, other threads:[~2025-04-16  5:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-15  8:02 [PATCH v3 0/1] Fix endless translation loop of riscv Ziqiao Kong
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

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