linux/drivers/s390
Harald Freudenberger 1f0d22defd s390/ap: Rework ap_dqap to deal with messages greater than recv buffer
Rework of the ap_dqap() inline function with the dqap inline assembler
invocation and the caller code in ap_queue.c to be able to handle
replies which exceed the receive buffer size.

ap_dqap() now provides two additional parameters to handle together
with the caller the case where a reply in the firmware queue entry
exceeds the given message buffer size. It depends on the caller how to
exactly handle this. The behavior implemented now by ap_sm_recv() in
ap_queue.c is to simple purge this entry from the firmware queue and
let the caller 'receive' a -EMSGSIZE for the request without
delivering any reply data - not even a truncated reply message.

However, the reworked ap_dqap() could now get invoked in a way that
the message is received in multiple parts and the caller assembles the
parts into one reply message.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Suggested-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2021-07-08 15:37:27 +02:00
..
block s390 updates for the 5.14 merge window 2021-07-04 12:17:38 -07:00
char s390 updates for the 5.14 merge window 2021-07-04 12:17:38 -07:00
cio s390/qdio: get rid of register asm 2021-06-28 11:18:29 +02:00
crypto s390/ap: Rework ap_dqap to deal with messages greater than recv buffer 2021-07-08 15:37:27 +02:00
net s390/netiuvc: get rid of forward declarations 2021-06-12 13:06:33 -07:00
scsi scsi: core: Introduce scsi_build_sense() 2021-05-31 22:48:21 -04: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