Files
linux/arch/s390/include/asm
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
..
2021-01-19 12:29:26 +01:00
2017-12-05 07:51:09 +01:00
2021-06-07 17:07:01 +02:00
2020-08-26 18:47:21 +02:00
2021-01-19 12:29:26 +01:00
2020-08-11 18:16:43 +02:00
2020-12-16 14:55:49 +01:00
2020-06-23 09:16:48 +02:00
2021-01-19 12:29:26 +01:00
2021-05-07 00:26:34 -07:00
2019-02-05 14:29:23 +01:00
2021-06-18 16:41:19 +02:00
2020-01-30 13:07:55 +01:00
2020-02-27 16:02:21 +01:00
2020-06-29 16:32:09 +02:00
2021-07-01 11:06:03 -07:00
2019-02-07 18:06:18 -08:00
2020-09-14 11:38:35 +02:00
2020-09-26 15:51:21 +02:00
2021-06-28 11:18:28 +02:00
2021-01-19 12:29:26 +01:00
2021-06-28 11:18:28 +02:00
2021-06-18 16:41:21 +02:00
2019-07-23 10:45:53 +02:00
2017-12-05 07:51:09 +01:00
2021-01-19 12:29:26 +01:00