summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYue Du <daviddu@us.ibm.com>2017-01-24 10:50:49 -0600
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2017-10-23 17:03:18 -0500
commit15cf3fda15b96931bf35c72a2574ee841499ca20 (patch)
tree6863447e0975bc5d3fb4b86bcda2352f99f253af
parenta1a8c790a6ec5ef01e5fa6f3c30599fa4b2ef336 (diff)
downloadtalos-hcode-15cf3fda15b96931bf35c72a2574ee841499ca20.tar.gz
talos-hcode-15cf3fda15b96931bf35c72a2574ee841499ca20.zip
HW398205: fix cme entry abort changed irq masking assumption
Change-Id: Ieecc329b28cb3aec67cfe8fc1d0e49999ad669bb Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35338 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: ASHISH A. MORE <ashish.more@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Dev-Ready: Gregory S. Still <stillgs@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rwxr-xr-ximport/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
index 464bc3e6..a8eee74f 100755
--- a/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
+++ b/import/chips/p9/procedures/ppe_closed/cme/stop_cme/p9_cme_stop_entry.c
@@ -568,9 +568,7 @@ p9_cme_stop_entry()
(core << SHIFT32(15)) |
(core << SHIFT32(17)));
sync();
- out32(CME_LCL_EIMR_OR, (core << SHIFT32(13)) |
- (core << SHIFT32(15)) |
- (core << SHIFT32(17)));
+ out32(CME_LCL_EIMR_OR, (BITS32(12, 6) | BITS32(20, 2)));
#endif
//===================
@@ -798,9 +796,7 @@ p9_cme_stop_entry()
(core << SHIFT32(15)) |
(core << SHIFT32(17)));
sync();
- out32(CME_LCL_EIMR_OR, (core << SHIFT32(13)) |
- (core << SHIFT32(15)) |
- (core << SHIFT32(17)));
+ out32(CME_LCL_EIMR_OR, (BITS32(12, 6) | BITS32(20, 2)));
#endif
//===================
OpenPOWER on IntegriCloud