summaryrefslogtreecommitdiffstats
path: root/hw/intc/allwinner-a10-pic.c
diff options
context:
space:
mode:
authorPeter Maydell2014-05-13 17:09:38 +0200
committerPeter Maydell2014-05-13 17:09:38 +0200
commit2f0d8631b74c873c8867a7b509335bc2bf8d8886 (patch)
treea3f384c8b4bfc7adba1ed83d1de2f94affe6ed06 /hw/intc/allwinner-a10-pic.c
parenthw/net/stellaris_enet: Convert to vmstate (diff)
downloadqemu-2f0d8631b74c873c8867a7b509335bc2bf8d8886.tar.gz
qemu-2f0d8631b74c873c8867a7b509335bc2bf8d8886.tar.xz
qemu-2f0d8631b74c873c8867a7b509335bc2bf8d8886.zip
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
Diffstat (limited to 'hw/intc/allwinner-a10-pic.c')
0 files changed, 0 insertions, 0 deletions