Re: [PATCH v3 0/1] Fix endless translation loop of riscv

2025-04-15 Thread Alistair Francis
On Tue, Apr 15, 2025 at 6:05 PM Ziqiao Kong wrote: > > 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 bri

[PATCH v3 0/1] Fix endless translation loop of riscv

2025-04-15 Thread Ziqiao Kong
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