hw/arm/smmuv3: Add VMID to TLB tagging
commit2eaeb7d593254a34f3e551865b687886c2698f96
authorMostafa Saleh <smostafa@google.com>
Thu, 25 May 2023 09:37:50 +0000 (25 10:37 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 30 May 2023 14:50:16 +0000 (30 15:50 +0100)
treeaec4cd18f54e67dd736c533c061ace4d0cabcf03
parentcd617556aded2528664a3673d66d5cd0864f5341
hw/arm/smmuv3: Add VMID to TLB tagging

Allow TLB to be tagged with VMID.

If stage-1 is only supported, VMID is set to -1 and ignored from STE
and CMD_TLBI_NH* cmds.

Update smmu_iotlb_insert trace event to have vmid.

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-8-smostafa@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmu-common.c
hw/arm/smmu-internal.h
hw/arm/smmuv3.c
hw/arm/trace-events
include/hw/arm/smmu-common.h