hw/arm/smmuv3: Support HAD and advertise SMMUv3.1 support
commite7c3b9d9a0ddee7daa9b08bd14bd3ebbcf5f5cd3
authorEric Auger <eric.auger@redhat.com>
Tue, 28 Jul 2020 15:08:14 +0000 (28 17:08 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Aug 2020 09:02:06 +0000 (24 10:02 +0100)
tree19bee6a1f3e39fb38bce6cdefeb934162b8075fc
parent5888f0ad12e40c8b079365593900df80b5c261bf
hw/arm/smmuv3: Support HAD and advertise SMMUv3.1 support

HAD is a mandatory features with SMMUv3.1 if S1P is set, which is
our case. Other 3.1 mandatory features come with S2P which we don't
have.

So let's support HAD and advertise SMMUv3.1 support in AIDR.

HAD support allows the CD to disable hierarchical attributes, ie.
if the HAD0/1 bit is set, the APTable field of table descriptors
walked through TTB0/1 is ignored.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200728150815.11446-11-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmu-common.c
hw/arm/smmuv3-internal.h
hw/arm/smmuv3.c
hw/arm/trace-events
include/hw/arm/smmu-common.h