diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2015-12-15 12:22:43 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-12-17 16:02:41 -0600 |
commit | c8d5f48a22f476991f48ded8f51dc963530bc3b0 (patch) | |
tree | 845b2c49b57c4c444a88ba874724d266727bacf2 /src/kernel/shutdown.S | |
parent | d9b1e8ebe2f4e943cc171f7b6b05e743a602d401 (diff) | |
download | talos-hostboot-c8d5f48a22f476991f48ded8f51dc963530bc3b0.tar.gz talos-hostboot-c8d5f48a22f476991f48ded8f51dc963530bc3b0.zip |
Set HRMOR on all threads in kernel_shutdown
Change-Id: Ib4226eb3b1afe03d100ac0610994f23dc0372311
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/22794
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/kernel/shutdown.S')
-rw-r--r-- | src/kernel/shutdown.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/kernel/shutdown.S b/src/kernel/shutdown.S index 629645b26..22ebfd1b0 100644 --- a/src/kernel/shutdown.S +++ b/src/kernel/shutdown.S @@ -5,7 +5,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2012,2014 +# Contributors Listed Below - COPYRIGHT 2012,2015 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -107,10 +109,9 @@ kernel_shutdown_ea0_1_mode: ;// Perform barrier - 2 KERNEL_BARRIER(r8, r3, r11) - ;// Update HRMOR on master. - mfspr r10, PIR - andi. r10, r10, 7 - bne+ 1f + ;// Update HRMOR -- since in EA[0] =1, going to just have all + ;// threads update HRMOR so we don't have to know about + ;// fused/normal core differences mtspr HRMOR, r4 1: ;// Perform barrier - 3 |