From: Philippe Mathieu-Daudé Date: Tue, 16 Dec 2025 17:59:32 +0000 (+0100) Subject: target/sparc: Update MMU page table using stl_phys() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58ced9649c35dc909ae534dd1e8645d3d1f1fda;p=thirdparty%2Fqemu.git target/sparc: Update MMU page table using stl_phys() stl_phys_notdirty() is supposed to do an optimized CODE path store. Here we update the page table via the DATA path, so can use the normal stl_phys() helper. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Pierrick Bouvier Reviewed-by: Richard Henderson Message-Id: <20251224151351.86733-3-philmd@linaro.org> --- diff --git a/target/sparc/mmu_helper.c b/target/sparc/mmu_helper.c index 217580a4d8..46bf500ea8 100644 --- a/target/sparc/mmu_helper.c +++ b/target/sparc/mmu_helper.c @@ -189,7 +189,7 @@ static int get_physical_address(CPUSPARCState *env, CPUTLBEntryFull *full, if (is_dirty) { pde |= PG_MODIFIED_MASK; } - stl_phys_notdirty(cs->as, pde_ptr, pde); + stl_phys(cs->as, pde_ptr, pde); } /* the page can be put in the TLB */