Commit 08e4906c authored by Eberhard S. Amann's avatar Eberhard S. Amann Committed by Greg Kroah-Hartman

GenWQE: Fix problem when reading HSI and Retc

This patch fixes a problem we found during debug on PPC64 when
reading HSI status and Retc.
Signed-off-by: default avatarEberhard S. Amann <esa@linux.vnet.ibm.com>
Signed-off-by: default avatarFrank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d9c11d45
......@@ -390,8 +390,9 @@ static int genwqe_check_ddcb_queue(struct genwqe_dev *cd,
0x00000000)
goto go_home; /* not completed, continue waiting */
/* Note: DDCB could be purged */
wmb(); /* Add sync to decouple prev. read operations */
/* Note: DDCB could be purged */
req = queue->ddcb_req[queue->ddcb_act];
if (req == NULL) {
/* this occurs if DDCB is purged, not an error */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment