]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/ap: fix status returned by ap_aqic()
authorHalil Pasic <pasic@linux.ibm.com>
Wed, 8 Feb 2023 23:00:23 +0000 (00:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:02 +0000 (09:33 +0100)
commit673b533fb5b08339a5eb1aad6771bdefecf850be
treec938de91c7d37a8d8b10a1219f5e3b658ed4d479
parent19e29653c83254211732294d1e3b2b74fcac74d5
s390/ap: fix status returned by ap_aqic()

[ Upstream commit 394740d7645ea767795074287769dd26dbd4d782 ]

There function ap_aqic() 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: Janosch Frank <frankja@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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/include/asm/ap.h