summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-01-13 10:56:29 -0600
committerSachin Gupta <sgupta2m@in.ibm.com>2017-01-18 10:13:23 -0500
commit38a51f1b67f180817adb61ab47aea49bf75143c7 (patch)
treede9fe1e57fb4d7c3ff4b576fec8000da2b1da5a7 /src
parentd5dd72ea967b7cc5711ac47ab6212bbc8417c69c (diff)
downloadtalos-sbe-38a51f1b67f180817adb61ab47aea49bf75143c7.tar.gz
talos-sbe-38a51f1b67f180817adb61ab47aea49bf75143c7.zip
PK: make GPE using 8B in64/out64 op
Change-Id: I02cd577023fe818bab2aabbe60d513b7d9355d13 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34840 Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34852 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h
index 8b0783b2..18ee3fdf 100644
--- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h
+++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h
@@ -176,20 +176,6 @@ popcount64(uint64_t x)
#define in32(addr) \
({uint32_t __data = *(volatile uint32_t *)(addr); __data;})
-#ifdef HWMACRO_GPE
-
-/// 64-bit MMIO Write
-#define out64(addr, data) \
- do { \
- uint64_t __data = (data); \
- volatile uint32_t *__addr_hi = (uint32_t *)(addr); \
- volatile uint32_t *__addr_lo = __addr_hi + 1; \
- *__addr_hi = (__data >> 32); \
- *__addr_lo = (__data & 0xffffffff); \
- } while(0)
-
-#else /* standard PPE's require a 64 bit write */
-
/// 64-bit MMIO Write
#define out64(addr, data) \
{\
@@ -203,21 +189,6 @@ popcount64(uint64_t x)
); \
}
-#endif /* HWMACRO_GPE */
-
-#ifdef HWMACRO_GPE
-/// 64-bit MMIO Read
-#define in64(addr) \
- ({ \
- uint64_t __data; \
- volatile uint32_t *__addr_hi = (uint32_t *)(addr); \
- volatile uint32_t *__addr_lo = __addr_hi + 1; \
- __data = *__addr_hi; \
- __data = (__data << 32) | *__addr_lo; \
- __data;})
-
-#else /* Standard PPE's require a 64 bit read */
-
#define in64(addr) \
({\
uint64_t __d; \
@@ -231,8 +202,6 @@ popcount64(uint64_t x)
__d; \
})
-#endif /* HWMACRO_GPE */
-
#endif /* __ASSEMBLER__ */
#include "ppe42_irq.h"
OpenPOWER on IntegriCloud