linux-stable/arch/s390/include
Halil Pasic b8f6c28ce1 s390/ap: fix status returned by ap_qact()
[ Upstream commit a2522c80f0 ]

Since commit 159491f3b5 ("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: 159491f3b5 ("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>
2023-03-10 09:39:16 +01:00
..
asm s390/ap: fix status returned by ap_qact() 2023-03-10 09:39:16 +01:00
uapi/asm s390: add struct tpi_info to struct pt_regs 2021-06-07 17:07:01 +02:00