From nobody Tue Feb 10 07:21:22 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 1539107487453456.1912641299398; Tue, 9 Oct 2018 10:51:27 -0700 (PDT) Received: from localhost ([::1]:53150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9wAI-0006Mj-DH for importer@patchew.org; Tue, 09 Oct 2018 13:51:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9w5c-00035y-22 for qemu-devel@nongnu.org; Tue, 09 Oct 2018 13:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9w5X-0005nm-9K for qemu-devel@nongnu.org; Tue, 09 Oct 2018 13:46:35 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:43247) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g9w5W-0005hF-Vz 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 7CF2ADE4; Tue, 9 Oct 2018 13:46:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 09 Oct 2018 13:46:08 -0400 Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F719E49C5; Tue, 9 Oct 2018 13:46:07 -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=Mu2nueOzWHBFSWPVOdHslrJvtg5d6PSCY1NuRp4eB3Y=; b=NhoHJ B1d0ljws1hYVLhUJTlTzftCe0IJyeDokssbHLtDu/6qX16Si+6zlLkchLd4mjx5J 3NbqBlo/KuH2UFEOXJj8w8OJoqaR2BmwhqfesnB/eoMZ4JGW124CS16lW2OpaLWs udVIXImgBG2uVjmYN0NU3syKaW0joYOuSIKxeg= 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=Mu2nueOzWHBFSWPVOdHslrJvtg5d6 PSCY1NuRp4eB3Y=; b=Z2/INd0S/fVd9WBWfBoRLr6tFvMtOb6y2urMOjEmcPNry ktZyuSo3RfUyyUp3bdNBNmhRgpYvAxzMoacqtLoA9qJ+TQF1KfOVT4kGAspGcihf Aln3YCtsGNri1xB3xL6DP+VOejS95iaTzQpBRrJVmjQFetUh/Q0I3ZdzCPnBlFJZ nJ8rMATBOtSm7v6avKvL3MBJItxIO/fZtk95/SI79Yp780Okl1+A/CylzjQ4vRCO 2Z2bgEQm18/8TYTi/z3S9zM0S0KDeqBDYUus5MENTbBnXhXD690RhMdnfeQ8RdsW VoR9iFQttFth2iNtMT2KGgUtJ0uvZBxpFseG+69Sg== X-ME-Sender: X-ME-Proxy: From: "Emilio G. Cota" To: qemu-devel@nongnu.org Date: Tue, 9 Oct 2018 13:45:53 -0400 Message-Id: <20181009174557.16125-3-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 2/6] target/unicore32: remove tlb_flush from uc32_init_fn 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?= , Guan Xuetao , 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. Cc: Guan Xuetao Signed-off-by: Emilio G. Cota Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- target/unicore32/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/unicore32/cpu.c b/target/unicore32/cpu.c index 68f978d80b..2b49d1ca40 100644 --- a/target/unicore32/cpu.c +++ b/target/unicore32/cpu.c @@ -116,8 +116,6 @@ static void uc32_cpu_initfn(Object *obj) env->uncached_asr =3D ASR_MODE_PRIV; env->regs[31] =3D 0x03000000; #endif - - tlb_flush(cs); } =20 static const VMStateDescription vmstate_uc32_cpu =3D { --=20 2.17.1