linux/drivers/s390
Stefan Haberland 9f4aa52387 s390/dasd: fix inability to use DASD with DIAG driver
During initialization of the DASD DIAG driver a request is issued
that has a bio structure that resides on the stack. With virtually
mapped kernel stacks this bio address might be in virtual storage
which is unsuitable for usage with the diag250 call.
In this case the device can not be set online using the DIAG
discipline and fails with -EOPNOTSUP.
In the system journal the following error message is presented:

dasd: X.X.XXXX Setting the DASD online with discipline DIAG failed
with rc=-95

Fix by allocating the bio structure instead of having it on the stack.

Fixes: ce3dc44749 ("s390: add support for virtually mapped kernel stacks")
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: stable@vger.kernel.org #4.20
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-07-15 08:47:11 -06:00
..
block s390/dasd: fix inability to use DASD with DIAG driver 2020-07-15 08:47:11 -06:00
char s390: use fallthrough; 2020-03-25 12:39:37 +01:00
cio s390/qdio: warn about unexpected SLSB states 2020-06-17 23:05:05 +02:00
crypto s390/zcrypt: use kzalloc 2020-06-16 13:44:04 +02:00
net s390/qeth: let isolation mode override HW offload restrictions 2020-06-18 20:27:42 -07:00
scsi scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action 2020-06-24 00:01:09 -04:00
virtio s390/virtio: remove unused pm callbacks 2020-06-16 13:44:04 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00