summaryrefslogtreecommitdiffstats
path: root/src/include/arch
diff options
context:
space:
mode:
authorBrian Stegmiller <bjs@us.ibm.com>2015-12-14 10:30:50 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-08-07 21:49:39 -0400
commite9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9 (patch)
tree7a78e7b919ccb1360b2f6d61222018ee5632eaeb /src/include/arch
parent7767776ba9b56ba3cda5a7a68933794eb3b22c4f (diff)
downloadtalos-hostboot-e9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9.tar.gz
talos-hostboot-e9e636a7c44cae8ac85c1f41b6cfbfe12cfd62e9.zip
Replace NAP with STOP instruction
Change-Id: I58a382cfc285e37cc8748fe8e23f71c877850263 RTC: 130186 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/816 Tested-by: Jenkins Server <pfd-jenkins+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/include/arch')
-rw-r--r--src/include/arch/ppc.H11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/include/arch/ppc.H b/src/include/arch/ppc.H
index 7e8b768c2..007f4f2b7 100644
--- a/src/include/arch/ppc.H
+++ b/src/include/arch/ppc.H
@@ -337,16 +337,7 @@ inline void icbi(void* _ptr)
ALWAYS_INLINE
inline void nap()
{
- // @todo-RTC:130186 Add new stop command support
- //asm volatile("nap");
-
- // Nap should be equivalent to 'stop 1' (no state loss)
- // 855 reg for HYPV, 823 reg otherwise
- // using EC(bit43) as 1 here (system reset or LPCR event)
- // PHYP uses bit 42 as 1 also
-// register uint64_t psscr = 0x0000000000310001;
-// asm volatile("mtspr 823, %0; isync" :: "r" (psscr));
-// asm volatile(".long 0x4C0002E4"); // When GCC supports 'stop', use it
+ asm volatile(".long 0x4C0002E4"); // When GCC supports 'stop', use it
}
ALWAYS_INLINE
OpenPOWER on IntegriCloud