dev-arm: Fix SMMUv3 16KB next-level table address masking
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 12 Nov 2019 14:43:23 +0000 (14:43 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 6 Jan 2020 15:45:04 +0000 (15:45 +0000)
commit6f6bf2f90e71295e8c025e0d627e6cbd28d8b429
tree3d213459dea13e4c28fc097c0683e2fdee909b15
parent6d37f2877ef27dcec1eb1d39e7f06b3e2386bcb8
dev-arm: Fix SMMUv3 16KB next-level table address masking

The next-level table address for a granule size of 16KB is retrieved
from the 47:14 bits of the current table descriptor (instead of
47:12, which is the valid masking for a 4KB granule)

Change-Id: I570138a34003dc034d8e67dc1209316157d57205
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Michiel van Tol <michiel.vantol@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23763
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/smmu_v3_ptops.cc