s390/ap: fix status returned by ap_qact()
authorHalil Pasic <pasic@linux.ibm.com>
Wed, 8 Feb 2023 23:00:24 +0000 (00:00 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 10 Feb 2023 09:55:30 +0000 (10:55 +0100)
commita2522c80f074c35254974fec39fffe8b8d75befe
treee3bf031ada7a509d0405cf2e04191dd71b54034c
parent394740d7645ea767795074287769dd26dbd4d782
s390/ap: fix status returned by ap_qact()

Since commit 159491f3b509 ("s390/ap: rework assembler functions to use
unions for in/out register variables") the  function ap_qact() tries to
grab the status from the wrong part of the register. Thus we always end
up with zeros. Which is wrong, among others, because we detect failures
via status.response_code.

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reported-by: Harald Freudenberger <freude@linux.ibm.com>
Fixes: 159491f3b509 ("s390/ap: rework assembler functions to use unions for in/out register variables")
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ap.h