From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmYQ-0008FG-2q for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:51:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOmYN-0006Pv-Pd for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:51:50 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOmYN-0006Pn-Ai for qemu-devel@nongnu.org; Mon, 10 Aug 2015 08:51:47 -0400 From: Peter Maydell Date: Mon, 10 Aug 2015 13:34:31 +0100 Message-Id: <1439210072-11028-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1439210072-11028-1-git-send-email-peter.maydell@linaro.org> References: <1439210072-11028-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 3/4] target-sparc: Don't flush TLB in cpu_load function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Blue Swirl , Mark Cave-Ayland , =?UTF-8?q?Andreas=20F=C3=A4rber?= , patches@linaro.org 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 --- target-sparc/machine.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 1.9.1