linux/drivers/s390/cio
Julian Wiedmann a698e13728 s390/qdio: optimize state inspection of HW-owned SBALs
When get_buf_states() gets called with count > 1, it scans the
corresponding number of SBAL states until it encounters a mismatch.

But when these SBALs are in a HW-owned state, the callers don't actually
care _how many_ such SBALs are on the queue. If we can't process the
first SBAL, we can't process any of the following SBALs either. So when
the first SBAL is HW-owned, skip the scan of the remaining SBALs and
thus save some CPU time.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2019-05-08 15:01:23 +02:00
..
Makefile vfio-ccw: add handling for async channel instructions 2019-04-24 14:18:51 +02:00
airq.c s390/airq: provide cacheline aligned ivs 2019-04-29 10:47:01 +02:00
blacklist.c
blacklist.h
ccwgroup.c s390/ccwgroup: add get_ccwgroupdev_by_busid() 2018-10-08 09:09:59 +02:00
ccwreq.c
chp.c
chp.h
chsc.c s390 update with improvements and bug fixes for 5.1-rc2 2019-03-28 08:35:32 -07:00
chsc.h s390/cio: add function chsc_sgib() 2019-02-05 14:29:23 +01:00
chsc_sch.c
chsc_sch.h
cio.c s390: show statistics for MSI IRQs 2019-04-29 10:47:01 +02:00
cio.h s390/airq: recognize directed interrupts 2019-04-29 10:47:01 +02:00
cio_debug.h
cmf.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
crw.c
css.c s390/css: reduce stsch calls 2018-07-17 07:27:55 +02:00
css.h s390/css: reduce stsch calls 2018-07-17 07:27:55 +02:00
device.c
device.h
device_fsm.c
device_id.c
device_ops.c
device_pgid.c
device_status.c
eadm_sch.c
eadm_sch.h
fcx.c
idset.c
idset.h
io_sch.h
ioasm.c s390/cio: export hsch to modules 2019-04-24 14:18:51 +02:00
ioasm.h
isc.c
itcw.c
orb.h
qdio.h s390/qdio: eliminate queue's last_move cursor 2019-04-10 17:47:26 +02:00
qdio_debug.c s390/qdio: eliminate queue's last_move cursor 2019-04-10 17:47:26 +02:00
qdio_debug.h
qdio_main.c s390/qdio: optimize state inspection of HW-owned SBALs 2019-05-08 15:01:23 +02:00
qdio_setup.c s390/qdio: clean up pci_out_supported() 2019-03-29 07:23:49 +01:00
qdio_thinint.c s390/airq: recognize directed interrupts 2019-04-29 10:47:01 +02:00
scm.c
trace.c s390/cio: Remove tracing for rchp instruction 2019-05-08 15:01:22 +02:00
trace.h s390/cio: Remove tracing for rchp instruction 2019-05-08 15:01:22 +02:00
vfio_ccw_async.c vfio-ccw: add handling for async channel instructions 2019-04-24 14:18:51 +02:00
vfio_ccw_cp.c vfio-ccw: make it safe to access channel programs 2019-04-24 14:18:51 +02:00
vfio_ccw_cp.h vfio-ccw: make it safe to access channel programs 2019-04-24 14:18:51 +02:00
vfio_ccw_drv.c vfio-ccw: Prevent quiesce function going into an infinite loop 2019-04-24 14:18:51 +02:00
vfio_ccw_fsm.c vfio-ccw: add handling for async channel instructions 2019-04-24 14:18:51 +02:00
vfio_ccw_ops.c vfio-ccw: Release any channel program when releasing/removing vfio-ccw mdev 2019-04-24 14:18:51 +02:00
vfio_ccw_private.h vfio-ccw: add handling for async channel instructions 2019-04-24 14:18:51 +02:00
vfio_ccw_trace.h