summaryrefslogtreecommitdiffstats
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2023-05-11 17:04:41 +0200
committerAlexander Gordeev <agordeev@linux.ibm.com>2023-05-17 15:20:17 +0200
commit2862a2fdfae875888e3c1c3634e3422e01d98147 (patch)
tree9a3078fc84a06b25851cc79eff0b235223e41c9d /fs/statfs.c
parent2facd5d3980f3a26c04fe6ec8689a1d019a5812c (diff)
downloadlinux-stable-2862a2fdfae875888e3c1c3634e3422e01d98147.tar.gz
linux-stable-2862a2fdfae875888e3c1c3634e3422e01d98147.tar.bz2
linux-stable-2862a2fdfae875888e3c1c3634e3422e01d98147.zip
s390/qdio: fix do_sqbs() inline assembly constraint
Use "a" constraint instead of "d" constraint to pass the state parameter to the do_sqbs() inline assembly. This prevents that general purpose register zero is used for the state parameter. If the compiler would select general purpose register zero this would be problematic for the used instruction in rsy format: the register used for the state parameter is a base register. If the base register is general purpose register zero the contents of the register are unexpectedly ignored when the instruction is executed. This only applies to z/VM guests using QIOASSIST with dedicated (pass through) QDIO-based devices such as FCP [zfcp driver] as well as real OSA or HiperSockets [qeth driver]. A possible symptom for this case using zfcp is the following repeating kernel message pattern: zfcp <devbusid>: A QDIO problem occurred zfcp <devbusid>: A QDIO problem occurred zfcp <devbusid>: qdio: ZFCP on SC <sc> using AI:1 QEBSM:1 PRI:1 TDD:1 SIGA: W zfcp <devbusid>: A QDIO problem occurred zfcp <devbusid>: A QDIO problem occurred Each of the qdio problem message can be accompanied by the following entries for the affected subchannel <sc> in /sys/kernel/debug/s390dbf/qdio_error/hex_ascii for zfcp or qeth: <sc> ccq: 69.... <sc> SQBS ERROR. Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Cc: Steffen Maier <maier@linux.ibm.com> Fixes: 8129ee164267 ("[PATCH] s390: qdio V=V pass-through") Cc: <stable@vger.kernel.org> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'fs/statfs.c')
0 files changed, 0 insertions, 0 deletions