From 5888f0ad12e40c8b079365593900df80b5c261bf Mon Sep 17 00:00:00 2001 From: Eric Auger Date: Tue, 28 Jul 2020 17:08:13 +0200 Subject: hw/arm/smmuv3: Let AIDR advertise SMMUv3.0 support Add the support for AIDR register. It currently advertises SMMU V3.0 spec. Signed-off-by: Eric Auger Reviewed-by: Peter Maydell Message-id: 20200728150815.11446-10-eric.auger@redhat.com Signed-off-by: Peter Maydell --- hw/arm/smmuv3.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/arm/smmuv3.c') diff --git a/hw/arm/smmuv3.c b/hw/arm/smmuv3.c index 89ab11fc36..718f28462e 100644 --- a/hw/arm/smmuv3.c +++ b/hw/arm/smmuv3.c @@ -1251,6 +1251,9 @@ static MemTxResult smmu_readl(SMMUv3State *s, hwaddr offset, case A_IIDR: *data = s->iidr; return MEMTX_OK; + case A_AIDR: + *data = s->aidr; + return MEMTX_OK; case A_CR0: *data = s->cr[0]; return MEMTX_OK; -- cgit v1.2.3