qemu-e2k/target-arm
Peter Maydell 2f0d8631b7 target-arm/helper.c: Don't flush the TLB if SCTLR is rewritten unchanged
Linux makes a habit of writing the same value to the SCTLR that it
already holds. In a sample boot of the kernel to a shell prompt
it wrote the SCTLR with the value it already held 325465 times,
and wrote different values just 3 times.

Skip flushing the TLB if the SCTLR value isn't actually being changed;
this speeds up my sample boot by 3-5%.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1399560029-19007-1-git-send-email-peter.maydell@linaro.org
2014-05-13 16:09:38 +01:00
..
arm-semi.c
cpu64.c target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00
cpu-qom.h target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00
cpu.c target-arm: Make Cortex-A15 CBAR read-only 2014-04-17 21:34:06 +01:00
cpu.h target-arm: Implement CBAR for Cortex-A57 2014-04-17 21:34:06 +01:00
crypto_helper.c
gdbstub64.c target-arm/gdbstub64.c: remove useless 'break' statement. 2014-04-17 21:34:06 +01:00
gdbstub.c
helper-a64.c target-arm: Implement AArch64 EL1 exception handling 2014-04-17 21:34:04 +01:00
helper-a64.h target-arm: A64: Implement FCVTXN 2014-03-17 16:31:53 +00:00
helper.c target-arm/helper.c: Don't flush the TLB if SCTLR is rewritten unchanged 2014-05-13 16:09:38 +01:00
helper.h target-arm: Implement AArch64 EL1 exception handling 2014-04-17 21:34:04 +01:00
internals.h target-arm: Move arm_log_exception() into internals.h 2014-04-17 21:34:04 +01:00
iwmmxt_helper.c
kvm32.c target-arm: Implement AArch64 SPSR_EL1 2014-04-17 21:34:04 +01:00
kvm64.c target-arm: Implement AArch64 SPSR_EL1 2014-04-17 21:34:04 +01:00
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c
machine.c savevm: Remove all the unneeded version_minimum_id_old (arm) 2014-05-13 16:09:35 +01:00
Makefile.objs
neon_helper.c target-arm: A64: Add saturating accumulate ops (USQADD/SUQADD) 2014-03-18 23:10:06 +00:00
op_addsub.h
op_helper.c target-arm: Correct a comment refering to EL0 2014-05-01 15:24:46 +01:00
translate-a64.c target-arm: A64: Handle blr lr 2014-05-01 15:24:45 +01:00
translate.c arm: translate.c: Fix smlald Instruction 2014-04-17 21:34:07 +01:00
translate.h target-arm: Dump 32-bit CPU state if 64 bit CPU is in AArch32 2014-04-17 21:34:06 +01:00