Commit a24151dec6 for qemu.org

commit a24151dec6532993946a8b88c4dd0cbbb037d176
Author: Philippe Mathieu-Daudé <philmd@linaro.org>
Date:   Fri Dec 12 22:15:00 2025 +0100

    target/i386: Remove x86_stl_phys_notdirty() leftover

    Last use of x86_stl_phys_notdirty() was removed in commit 4a1e9d4d11c
    ("target/i386: Use atomic operations for pte updates"), let's remove.

    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>
    Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
    Message-Id: <20251224151351.86733-2-philmd@linaro.org>

diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index 41ea04099b..2bbc977d90 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -2756,7 +2756,6 @@ uint32_t x86_lduw_phys(CPUState *cs, hwaddr addr);
 uint32_t x86_ldl_phys(CPUState *cs, hwaddr addr);
 uint64_t x86_ldq_phys(CPUState *cs, hwaddr addr);
 void x86_stb_phys(CPUState *cs, hwaddr addr, uint8_t val);
-void x86_stl_phys_notdirty(CPUState *cs, hwaddr addr, uint32_t val);
 void x86_stw_phys(CPUState *cs, hwaddr addr, uint32_t val);
 void x86_stl_phys(CPUState *cs, hwaddr addr, uint32_t val);
 void x86_stq_phys(CPUState *cs, hwaddr addr, uint64_t val);
diff --git a/target/i386/helper.c b/target/i386/helper.c
index 3f179c6c11..f9f9488eb4 100644
--- a/target/i386/helper.c
+++ b/target/i386/helper.c
@@ -702,16 +702,6 @@ void x86_stb_phys(CPUState *cs, hwaddr addr, uint8_t val)
     address_space_stb(as, addr, val, attrs, NULL);
 }

-void x86_stl_phys_notdirty(CPUState *cs, hwaddr addr, uint32_t val)
-{
-    X86CPU *cpu = X86_CPU(cs);
-    CPUX86State *env = &cpu->env;
-    MemTxAttrs attrs = cpu_get_mem_attrs(env);
-    AddressSpace *as = cpu_addressspace(cs, attrs);
-
-    address_space_stl_notdirty(as, addr, val, attrs, NULL);
-}
-
 void x86_stw_phys(CPUState *cs, hwaddr addr, uint32_t val)
 {
     X86CPU *cpu = X86_CPU(cs);