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:14 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-07-18 13:49:30 +0100
commitb8fa4c233bd4235081080fca919159fd770db53f (patch)
tree7b1e88d9391819094c0db2724c71e53447d0e21d /tests/avocado/avocado_qemu/linuxtest.py
parenteb41313c4be1d9b3c8fcd43ee706c10eabd5c188 (diff)
downloadfocaccia-qemu-b8fa4c233bd4235081080fca919159fd770db53f.tar.gz
focaccia-qemu-b8fa4c233bd4235081080fca919159fd770db53f.zip
hw/arm/smmu: Support nesting in the rest of commands
Some commands need rework for nesting, as they used to assume S1
and S2 are mutually exclusive:

- CMD_TLBI_NH_ASID: Consider VMID if stage-2 is supported
- CMD_TLBI_NH_ALL: Consider VMID if stage-2 is supported, otherwise
  invalidate everything, this required a new vmid invalidation
  function for stage-1 only (ASID >= 0)

Also, rework trace events to reflect the new implementation.

Reviewed-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20240715084519.1189624-15-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