diff options
author | Emilio G. Cota | 2019-02-09 17:27:45 +0100 |
---|---|---|
committer | Richard Henderson | 2019-02-11 17:52:44 +0100 |
commit | 6d967cb86d5b4a60ba15b497126b621ce9ca6609 (patch) | |
tree | a2b37a81e8ae1f0764ecdafef2c652a889e5d628 /scripts/qemu.py | |
parent | exec-all: document that tlb_fill can trigger a TLB resize (diff) | |
download | qemu-6d967cb86d5b4a60ba15b497126b621ce9ca6609.tar.gz qemu-6d967cb86d5b4a60ba15b497126b621ce9ca6609.tar.xz qemu-6d967cb86d5b4a60ba15b497126b621ce9ca6609.zip |
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>
Diffstat (limited to 'scripts/qemu.py')
0 files changed, 0 insertions, 0 deletions