linux/drivers/s390
Harald Freudenberger 3317785a88 s390/ap: Fix wrong APQN fill calculation
The upper limit of the firmware queue fill state for each APQN
is reported by the hwinfo.qd field. This field shows the
numbers 0-7 for 1-8 queue spaces available. But the exploiting
code assumed the real boundary is stored there and thus stoppes
queuing in messages one tick too early.

Correct the limit calculation and thus offer a boost
of 12.5% performance for high traffic on one APQN.

Fixes: d4c53ae8e4 ("s390/ap: store TAPQ hwinfo in struct ap_card")
Cc: stable@vger.kernel.org
Reported-by: Ingo Franzki <ifranzki@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2026-01-20 14:33:42 +01:00
..
block for-6.19/block-20251201 2025-12-03 19:26:18 -08:00
char s390: Unmap early KASAN shadow on memory offlining 2025-12-07 16:15:19 +01:00
cio VFIO updates for v6.19-rc1 2025-12-04 18:42:48 -08:00
crypto s390/ap: Fix wrong APQN fill calculation 2026-01-20 14:33:42 +01:00
net Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
scsi s390: Remove KMSG_COMPONENT macro 2025-11-24 11:45:21 +01:00
virtio s390/virtio_ccw: Don't allocate/assign airqs for non-existing queues 2025-04-09 12:12:41 +02:00
Makefile