summaryrefslogtreecommitdiffstats
path: root/import/chips/p9/common/pmlib/include
diff options
context:
space:
mode:
authorMichael Floyd <mfloyd@us.ibm.com>2017-05-16 12:03:44 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 17:37:36 -0500
commitc7126d4e340589ae2c78c3e2175e3c8bea85fc1b (patch)
tree73ebfcc782ad04e49bc106816427ab1fa99452db /import/chips/p9/common/pmlib/include
parentaeda8288c648d39d42e7373a5f7ee56f938fb7c9 (diff)
downloadtalos-hcode-c7126d4e340589ae2c78c3e2175e3c8bea85fc1b.tar.gz
talos-hcode-c7126d4e340589ae2c78c3e2175e3c8bea85fc1b.zip
PM: Remove usage of CME flag to disable queued scan.
- Subsequent commit will need to remove attribute and from image build. Change-Id: Ia8a3771ff883929f96f4451d6dbb6b83bfaa1c17 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40571 Reviewed-by: CHRISTOPHER M. RIEDL <cmriedl@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Juan R. Medina <jrmedina@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'import/chips/p9/common/pmlib/include')
-rw-r--r--import/chips/p9/common/pmlib/include/cmehw_common.h2
-rw-r--r--import/chips/p9/common/pmlib/include/ppehw_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/import/chips/p9/common/pmlib/include/cmehw_common.h b/import/chips/p9/common/pmlib/include/cmehw_common.h
index 542ade42..e7a002b4 100644
--- a/import/chips/p9/common/pmlib/include/cmehw_common.h
+++ b/import/chips/p9/common/pmlib/include/cmehw_common.h
@@ -59,7 +59,7 @@ enum CME_BCEBAR_INDEXES
#define CME_SCOM_ADDR(addr, core, op) (addr | (core << 22) | (op << 20))
-#if defined(USE_CME_QUEUED_SCOM) && defined(USE_PPE_IMPRECISE_MODE)
+#if defined(USE_CME_QUEUED_SCOM)
#define CME_GETSCOM(addr, core, scom_op, data) \
PPE_LVD(CME_SCOM_ADDR(addr, core, scom_op), data);
#define CME_PUTSCOM(addr, core, data) \
diff --git a/import/chips/p9/common/pmlib/include/ppehw_common.h b/import/chips/p9/common/pmlib/include/ppehw_common.h
index 0a813c65..3b3efafb 100644
--- a/import/chips/p9/common/pmlib/include/ppehw_common.h
+++ b/import/chips/p9/common/pmlib/include/ppehw_common.h
@@ -99,7 +99,7 @@ typedef union
#define PPE_CORE_CYCLE_DIVIDER (PPE_CORE_CYCLE_RATIO*PPE_FOR_LOOP_CYCLES)
#ifdef USE_PPE_IMPRECISE_MODE
#define PPE_WAIT_CORE_CYCLES(cc) \
- {volatile uint32_t l;for(l=0;l<cc/PPE_CORE_CYCLE_DIVIDER;l++);asm volatile ("sync");}
+ {volatile uint32_t l;asm volatile ("sync");for(l=0;l<cc/PPE_CORE_CYCLE_DIVIDER;l++);}
#else
#define PPE_WAIT_CORE_CYCLES(cc) \
{volatile uint32_t l;for(l=0;l<cc/PPE_CORE_CYCLE_DIVIDER;l++);}
OpenPOWER on IntegriCloud