hw/arm/smmu: Introduce smmu_get_iotlb_key()
commit60a61f1b31fc03080aadb63c9b1006f8b1972adb
authorEric Auger <eric.auger@redhat.com>
Tue, 28 Jul 2020 15:08:07 +0000 (28 17:08 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Aug 2020 09:02:06 +0000 (24 10:02 +0100)
tree8beb54ea111c1918f2c42bb41cc6370f2a9b9be6
parent6808bca939b8722d98165319ba42366ca80de907
hw/arm/smmu: Introduce smmu_get_iotlb_key()

Introduce the smmu_get_iotlb_key() helper and the
SMMU_IOTLB_ASID() macro. Also move smmu_get_iotlb_key and
smmu_iotlb_key_hash in the IOTLB related code section.

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