Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 10B68D6554E for ; Wed, 17 Dec 2025 14:33:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vVsa5-0001dO-HN; Wed, 17 Dec 2025 09:32:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vVsZQ-0001Z0-Cc for qemu-arm@nongnu.org; Wed, 17 Dec 2025 09:32:04 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vVsZO-00072v-La for qemu-arm@nongnu.org; Wed, 17 Dec 2025 09:32:03 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-47798ded6fcso38661795e9.1 for ; Wed, 17 Dec 2025 06:32:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1765981921; x=1766586721; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TCPuc4QcdE6GiCVIeNAYDq7shfJ0MvEj0ABczq5KTuo=; b=p4Q7xiEWtlM0PEn4TiQpWFY6+E60Xq4uNPJLHjtEBiLKdufSPpFudDATHsho43Z7/D d9vzWgStL01cOQmpd5C3baBxmE4F9SckG06/9CVcGKZj5aniEo848w681dY1ilSwxT2E oetFf0Kv3yfVulqXoYpxn/O79mKbHOAWnQPkHWtsOdikmohjil+95Lp0rkRqvfIZ9Zpc lP9z+LJttr2NPzeNmdAb6dE38YGStOk1z1eakL3tj2MTvKot2qwf6OLOT1wUKiLhNbLe e06XdmcsHjfebNsUWH0+titeujjxXYNV4bNo/O4FvEpWK64VGFfAoIgTFa6atMgzWW9N 4HNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765981921; x=1766586721; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TCPuc4QcdE6GiCVIeNAYDq7shfJ0MvEj0ABczq5KTuo=; b=L1QxMWkQ/nbt+G/diy3neDBGh7Q0x0T0LZytZKg5bhmaWsZSRwCVb3G767gUjGZ0ei J1kR4Hf545Sswq71YQnBGhFJuRnywiZuGBH4EjjHYlRKb25uxf0Pak7OYYdzNSs5J1mf iGH4F8UPzAvwacngwiil6QLx9SJVESJF1YqmK8Csu1ye0ml88UjdNHGT0kllxtK6NI01 5yyW3Vl0cxpph5NVquObIvsxNjty4PxUEOHRVpCrAoNw7xE/EKUlMkZUn57hCwrWx/Eu h2LA6A/+MZ2wgnju3lL3SxMzqGXwGKxYqGY6AiWBzOoVKYWd/ztYAi3Cp2eQW1rHuAp7 uIHw== X-Forwarded-Encrypted: i=1; AJvYcCU8rcupX5aVL41vE9rGXTT/0+B+PiYy7n6v1eFML++pK0H+lNApR64XhItNxKSMOrOvx0d463YpTA==@nongnu.org X-Gm-Message-State: AOJu0Yzu5tGSvIvwNGICP8qwZATgUSg04GsEWkivSk3T4HaKNO0T6vNb +MoD2o6ZlLvAwuyo+cuJHDFIOwz82cRoC1+9IRTBufqrRt6w9imcr/CS6Uqms/FfhJM= X-Gm-Gg: AY/fxX4NXN7rXmDMq9wXGviKUoEFdSJTcKdmXzpnFqINv6+Llb601bjtw8BDtP17aVn G3aIBtpXasMeqzge2UWdPsFd91Kpi2l2bVcNp6RI455SaAbx63eu0KB6hsp65VZrlttVhghA3Wr iASuKa/hHC4epbDPjI8jPCC12btUHHiCDe1QCPXQgHdysBWHObfttc5+wvgLtuiCYXbEKQqLPem kdZtu6XdU/QqEguedZffV3xxVTvN+NScJ5EbvQdknEcf1gGzBcD0SMywBMf0nbcluF9e5tVDQS/ /IZglfb4Emfp5zRgRiBtoiwp84W0CdOFnZY2a76S2eRaRTnUR+EF4p2pe75vCG2CSIMvZRK+243 yLjw4H6Zj2GEgfd5WhoxaCFImTP0Rbh+zpG/TqDydsY3NDEEWntg2BYE1PrtCFLUX8JPefyXQUp aglkp2AB2T4cKtEflpMf5t5oeUQbBCsnh9I1ybcaSpeLkrcymERvWAlFn3t26Z X-Google-Smtp-Source: AGHT+IHtPK5F59Ai6OYigl+XGD/2e1KWSwOW9iwSmzj8g138QmguzhRd4e3qCseNG7m/FhMdj7FYtw== X-Received: by 2002:a05:600c:6912:b0:479:3a88:de5d with SMTP id 5b1f17b1804b1-47a8f91dac4mr201159925e9.36.1765981921014; Wed, 17 Dec 2025 06:32:01 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47bdc1edd26sm40165355e9.13.2025.12.17.06.31.59 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 17 Dec 2025 06:31:59 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anton Johansson , qemu-arm@nongnu.org, Mark Cave-Ayland , Paolo Bonzini , "Michael S. Tsirkin" , Artyom Tarasenko , Peter Maydell , David Hildenbrand , Peter Xu , Zhao Liu Subject: [PATCH 01/14] target/i386: Remove x86_stl_phys_notdirty() leftover Date: Wed, 17 Dec 2025 15:31:37 +0100 Message-ID: <20251217143150.94463-2-philmd@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251217143150.94463-1-philmd@linaro.org> References: <20251217143150.94463-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=philmd@linaro.org; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org 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é --- target/i386/cpu.h | 1 - target/i386/helper.c | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/target/i386/cpu.h b/target/i386/cpu.h index cee1f692a1c..4c0579a5678 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -2623,7 +2623,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 72b2e195a31..d14f14e0d4d 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -690,16 +690,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); -- 2.52.0