linux-stable/drivers/s390
Stefan Haberland 042683917f s390/dasd: prevent inconsistent LCU device data
commit a29ea01653 upstream.

Prevent _lcu_update from adding a device to a pavgroup if the LCU still
requires an update. The data is not reliable any longer and in parallel
devices might have been moved on the lists already.
This might lead to list corruptions or invalid PAV grouping.
Only add devices to a pavgroup if the LCU is up to date. Additional steps
are taken by the scheduled lcu update.

Fixes: 8e09f21574 ("[S390] dasd: add hyper PAV support to DASD device driver, part 1")
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Haberland <sth@linux.ibm.com>
Reviewed-by: Jan Hoeppner <hoeppner@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-30 11:51:34 +01:00
..
block s390/dasd: prevent inconsistent LCU device data 2020-12-30 11:51:34 +01:00
char s390 updates for the 5.4 merge window 2019-09-17 14:04:43 -07:00
cio s390/cio: fix use-after-free in ccw_device_destroy_console 2020-12-30 11:51:23 +01:00
crypto s390/pkey: fix paes selftest failure with paes and pkey static build 2020-11-10 12:37:32 +01:00
net s390/qeth: fix tear down of async TX buffers 2020-12-02 08:49:51 +01:00
scsi scsi: zfcp: Fix use-after-free in request timeout handlers 2020-08-26 10:40:52 +02:00
virtio
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00