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>
Showing
- hw/arm/smmu-common.c 22 additions, 14 deletionshw/arm/smmu-common.c
- hw/arm/smmu-internal.h 2 additions, 0 deletionshw/arm/smmu-internal.h
- hw/arm/smmuv3.c 9 additions, 3 deletionshw/arm/smmuv3.c
- hw/arm/trace-events 3 additions, 3 deletionshw/arm/trace-events
- include/hw/arm/smmu-common.h 3 additions, 2 deletionsinclude/hw/arm/smmu-common.h
Loading
Please register or sign in to comment