hw/arm/smmuv3: Add stage-2 support in iova notifier
authorMostafa Saleh <smostafa@google.com>
Thu, 25 May 2023 09:37:51 +0000 (10:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 May 2023 14:50:16 +0000 (15:50 +0100)
commit32bd7baec2991bba1d801c348a74fc531dcae6f1
treef8242a245ea982b0020892d354b651dd95893bf5
parentccc3ee38713381a823a6b9229b36a0a1b36d919d
hw/arm/smmuv3: Add stage-2 support in iova notifier

In smmuv3_notify_iova, read the granule based on translation stage
and use VMID if valid value is sent.

Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-id: 20230516203327.2051088-10-smostafa@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmuv3.c
hw/arm/trace-events