aboutsummaryrefslogtreecommitdiff
path: root/scripts/undefsym.py
diff options
context:
space:
mode:
authorLeandro Lupori <leandro.lupori@eldorado.org.br>2022-05-03 13:39:04 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-05-26 17:11:32 -0300
commit4ddc104689b186c4e4ed30be59a54463501761cf (patch)
tree9c0c205d6a1b02d0b75695863e2bfacc001ad879 /scripts/undefsym.py
parentc9f8004b6adf7020ba742d16b132e84ff6e57863 (diff)
downloadqemu-4ddc104689b186c4e4ed30be59a54463501761cf.zip
qemu-4ddc104689b186c4e4ed30be59a54463501761cf.tar.gz
qemu-4ddc104689b186c4e4ed30be59a54463501761cf.tar.bz2
target/ppc: Fix tlbie
Commit 74c4912f097bab98 changed check_tlb_flush() to use tlb_flush_all_cpus_synced() instead of calling tlb_flush() on each CPU. However, as side effect of this, a CPU executing a ptesync after a tlbie will have its TLB flushed only after exiting its current Translation Block (TB). This causes memory accesses to invalid pages to succeed, if they happen to be on the same TB as the ptesync. To fix this, use tlb_flush_all_cpus() instead, that immediately flushes the TLB of the CPU executing the ptesync instruction. Fixes: 74c4912f097bab98 ("target/ppc: Fix synchronization of mttcg with broadcast TLB flushes") Signed-off-by: Leandro Lupori <leandro.lupori@eldorado.org.br> Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com> Message-Id: <20220503163904.22575-1-leandro.lupori@eldorado.org.br> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'scripts/undefsym.py')
0 files changed, 0 insertions, 0 deletions