linux-stable/drivers/s390
Jan Höppner 9697543396 s390/dasd: Fix zero write for FBA devices
commit 709192d531 upstream.

A discard request that writes zeros using the global kernel internal
ZERO_PAGE will fail for machines with more than 2GB of memory due to the
location of the ZERO_PAGE.

Fix this by using a driver owned global zero page allocated with GFP_DMA
flag set.

Fixes: 28b841b3a7 ("s390/dasd: Add discard support for FBA devices")
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Cc: <stable@vger.kernel.org> # 4.14+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-01 13:12:51 +02:00
..
block s390/dasd: Fix zero write for FBA devices 2020-10-01 13:12:51 +02:00
char s390/3270: fix lockdep false positive on view->lock 2019-05-16 19:42:21 +02:00
cio s390/cio: add cond_resched() in the slow_eval_known_fn() loop 2020-09-03 11:22:30 +02:00
crypto s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR 2020-01-04 13:59:54 +01:00
net s390/qeth: don't process empty bridge port events 2020-08-21 09:48:11 +02:00
scsi scsi: zfcp: fix request object use-after-free in send path causing wrong traces 2020-06-03 08:18:13 +02:00
virtio s390/virtio: handle find on invalid queue gracefully 2019-03-23 14:35:20 +01:00
Makefile