hw/arm/smmu: Introduce SMMUTLBEntry for PTW and IOTLB value
commita7550158556b7fc2f2baaecf9092499c6687b160
authorEric Auger <eric.auger@redhat.com>
Tue, 28 Jul 2020 15:08:08 +0000 (28 17:08 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Aug 2020 09:02:06 +0000 (24 10:02 +0100)
treef57a736d4e0771573ded93444e308f053a60a560
parent60a61f1b31fc03080aadb63c9b1006f8b1972adb
hw/arm/smmu: Introduce SMMUTLBEntry for PTW and IOTLB value

Introduce a specialized SMMUTLBEntry to store the result of
the PTW and cache in the IOTLB. This structure extends the
generic IOMMUTLBEntry struct with the level of the entry and
the granule size.

Those latter will be useful when implementing range invalidation.

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