summary refs log tree commit diff stats
path: root/tests/avocado/avocado_qemu/linuxtest.py
diff options
context:
space:
mode:
authorMostafa Saleh <smostafa@google.com>2024-07-15 08:45:16 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-07-18 13:49:30 +0100
commitf9131185937c16da9258a565bbfc543e238d323b (patch)
tree1b5829ff6b3a7b95a60042d868f9ac4a883352a5 /tests/avocado/avocado_qemu/linuxtest.py
parent46727727965f0d0769f167e300bf11aca77aadd6 (diff)
downloadfocaccia-qemu-f9131185937c16da9258a565bbfc543e238d323b.tar.gz
focaccia-qemu-f9131185937c16da9258a565bbfc543e238d323b.zip
hw/arm/smmuv3: Handle translation faults according to SMMUPTWEventInfo
Previously, to check if faults are enabled, it was sufficient to check
the current stage of translation and check the corresponding
record_faults flag.

However, with nesting, it is possible for stage-1 (nested) translation
to trigger a stage-2 fault, so we check SMMUPTWEventInfo as it would
have the correct stage set from the page table walk.

Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20240715084519.1189624-17-smostafa@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'tests/avocado/avocado_qemu/linuxtest.py')
0 files changed, 0 insertions, 0 deletions