]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/sparc: Update MMU page table using stl_phys()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 16 Dec 2025 17:59:32 +0000 (18:59 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 30 Dec 2025 19:38:41 +0000 (20:38 +0100)
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é <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20251224151351.86733-3-philmd@linaro.org>

target/sparc/mmu_helper.c

index 217580a4d8c537bdd4fbc0613a8cca91cfc3ba48..46bf500ea835bc4d248339ba7a76375545603e59 100644 (file)
@@ -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 */