diff options
| author | Richard Henderson | 2019-08-24 18:51:09 +0200 |
|---|---|---|
| committer | Richard Henderson | 2019-09-03 17:30:39 +0200 |
| commit | 50b107c5d617eaf93301cef20221312e7a986701 (patch) | |
| tree | 8ff2f1b256e9847308d30c90fc431d91023e45d1 /scripts/modules | |
| parent | cputlb: Remove double-alignment in store_helper (diff) | |
| download | qemu-50b107c5d617eaf93301cef20221312e7a986701.tar.gz qemu-50b107c5d617eaf93301cef20221312e7a986701.tar.xz qemu-50b107c5d617eaf93301cef20221312e7a986701.zip | |
cputlb: Handle watchpoints via TLB_WATCHPOINT
The raising of exceptions from check_watchpoint, buried inside
of the I/O subsystem, is fundamentally broken. We do not have
the helper return address with which we can unwind guest state.
Replace PHYS_SECTION_WATCH and io_mem_watch with TLB_WATCHPOINT.
Move the call to cpu_check_watchpoint into the cputlb helpers
where we do have the helper return address.
This allows watchpoints on RAM to bypass the full i/o access path.
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions
