summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C
diff options
context:
space:
mode:
authorCHRISTINA L. GRAVES <clgraves@us.ibm.com>2016-10-06 15:05:09 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-10-12 11:41:23 -0400
commitf571a09fc8da6d26a0331c00b4b7c7c21075fa5f (patch)
treec4b896c6d83197604689b42fc30c2af0c5677e1c /src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C
parentd39293d8c7d35199702df5c3f22107a12b315e44 (diff)
downloadtalos-hostboot-f571a09fc8da6d26a0331c00b4b7c7c21075fa5f.tar.gz
talos-hostboot-f571a09fc8da6d26a0331c00b4b7c7c21075fa5f.zip
Fixing error with DMA writes because of scope being LN not group
Change-Id: I16ab2b13f9b77d35ab1450783c8c8f35baa24106 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30828 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: JOSHUA L. HANNAN <jlhannan@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Joseph J. McGill <jmcgill@us.ibm.com> Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30842 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C')
-rw-r--r--src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C b/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C
index 8daf62057..ae146c8c8 100644
--- a/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C
+++ b/src/import/chips/p9/procedures/hwp/nest/p9_adu_coherent_utils.C
@@ -113,6 +113,9 @@ extern "C"
//I think that the secondary encoding should always be 0 for cl_dma_rd
const uint32_t ALTD_CMD_DMAR_TSIZE = 0;
+ //Value for scope for any DMA write operations
+ const uint32_t ALTD_CMD_SCOPE_GROUP = 0b00000011;
+
// Values for PB operations
const uint32_t ALTD_CMD_PB_OPERATION_TSIZE = 0b00001000;
const uint32_t ALTD_CMD_SCOPE_SYSTEM = 0b00000101;
@@ -424,6 +427,9 @@ extern "C"
altd_cmd_reg_data.insertFromRight<ALTD_CMD_TTYPE_START_BIT,
ALTD_CMD_TTYPE_NUM_BITS>(ALTD_CMD_TTYPE_DMA_PR_WR);
+ //Set scope to group scope
+ altd_cmd_reg_data.insertFromRight<ALTD_CMD_SCOPE_START_BIT, ALTD_CMD_SCOPE_NUM_BITS>(ALTD_CMD_SCOPE_GROUP);
+
// Set TSIZE
if ( l_transSize == p9_ADU_oper_flag::TSIZE_1 )
{
OpenPOWER on IntegriCloud