Skip to content

Commit

Permalink
STOP: Fix DISABLE_STOP8 broken HB in NDD1
Browse files Browse the repository at this point in the history
Change-Id: I38b7bb20e0d353bdb30a67d352d369262386e958
Original-Change-Id: I97f6e4134ba6d5fbd7f47dda1f5dd4061e12c234
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/43648
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Brian T. Vanderpool <vanderp@us.ibm.com>
Reviewed-by: BRIAN D. VICTOR <brian.d.victor1@ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
  • Loading branch information
davidduyue authored and op-jenkins committed Aug 22, 2018
1 parent 46e554d commit 879e075
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,7 @@ p9_cme_stop_entry()
G_cme_stop_record.req_level[core_index] = STOP_LEVEL_8;
}

#if DISABLE_STOP8

if (1 &&

#else

if ((pCmeImgHdr->g_cme_mode_flags & CME_STOP_8_TO_5_BIT_POS) &&

#endif
(G_cme_stop_record.req_level[core_index] >= STOP_LEVEL_8 &&
G_cme_stop_record.req_level[core_index] < STOP_LEVEL_11))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,13 @@ p9_sgpe_stop_entry()

#if DISABLE_STOP8

G_sgpe_stop_record.group.ex01[qloop] |= BOTH_EXES_IN_QUAD;
ocb_qssr_t qssr = {0};
qssr.value = in32(OCB_QSSR);

// check qssr for already stopped ex
G_sgpe_stop_record.group.ex01[qloop] =
(((~qssr.value) & BITS32((qloop << 1), 2)) >>
SHIFT32(((qloop << 1) + 1)));

#endif

Expand Down

0 comments on commit 879e075

Please sign in to comment.