linux/drivers
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
..
accessibility
acpi IOMMU Updates for Linux v5.14 2021-07-02 13:22:47 -07:00
amba
android
ata SCSI misc on 20210702 2021-07-02 15:14:36 -07:00
atm Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
auxdisplay
base VFIO update for v5.14-rc1 2021-07-03 11:49:33 -07:00
bcma
block Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
bluetooth Bluetooth: hci_uart: Remove redundant assignment to fw_ptr 2021-06-26 07:52:41 +02:00
bus kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
cdrom
char Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
clk Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
clocksource This round has a diffstat dominated by Qualcomm clk drivers. Honestly though 2021-07-01 13:26:16 -07:00
comedi
connector
counter
cpufreq cpufreq: Make cpufreq_online() call driver->offline() on errors 2021-06-23 19:40:56 +02:00
cpuidle Power management updates for 5.14-rc1 2021-06-29 13:36:06 -07:00
crypto powerpc updates for 5.14 2021-07-02 12:54:34 -07:00
cxl cxl/pci: Rename CXL REGLOC ID 2021-06-17 17:37:18 -07:00
dax fs: remove noop_set_page_dirty() 2021-06-29 10:53:48 -07:00
dca
devfreq PM / devfreq: passive: Fix get_target_freq when not using required-opp 2021-06-24 10:37:35 +09:00
dio
dma dmaengine fixes for v5.13 2021-06-16 09:03:52 -07:00
dma-buf
edac Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
eisa
extcon extcon: extcon-max8997: Simplify driver using devm 2021-06-17 13:22:27 +02:00
firewire
firmware Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
fpga
fsi
gnss
gpio platform-drivers-x86 for v5.14-1 2021-06-30 11:15:39 -07:00
gpu VFIO update for v5.14-rc1 2021-07-03 11:49:33 -07:00
greybus
hid Merge branch 'for-5.14/multitouch' into for-linus 2021-06-30 09:15:15 +02:00
hsi
hv Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
hwmon fallthrough fixes for Clang for 5.14-rc1 2021-06-28 20:03:38 -07:00
hwspinlock
hwtracing kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
i2c Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2021-07-04 11:47:18 -07:00
i3c
idle
iio linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00
infiniband Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
input platform-drivers-x86 for v5.14-1 2021-06-30 11:15:39 -07:00
interconnect
iommu IOMMU Updates for Linux v5.14 2021-07-02 13:22:47 -07:00
ipack
irqchip Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
isdn
leds This contains quite a lot of fixes, with more fixes in my inbox that 2021-07-03 11:57:42 -07:00
lightnvm
macintosh
mailbox mbox: add polarfire soc system controller mailbox 2021-06-26 12:06:48 -05:00
mcb
md - Various DM persistent-data library improvements and fixes that 2021-06-30 18:19:39 -07:00
media Networking changes for 5.14. 2021-06-30 15:51:09 -07:00
memory
memstick for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
message
mfd sound updates for 5.14 2021-07-02 15:25:23 -07:00
misc Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
mmc linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00
most
mtd for-5.14/block-2021-06-29 2021-06-30 12:12:56 -07:00
mux
net Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
nfc NFC: nxp-nci: remove unnecessary label 2021-06-18 12:57:30 -07:00
ntb
nubus
nvdimm cxl for 5.14 2021-07-04 11:55:13 -07:00
nvme SCSI misc on 20210702 2021-07-02 15:14:36 -07:00
nvmem
of Devicetree updates for v5.14: 2021-07-03 10:54:08 -07:00
opp opp: Allow required-opps to be used for non genpd use cases 2021-06-18 09:00:55 +05:30
parisc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
parport
pci VFIO update for v5.14-rc1 2021-07-03 11:49:33 -07:00
pcmcia
perf drivers/perf: fix the missed ida_simple_remove() in ddr_perf_probe() 2021-06-17 19:45:24 +01:00
phy
pinctrl This is the bulk of pin control changes for the v5.14 kernel: 2021-07-01 16:57:14 -07:00
platform Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid 2021-06-30 11:31:32 -07:00
pnp
power kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
powercap
pps
ps3
ptp ptp: Set lookup cookie when creating a PTP PPS source. 2021-06-29 11:29:37 -07:00
pwm
rapidio
ras
regulator Merge remote-tracking branch 'regulator/for-5.14' into regulator-next 2021-06-23 16:56:31 +01:00
remoteproc kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
reset reset: stm32mp1: remove stm32mp1 reset 2021-06-28 16:08:48 -07:00
rpmsg rpmsg: core: Add driver_data for rpmsg_device_id 2021-06-18 13:13:40 -07:00
rtc
s390 s390/ap: Rework ap_dqap to deal with messages greater than recv buffer 2021-07-08 15:37:27 +02:00
sbus
scsi scsi: blkcg: Fix application ID config options 2021-07-04 11:44:22 -07:00
sh
siox
slimbus
soc Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
soundwire Merge remote-tracking branch 'asoc/for-5.13' into asoc-linus 2021-06-25 14:08:01 +01:00
spi Merge remote-tracking branch 'spi/for-5.14' into spi-next 2021-06-25 14:08:26 +01:00
spmi
ssb ssb: use DEVICE_ATTR_ADMIN_RW() helper macro 2021-06-15 13:11:56 +03:00
staging Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
target SCSI misc on 20210702 2021-07-02 15:14:36 -07:00
tc
tee fallthrough fixes for Clang for 5.14-rc1 2021-06-28 20:03:38 -07:00
thermal Scheduler udpates for this cycle: 2021-06-28 12:14:19 -07:00
thunderbolt linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00
tty s390 updates for the 5.14 merge window 2021-07-04 12:17:38 -07:00
uio
usb Tracing updates for 5.14: 2021-07-03 11:13:22 -07:00
vdpa
vfio VFIO update for v5.14-rc1 2021-07-03 11:49:33 -07:00
vhost net: sock: introduce sk_error_report 2021-06-29 11:28:21 -07:00
video Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00
virt
virtio virtio-mem: use page_offline_(start|end) when setting PageOffline() 2021-06-30 20:47:28 -07:00
visorbus
vlynq
vme
w1
watchdog Updates for the interrupt subsystem: 2021-06-29 12:25:04 -07:00
xen SCSI misc on 20210702 2021-07-02 15:14:36 -07:00
zorro
Kconfig ide: remove the legacy ide driver 2021-06-16 08:53:58 -06:00
Makefile hyperv-next for 5.14 2021-06-29 11:21:35 -07:00