1
0
Fork 0
remarkable-linux/drivers/s390
Stefan Haberland b659e15da5 s390/dasd: prevent prefix I/O error
[ Upstream commit da340f921d ]

Prevent that a prefix flag is set based on invalid configuration data.
The validity.verify_base flag should only be set for alias devices.
Usually the unit address type is either one of base, PAV alias or
HyperPAV alias. But in cases where the unit address type is not set or
any other value the validity.verify_base flag might be set as well.
This would lead to follow on errors.
Explicitly check for alias devices and set the validity flag only for
them.

Signed-off-by: Stefan Haberland <sth@linux.vnet.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:05:47 +01:00
..
block s390/dasd: prevent prefix I/O error 2018-02-25 11:05:47 +01:00
char s390/vmlogrdr: fix IUCV buffer allocation 2017-01-09 08:32:22 +01:00
cio s390/chsc: Add exception handler for CHSC instruction 2017-03-15 10:02:41 +08:00
crypto s390/zcrypt: Introduce CEX6 toleration 2017-03-22 12:43:38 +01:00
net s390/qeth: update takeover IPs after configuration change 2018-01-02 20:35:15 +01:00
scsi scsi: zfcp: fix erp_action use-before-initialize in REC action trace 2017-11-02 09:49:14 +01:00
virtio virtio/s390: deprecate old transport 2016-08-09 13:42:41 +03:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00