linux/drivers/s390
Harald Freudenberger 252a1ff777 s390/zcrypt: change reply buffer size offering
Instead of offering the user space given receive buffer size to
the crypto card firmware as limit for the reply message offer
the internal per queue reply buffer size. As the queue's reply
buffer is always adjusted to the max message size possible for
this card this may offer more buffer space. However, now it is
important to check the user space reply buffer on pushing back
the reply. If the reply does not fit into the user space provided
buffer the ioctl will fail with errno EMSGSIZE.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Jürgen Christ <jchrist@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2022-03-08 00:33:00 +01:00
..
block dax + libnvdimm for v5.17 2022-01-12 15:46:11 -08:00
char s390/maccess: fix semantics of memcpy_real() and its callers 2022-02-09 22:56:04 +01:00
cio Merge branch 'fixes' into features 2022-03-01 21:02:48 +01:00
crypto s390/zcrypt: change reply buffer size offering 2022-03-08 00:33:00 +01:00
net Networking changes for 5.17. 2022-01-10 19:06:09 -08:00
scsi scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices 2022-01-24 23:30:27 -05:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00