[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 07/21] target/unicore32: remove tlb_flush from uc32_i
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PULL 07/21] target/unicore32: remove tlb_flush from uc32_init_fn |
Date: |
Tue, 16 Oct 2018 10:48:57 -0700 |
From: "Emilio G. Cota" <address@hidden>
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 <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Emilio G. Cota <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
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 = ASR_MODE_PRIV;
env->regs[31] = 0x03000000;
#endif
-
- tlb_flush(cs);
}
static const VMStateDescription vmstate_uc32_cpu = {
--
2.17.2
- [Qemu-devel] [PULL 00/21] tcg patch queue, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 01/21] tcg: Implement CPU_LOG_TB_NOCHAIN during expansion, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 04/21] tcg: plug holes in struct TCGProfile, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 03/21] tcg: fix use of uninitialized variable under CONFIG_PROFILER, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 07/21] target/unicore32: remove tlb_flush from uc32_init_fn,
Richard Henderson <=
- [Qemu-devel] [PULL 14/21] target/arm: Convert to HAVE_CMPXCHG128, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 15/21] target/arm: Check HAVE_CMPXCHG128 at translate time, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 12/21] tcg: Split CONFIG_ATOMIC128, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 16/21] target/ppc: Convert to HAVE_CMPXCHG128 and HAVE_ATOMIC128, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 09/21] cputlb: fix assert_cpu_is_self macro, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 13/21] target/i386: Convert to HAVE_CMPXCHG128, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 08/21] exec: introduce tlb_init, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 05/21] tcg: distribute tcg_time into TCG contexts, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 06/21] target/alpha: remove tlb_flush from alpha_cpu_initfn, Richard Henderson, 2018/10/16
- [Qemu-devel] [PULL 02/21] tcg: access cpu->icount_decr.u16.high with atomics, Richard Henderson, 2018/10/16