Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 */