diff options
| author | Richard Henderson | 2019-09-22 05:16:09 +0200 |
|---|---|---|
| committer | Richard Henderson | 2019-09-25 19:56:28 +0200 |
| commit | 5a7c27bb8a50a1b441a5b4c9d8e65727edec7f27 (patch) | |
| tree | d592516d9279b6ddbb30a3d89447dbfa9bcbad02 /include/exec | |
| parent | cputlb: Remove tb_invalidate_phys_page_range is_cpu_write_access (diff) | |
| download | qemu-5a7c27bb8a50a1b441a5b4c9d8e65727edec7f27.tar.gz qemu-5a7c27bb8a50a1b441a5b4c9d8e65727edec7f27.tar.xz qemu-5a7c27bb8a50a1b441a5b4c9d8e65727edec7f27.zip | |
cputlb: Pass retaddr to tb_invalidate_phys_page_fast
Rather than rely on cpu->mem_io_pc, pass retaddr down directly.
Within tb_invalidate_phys_page_range__locked, the is_cpu_write_access
parameter is non-zero exactly when retaddr would be non-zero, so that
is a simple replacement.
Recognize that current_tb_not_found is true only when mem_io_pc
(and now retaddr) are also non-zero, so remove a redundant test.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
