From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: "Blue Swirl" <blauwirbel@gmail.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Andreas Färber" <afaerber@suse.de>,
patches@linaro.org
Subject: [Qemu-devel] [PATCH 3/4] target-sparc: Don't flush TLB in cpu_load function
Date: Mon, 10 Aug 2015 13:34:31 +0100 [thread overview]
Message-ID: <1439210072-11028-4-git-send-email-peter.maydell@linaro.org> (raw)
In-Reply-To: <1439210072-11028-1-git-send-email-peter.maydell@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 <peter.maydell@linaro.org>
---
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
next prev parent reply other threads:[~2015-08-10 12:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-10 12:34 [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 1/4] vmstate: introduce CPU_DoubleU arrays Peter Maydell
2015-08-10 12:34 ` [Qemu-devel] [PATCH 2/4] target-sparc: Split cpu_put_psr into side-effect and no-side-effect parts Peter Maydell
2015-08-10 12:34 ` Peter Maydell [this message]
2015-08-10 12:34 ` [Qemu-devel] [PATCH 4/4] target-sparc: Convert to VMStateDescription Peter Maydell
2015-08-18 15:15 ` Paolo Bonzini
2015-08-13 22:37 ` [Qemu-devel] [PATCH 0/4] target-sparc: Update to use VMStateDescription Mark Cave-Ayland
2015-08-14 10:55 ` Peter Maydell
2015-08-14 12:15 ` Artyom Tarasenko
2015-08-17 18:22 ` Mark Cave-Ayland
2015-08-18 8:55 ` Artyom Tarasenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1439210072-11028-4-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=afaerber@suse.de \
--cc=blauwirbel@gmail.com \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=patches@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).