Message ID | 1439210072-11028-4-git-send-email-peter.maydell@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBC6Z756YVMIBBYFUUKXAKGQEL26SASA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id B14492152A for <linaro@patches.linaro.org>; Mon, 10 Aug 2015 12:34:41 +0000 (UTC) Received: by labd1 with SMTP id d1sf17127653lab.0 for <linaro@patches.linaro.org>; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=UF5jZHb2AUKk7KZpBL1WUHu+qMlOcnOLkO70tqB5vq4=; b=W9ejLZcyQYmmBWZC4hejEUfjd2leuCPamUPHr34We/YpomvycwJFy6JBfXLScbqDJf LNZpRYgAnwQ3iPYhJvPWJxzbfG1qvk6EwPEJsCBgybDNIbgk8/fZNtvYDHiaC5uzA1WS r/aJYWlKLYL96L/ZbPmoNYeg7UBo6QF+g6hqAGOQqSW3MMPKzSF/8S/lh2387Cyb9DX0 9FVP5D7wqvDKvzvTGhHgNvf/pm/Ol7yg7pfYpcXC526bSYhzOK4iaWz92XOdKu3gpjjk fZor8xbTklrxVlc7N/tm6iinqkuCUQXHejp9sVF3IUKS5XsQ5RPeWajyuIjj9rO7A0uA nSZQ== X-Gm-Message-State: ALoCoQlJ7sP/9VyOSPy+TPtEZ1xeJ/ebT59xtIrWj5WZsfw25DaTW4hbTYo/KR1wubGp7VRursoL X-Received: by 10.112.149.39 with SMTP id tx7mr2242108lbb.11.1439210080703; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.161 with SMTP id x1ls656773lal.45.gmail; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) X-Received: by 10.152.115.132 with SMTP id jo4mr19943762lab.113.1439210080562; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id to6si13929747lbb.131.2015.08.10.05.34.40 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Aug 2015 05:34:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by lbbsx3 with SMTP id sx3so10474490lbb.0 for <patchwork-forward@linaro.org>; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) X-Received: by 10.152.170.230 with SMTP id ap6mr3324588lac.73.1439210080339; Mon, 10 Aug 2015 05:34:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.7.198 with SMTP id l6csp1906862lba; Mon, 10 Aug 2015 05:34:39 -0700 (PDT) X-Received: by 10.66.102.41 with SMTP id fl9mr43969146pab.93.1439210077243; Mon, 10 Aug 2015 05:34:37 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id n9si2193158pdr.22.2015.08.10.05.34.35 for <patches@linaro.org> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Aug 2015 05:34:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from <pm215@archaic.org.uk>) id 1ZOmHg-0002sX-CG; Mon, 10 Aug 2015 13:34:32 +0100 From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Cc: patches@linaro.org, Blue Swirl <blauwirbel@gmail.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de> Subject: [PATCH 3/4] target-sparc: Don't flush TLB in cpu_load function Date: Mon, 10 Aug 2015 13:34:31 +0100 Message-Id: <1439210072-11028-4-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1439210072-11028-1-git-send-email-peter.maydell@linaro.org> References: <1439210072-11028-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/target-sparc/machine.c b/target-sparc/machine.c index 3f3de4c..7d03759 100644 --- a/target-sparc/machine.c +++ b/target-sparc/machine.c @@ -213,6 +213,5 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id) qemu_get_be64s(f, &env->ssr); cpu_get_timer(f, env->hstick); #endif - tlb_flush(CPU(cpu), 1); return 0; }
There's no need to flush the TLB in the SPARC cpu_load function: we're guaranteed to be loading state into a fresh clean configuration. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- target-sparc/machine.c | 1 - 1 file changed, 1 deletion(-)