diff options
author | Richard Henderson | 2019-04-03 05:16:56 +0200 |
---|---|---|
committer | Richard Henderson | 2019-05-10 20:12:50 +0200 |
commit | 4811e9095c0491bc6f5450e5012c9c4796b9e59d (patch) | |
tree | c29149b731e5babf0487ab2459d7c03265996a8e /accel/accel.c | |
parent | tcg: Remove CPUClass::handle_mmu_fault (diff) | |
download | qemu-4811e9095c0491bc6f5450e5012c9c4796b9e59d.tar.gz qemu-4811e9095c0491bc6f5450e5012c9c4796b9e59d.tar.xz qemu-4811e9095c0491bc6f5450e5012c9c4796b9e59d.zip |
tcg: Use tlb_fill probe from tlb_vaddr_to_host
Most of the existing users would continue around a loop which
would fault the tlb entry in via a normal load/store.
But for AArch64 SVE we have an existing emulation bug wherein we
would mark the first element of a no-fault vector load as faulted
(within the FFR, not via exception) just because we did not have
its address in the TLB. Now we can properly only mark it as faulted
if there really is no valid, readable translation, while still not
raising an exception. (Note that beyond the first element of the
vector, the hardware may report a fault for any reason whatsoever;
with at least one element loaded, forward progress is guaranteed.)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/accel.c')
0 files changed, 0 insertions, 0 deletions