From nobody Mon Feb 9 16:01:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1539107346036338.84617901067804; Tue, 9 Oct 2018 10:49:06 -0700 (PDT) Received: from localhost ([::1]:53135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9w7s-0004Iz-0v for importer@patchew.org; Tue, 09 Oct 2018 13:48:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9w5c-00035u-07 for qemu-devel@nongnu.org; Tue, 09 Oct 2018 13:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9w5X-0005nf-7P for qemu-devel@nongnu.org; Tue, 09 Oct 2018 13:46:35 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:41747) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9w5W-0005ge-UL for qemu-devel@nongnu.org; Tue, 09 Oct 2018 13:46:31 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 9F4D8DD7; Tue, 9 Oct 2018 13:46:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 09 Oct 2018 13:46:07 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id E9E55E48B9; Tue, 9 Oct 2018 13:46:06 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=KUbVlbJ92K47N4Cu8UgDmZAdkFvrmx6GWBLrerMabfw=; b=DsoXU FF/C3DnlyYgLRdgh+jMXe7YMy4Rrh4KqbPecPIi741JwUdDi4owVZoy687mfmH1M VVEs++hDIc+6y84Jitv8EYg1VW+v0M9w2vApRarmfjz/tyOUJJijmR2A/IU/0k6D ou10PAqsWUcBPCGcTgp5ZNpUFt+LtQqKxB0MBI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=KUbVlbJ92K47N4Cu8UgDmZAdkFvrm x6GWBLrerMabfw=; b=tig5jHF6tAPVc0+phEk8CPz3sqXEUWkAxonnAiBN2rmTy WQhl14qLMySFEu0ispEv6LEzboCjrpdX8DZoxTTj4C8+kW/X3WQFc938ZmtnV6qz VJmG2vtRtY6nojzK/Wi4wi5pgqMtjVzjhZIWDinXV0rCnv5r8UNfztxL5HI/EIk+ 8eAAf1c2u5hR3oVDO6gsQfDxNRr7FMSV1xeY3mKre4yGpD/Z6MQAk2uqAjDiMzvy Zb5Y7u77bgYAzqm9EcYX6KoeWN/1XI8zv2uVZfPAHunylXeSCtU+wy1bJHd7VLao X5M6agqQXHaw8XtJAqqH1BdYh6ESTv2W82nVFlXjg== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 9 Oct 2018 13:45:52 -0400 Message-Id: <20181009174557.16125-2-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181009174557.16125-1-cota@braap.org> References: <20181009174557.16125-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.24 Subject: [Qemu-devel] [PATCH v5 1/6] target/alpha: remove tlb_flush from alpha_cpu_initfn X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Richard Henderson Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" As far as I can tell tlb_flush does not need to be called this early. tlb_flush is eventually called after the CPU has been realized. This change paves the way to the introduction of tlb_init, which will be called from cpu_exec_realizefn. Signed-off-by: Emilio G. Cota Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- target/alpha/cpu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target/alpha/cpu.c b/target/alpha/cpu.c index b08078e7fc..a953897fcc 100644 --- a/target/alpha/cpu.c +++ b/target/alpha/cpu.c @@ -201,7 +201,6 @@ static void alpha_cpu_initfn(Object *obj) CPUAlphaState *env =3D &cpu->env; =20 cs->env_ptr =3D env; - tlb_flush(cs); =20 env->lock_addr =3D -1; #if defined(CONFIG_USER_ONLY) --=20 2.17.1