From 93fadbcabef27580bcfd2647d1f66f5f5c31b7d3 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Wed, 26 Jun 2019 11:50:24 +0100 Subject: [PATCH] dev-arm: Fix SMMUv3 ContextDescriptor pointer shift The context descriptor pointer in the STE starts at the sixth LSB Change-Id: Ifa346b350785b788e9d1e093b662cb26433adfb8 Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-by: Christo Smallwood Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19469 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/dev/arm/smmu_v3_defs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/arm/smmu_v3_defs.hh b/src/dev/arm/smmu_v3_defs.hh index 2070e1d90..991e90c7b 100644 --- a/src/dev/arm/smmu_v3_defs.hh +++ b/src/dev/arm/smmu_v3_defs.hh @@ -67,7 +67,7 @@ enum { enum { ST_CFG_SPLIT_SHIFT = 6, - ST_CD_ADDR_SHIFT = 5, + ST_CD_ADDR_SHIFT = 6, CD_TTB_SHIFT = 4, STE_S2TTB_SHIFT = 4, }; -- 2.30.2