diff options
author | Mostafa Saleh <smostafa@google.com> | 2024-07-15 08:45:16 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-07-18 13:49:30 +0100 |
commit | f9131185937c16da9258a565bbfc543e238d323b (patch) | |
tree | 1b5829ff6b3a7b95a60042d868f9ac4a883352a5 /po | |
parent | 46727727965f0d0769f167e300bf11aca77aadd6 (diff) | |
download | qemu-f9131185937c16da9258a565bbfc543e238d323b.zip qemu-f9131185937c16da9258a565bbfc543e238d323b.tar.gz qemu-f9131185937c16da9258a565bbfc543e238d323b.tar.bz2 |
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 'po')
0 files changed, 0 insertions, 0 deletions