From nobody Tue Apr 8 22:25:08 2025 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; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1539713498391610.9490452052012; Tue, 16 Oct 2018 11:11:38 -0700 (PDT) Received: from localhost ([::1]:59505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCTof-00071D-1Z for importer@patchew.org; Tue, 16 Oct 2018 14:11:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59668) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCTTO-00045V-6u for qemu-devel@nongnu.org; Tue, 16 Oct 2018 13:49:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCTTJ-0000y7-Rr for qemu-devel@nongnu.org; Tue, 16 Oct 2018 13:49:37 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:38062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCTTI-0000lD-HZ for qemu-devel@nongnu.org; Tue, 16 Oct 2018 13:49:33 -0400 Received: by mail-pg1-x52d.google.com with SMTP id f8-v6so11197723pgq.5 for ; Tue, 16 Oct 2018 10:49:25 -0700 (PDT) Received: from cloudburst.twiddle.net (174-21-9-133.tukw.qwest.net. [174.21.9.133]) by smtp.gmail.com with ESMTPSA id 6-v6sm17441210pgl.6.2018.10.16.10.49.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 16 Oct 2018 10:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iQuRnp6tSFYZasKkNBV6hIxMETb4h2l2cVJHyyzAdxw=; b=UzoJjn+hj54+B0pMBN1AzUyT9Yctrsi4g6bNYcuxxLbHkMggjQLyJdGj45gGvZ+F9t TceNlEK93BvMfCg9CS2Pj7hUUGrnlXi7JKbPd2ZrZHK1t5l4g8Hl0zCApsIu4L/jqOKz K+uBMVqf7D0qwobPZNei968jbW6RKLqzCGUy0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iQuRnp6tSFYZasKkNBV6hIxMETb4h2l2cVJHyyzAdxw=; b=IaxioscBvJ0BmwaTn9gJV07QWI2SXdHgqJgYAFlzPQ9kVOdKMBRGd3SFq1xC0br57a L8Y9u0mE91ETNr2au9d/UrVt9hmVtTHHj4NYSUbYuMm3A5EbQHBLpv5Rcq89Jgk1O3Ns eoLbrogW5ut6gyZMXwD4ZbiDfwIKQOADbmujNlEU0dJfmR8K7DE8TpJxlzW/4rz7litQ CdsPESpvNXDaQn4ys1IWtVu3C0NL+uH+9cZiQDKrYVmV/+gusZGc0jVG3EdHH8pVmBKu BoaYM84QIOiJlk/s2DiTD4Q5F4WM8DkZKOBmJ3dlbtyZcY8w4Wb1GvRUo+pEiC5qSPQ2 ocxg== X-Gm-Message-State: ABuFfogUmoP9nopYrL8MiJG6KjO/7D0gHAROCmaiUeUS1bbka+DxMGFm 0ZBG1yTPKz5EZP9xFiVKF/Ko65BYzMo= X-Google-Smtp-Source: ACcGV60zuHif70vlqoZSzxqeLo6Q80v5pR3I8P/OHsdncMea+YvMdpPoY2BVQzQ5Xewl9vP2ZEuiuA== X-Received: by 2002:a62:7501:: with SMTP id q1-v6mr22815804pfc.225.1539712164490; Tue, 16 Oct 2018 10:49:24 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 16 Oct 2018 10:48:57 -0700 Message-Id: <20181016174911.9052-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181016174911.9052-1-richard.henderson@linaro.org> References: <20181016174911.9052-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::52d Subject: [Qemu-devel] [PULL 07/21] 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: Guan Xuetao , peter.maydell@linaro.org, "Emilio G. Cota" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 From: "Emilio G. Cota" 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 Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Signed-off-by: Emilio G. Cota Message-Id: <20181009174557.16125-3-cota@braap.org> Signed-off-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.2