qemu/accel
Emilio G. Cota 6d967cb86d cputlb: update TLB entry/index after tlb_fill
We are failing to take into account that tlb_fill() can cause a
TLB resize, which renders prior TLB entry pointers/indices stale.
Fix it by re-doing the TLB entry lookups immediately after tlb_fill.

Fixes: 86e1eff8bc ("tcg: introduce dynamic TLB sizing", 2019-01-28)
Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20190209162745.12668-3-cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2019-02-11 08:52:44 -08:00
..
kvm qemu/queue.h: leave head structs anonymous unless necessary 2019-01-11 15:46:55 +01:00
stubs tcg: simplify !CONFIG_TCG handling of tb_invalidate_* 2018-07-02 15:41:18 +02:00
tcg cputlb: update TLB entry/index after tlb_fill 2019-02-11 08:52:44 -08:00
accel.c accel: Improve selection of the default accelerator 2019-01-11 13:57:23 +01:00
Makefile.objs kvm: add memory encryption context 2018-03-13 12:04:03 +01:00