diff options
| author | Peter Maydell | 2019-08-01 20:30:09 +0200 |
|---|---|---|
| committer | Peter Maydell | 2019-09-17 13:01:00 +0200 |
| commit | 3c818dfcc271f5ba298b06f33466ab30f9a28349 (patch) | |
| tree | 3e144218504ceeec4c1cf8123a996a69239b276c /scripts/render_block_graph.py | |
| parent | target/sparc: Check for transaction failures in MXCC stream ASI accesses (diff) | |
| download | qemu-3c818dfcc271f5ba298b06f33466ab30f9a28349.tar.gz qemu-3c818dfcc271f5ba298b06f33466ab30f9a28349.tar.xz qemu-3c818dfcc271f5ba298b06f33466ab30f9a28349.zip | |
target/sparc: Correctly handle bus errors in page table walks
Currently we use the ldl_phys() function to read page table entries.
With the unassigned_access hook in place, if these hit an unassigned
area of memory then the hook will cause us to wrongly generate
an exception with a fault address matching the address of the
page table entry.
Change to using address_space_ldl() so we can detect and correctly
handle bus errors and give them their correct behaviour of
causing a translation error with a suitable fault status register.
Note that this won't actually take effect until we switch the
over to using the do_translation_failed hook.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-id: 20190801183012.17564-5-peter.maydell@linaro.org
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions
