summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/procedures
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-06-21 17:21:38 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-06-30 13:12:54 -0400
commit11fa67b9093f9f1fcd9c1721682bd61637e11978 (patch)
treeed0bd2c31f78d601f22336dacfdec7c5e206f6ab /src/import/chips/p9/procedures
parent5a7a21a8ab3713702977c6839781a17a39029870 (diff)
downloadtalos-sbe-11fa67b9093f9f1fcd9c1721682bd61637e11978.tar.gz
talos-sbe-11fa67b9093f9f1fcd9c1721682bd61637e11978.zip
STOP: Restore MSR in UIH hook
Change-Id: Id8e0a035a37f7f1b5d3048700fadd0d353e8fbb7 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42248 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42262 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips/p9/procedures')
-rw-r--r--src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
index 60419cce..9545b819 100644
--- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
+++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
@@ -412,6 +412,11 @@ __get_ext_irq:
## This is HW Macro specific code that is responsible for finding the
## IRQ # and storing it in r4 (phantom IRQ's are assigned a value of EXTERNAL_IRQS).
+ // restore MSR in interrupt context, for imprecise mode performance
+ _liwa %r5, PPE42_MSR_INITIAL
+ mtmsr %r5
+ sync
+
hwmacro_get_ext_irq
## An active or phantom IRQ was found.
OpenPOWER on IntegriCloud