From patchwork Thu Sep 14 19:52:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 722602 Delivered-To: patch@linaro.org Received: by 2002:ab3:5684:0:b0:23f:8cfb:5ad7 with SMTP id d4csp688648ltc; Thu, 14 Sep 2023 12:53:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEK2zLu0+mpabLan5ZNUdbWt2hcEh64NFfQ1p1NIXYf7R0F4SD09AOECwigcFMsaCDJAdhU X-Received: by 2002:a05:620a:371f:b0:76e:f638:bce6 with SMTP id de31-20020a05620a371f00b0076ef638bce6mr3583982qkb.21.1694721199421; Thu, 14 Sep 2023 12:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694721199; cv=none; d=google.com; s=arc-20160816; b=rqBzB44nonQ/1QnBqJW3tZc8NCdaxm0f0iMiC2cjIna1Flv+/Y/zYD+Bt3nsUuAW/x tyTxFb5wE2kdK9hVAyNCNkUe+sGEBzdWtdxSfjMwO2iAVXOB9izm3tBBr7yY25Naq9Xd c+yqBs0p0QhumIpVoVQiN29Xq262utrHLBCUNYNmCOalAG4hAZCCYlLMamNEybTE5AnG 3FXZkvwdSAdWZeQYLEFyN6MZi+fRwPFer8O6aBWXG6XvVNBADv8wwD6S+xWaS4g2aMdU 2RLJRqYK++Z/k44dCN+PnFZhiGYtoN99Z+pnZf0jEsQNoVW0Y83HDcoka380aduDUmcH Z8fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=rqTzRZqnlvONF3ZM8t6uAZIEh+prXa466EdrDg1ej9c=; fh=FiyyUy7EBP2sturit0nQSzeCXKIF9fai8v0bS20tHfg=; b=z2VW3f6anh9thDqhT7UQMKqm3Rc8QKAHQ0UslOEhj4X6RIUtn5Wn7gFc7doyeOq44V 8vLSIGacf8qKByrDJDl6+H/WTxHRYlDvVcuS0NDhe05EoYYxOyRZh76P4JFFGVwU5rHN 6zyxs0G1X87YYpGgrSJHrbu7yjRyH85xhcFApDeWq2vJPMhzaeYCsV3LTgl9obbtQhBz 3+CI5axjukGmomk9zkDKRLioSsho3k1L/m/UiqGNb+MP8wEQyGtEsi4VqFjJ8piTulQQ +rd+uaS4fVEucLuAcqHh4kB//6VnbzLS3V7IIJKNXh7i3OZ6k4B1CftLUeFZDXrtDR1s L6aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kf2+Srpg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f15-20020a05620a408f00b007726499db83si1389186qko.229.2023.09.14.12.53.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Sep 2023 12:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kf2+Srpg; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgsOL-0005gi-1H; Thu, 14 Sep 2023 15:52:45 -0400 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 1qgsOK-0005eA-3X for qemu-devel@nongnu.org; Thu, 14 Sep 2023 15:52:44 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qgsOI-0006lg-KS for qemu-devel@nongnu.org; Thu, 14 Sep 2023 15:52:43 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99bdcade7fbso174725866b.1 for ; Thu, 14 Sep 2023 12:52:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694721161; x=1695325961; 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=rqTzRZqnlvONF3ZM8t6uAZIEh+prXa466EdrDg1ej9c=; b=kf2+SrpgyHqHM2Gc3hX4ijG3xeBkFSYk4IdA16cFVmon5JM3nu7n0RFhjhuaZF7QDl 0dm1uu1Ju6eATFi+gdSvjPoz19zwdoOxJ7Ss3cIswZS79KjgJiyV+FksPynr8zB0bOQK KEIPIYnGV53K/kWYK7mcdYEAIQ+RE2vbfSeLiz4VShT5+FeWNdhSxWlQGFKFvy0LGB/b eea5X4gzwBXejlSHjk1rbq9Jhb5MkA4Yvi+ryu/I5pESFGxY9YM0R3uPQaaDl6dHAn0j 5ciI5h6GnEhTXBrZU2LqrcUEB6TkTJUsAO6WaPdDOjI7FIA/Su8E+39ASpqX2lknW7Wu AofA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694721161; x=1695325961; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rqTzRZqnlvONF3ZM8t6uAZIEh+prXa466EdrDg1ej9c=; b=bxGoZ+yJd6tVqCLTN70eyv3e8EQQnZemincctiW8t6Kh97wmL7NuYuF003KQ2iqST7 NH1wsZ3NqeqWuYbazO5a7lhycYluZrZ+s6NUtZ+e/6QWCYuYdR6CPCAYIEsKxhjYy4jA h2dIbQ93Qvh8NEfbL/ebwss7zpzS0/a1djYtbDn8pzkHuXyBwMwfBmSRiyaT6BhA63Ek fTn3rla9Y7kRSlfCOkWHqzPWioxPg7d2p51JECTime8YD4G3ap7avih4GeQ9H/IYpdID afENUFT4/Cos1Yl1F9zZPkwpfA6nTI/sV794dL7Qmk+V4kjEU68o6HKcY2+PLBXeGe60 AfnA== X-Gm-Message-State: AOJu0YxPe6mFW+bL/nHDZcJsFv4Yzyl6jxN3SL6eLiH13jyKn3t/u7Gg J48nQwgZ822WZyt76cvVuotBVuI4DdSSkfVvvjE= X-Received: by 2002:a17:906:300c:b0:993:d5bd:a757 with SMTP id 12-20020a170906300c00b00993d5bda757mr5694413ejz.19.1694721160831; Thu, 14 Sep 2023 12:52:40 -0700 (PDT) Received: from m1x-phil.lan (176-131-223-129.abo.bbox.fr. [176.131.223.129]) by smtp.gmail.com with ESMTPSA id uz3-20020a170907118300b0099cc36c4681sm1423925ejb.157.2023.09.14.12.52.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 14 Sep 2023 12:52:40 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Greg Kurz , Anton Johansson , Yanan Wang , Richard Henderson , David Gibson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Eduardo Habkost , Marcel Apfelbaum , Daniel Henrique Barboza , =?utf-8?q?Alex_Benn=C3=A9e?= , Paolo Bonzini , Harsh Prateek Bora , qemu-ppc@nongnu.org Subject: [PATCH 1/4] accel/tcg: Remove tlb_set_dirty() stub Date: Thu, 14 Sep 2023 21:52:26 +0200 Message-ID: <20230914195229.78244-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230914195229.78244-1-philmd@linaro.org> References: <20230914195229.78244-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=philmd@linaro.org; helo=mail-ej1-x62e.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@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-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Since commit 34d49937e4 ("accel/tcg: Handle atomic accesses to notdirty memory correctly") there is only a single call to tlb_set_dirty(), within accel/tcg/cputlb.c itself where the function is defined. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Harsh Prateek Bora --- accel/stubs/tcg-stub.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/accel/stubs/tcg-stub.c b/accel/stubs/tcg-stub.c index a9e7a2d5b4..f088054f34 100644 --- a/accel/stubs/tcg-stub.c +++ b/accel/stubs/tcg-stub.c @@ -18,10 +18,6 @@ void tb_flush(CPUState *cpu) { } -void tlb_set_dirty(CPUState *cpu, vaddr vaddr) -{ -} - void tcg_flush_jmp_cache(CPUState *cpu) { }