diff options
author | Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> | 2020-04-15 01:14:09 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2020-04-15 18:56:44 +0530 |
commit | 4465272892410371a7c71e20ce985831f26c885e (patch) | |
tree | 455a90764a3b949c8809fb01b6989f9a64b4179d | |
parent | 385304dd5cb4eb944b5bc615d949a734c849a37d (diff) |
cmn_rhodes: fix node pointer position and mask
The Node Pointer information in the Child Pointer register is in the
bit positions [29:16]. Update the node pointer macro to reflect this.
Change-Id: I37f3509d4f862d3beb6341aab48e671caaca8871
Signed-off-by: Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
-rw-r--r-- | module/cmn_rhodes/src/cmn_rhodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/cmn_rhodes/src/cmn_rhodes.h b/module/cmn_rhodes/src/cmn_rhodes.h index f8aea442..06502592 100644 --- a/module/cmn_rhodes/src/cmn_rhodes.h +++ b/module/cmn_rhodes/src/cmn_rhodes.h @@ -274,8 +274,8 @@ struct cmn_rhodes_mxp_reg { /* External child node */ #define CMN_RHODES_CHILD_POINTER_EXT_REGISTER_OFFSET UINT64_C(0x00003FFF) -#define CMN_RHODES_CHILD_POINTER_EXT_NODE_POINTER UINT64_C(0x0FFFC000) -#define CMN_RHODES_CHILD_POINTER_EXT_NODE_POINTER_POS 14 +#define CMN_RHODES_CHILD_POINTER_EXT_NODE_POINTER UINT64_C(0x3FFF0000) +#define CMN_RHODES_CHILD_POINTER_EXT_NODE_POINTER_POS 16 /* Used by NON_HASH_MEM_REGIONx and SYS_CACHE_GRP_REGIONx group registers */ #define CMN_RHODES_RNSAM_REGION_ENTRY_TYPE_POS 2 |