summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h')
-rwxr-xr-xsrc/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h
index aac13fd2..766f6880 100755
--- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h
+++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER sbe Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2015,2017 */
+/* Contributors Listed Below - COPYRIGHT 2015,2019 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -49,6 +49,7 @@ extern "C" {
#endif
+
/// PPE Load Virtual Double operation
#define PPE_LVD(_m_address, _m_data) \
asm volatile \
@@ -149,6 +150,9 @@ extern inline uint32_t getscom(const uint32_t i_chiplet, const uint32_t i_addres
extern inline void putscom_norc(const uint32_t i_address, uint64_t i_data)
{
PPE_STVD(i_address, i_data);
+#ifdef PK_MACHINE_HANDLER_SUPPPORT
+ asm volatile ("sync");
+#endif
}
#ifdef __cplusplus
OpenPOWER on IntegriCloud