linux/drivers/s390/cio
Sebastian Ott f9773768f1 s390/chsc: sanitize fmt check for chp_desc determination
When fetching channel path descriptors we've only evaluated the rfmt
parameter which could lead us to trigger the chsc even though the
machine doesn't support the specific format or to not trigger the
chsc and report a failure to userspace even though the machine would've
supported it.

Improve these checks and change the parameters of the in-kernel
user to be less confusing.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2016-07-15 14:32:00 +02:00
..
airq.c s390/cio: Introduce common I/O layer tracepoints 2015-12-18 14:59:36 +01:00
blacklist.c s390: Use pr_warn instead of pr_warning 2016-03-07 13:12:04 +01:00
blacklist.h
ccwgroup.c
ccwreq.c s390: Use pr_warn instead of pr_warning 2016-03-07 13:12:04 +01:00
chp.c s390/cio: make fmt1 channel path descriptor optional 2016-07-15 14:31:59 +02:00
chp.h s390: use canonical include guard style 2016-06-13 15:58:17 +02:00
chsc_sch.c s390/chsc: fix ioctl CHSC_INFO_CU command 2016-07-15 14:31:58 +02:00
chsc_sch.h
chsc.c s390/chsc: sanitize fmt check for chp_desc determination 2016-07-15 14:32:00 +02:00
chsc.h s390: add support for ipl devices in subchannel sets > 0 2015-11-11 13:56:27 +01:00
cio_debug.h
cio.c s390: Use pr_warn instead of pr_warning 2016-03-07 13:12:04 +01:00
cio.h s390/cio: Consolidate inline assemblies and related data definitions 2015-12-18 14:59:34 +01:00
cmf.c s390/cio: allow to reset channel measurement block 2016-07-14 13:01:49 +02:00
crw.c s390/cio: Consolidate inline assemblies and related data definitions 2015-12-18 14:59:34 +01:00
css.c s390/cio: Remove unused inline assemblies 2015-12-18 14:59:33 +01:00
css.h
device_fsm.c s390/cio: Remove unused inline assemblies 2015-12-18 14:59:33 +01:00
device_id.c
device_ops.c s390/cio/device_ops: fix kernel doc 2016-07-15 14:31:57 +02:00
device_pgid.c s390/cio: move ccw_device_stlck functions 2015-10-27 09:34:44 +01:00
device_status.c
device.c s390: Use pr_warn instead of pr_warning 2016-03-07 13:12:04 +01:00
device.h s390/cio: move ccw_device_stlck functions 2015-10-27 09:34:44 +01:00
eadm_sch.c
eadm_sch.h
fcx.c
idset.c
idset.h s390: use canonical include guard style 2016-06-13 15:58:17 +02:00
io_sch.h s390/cio: Consolidate inline assemblies and related data definitions 2015-12-18 14:59:34 +01:00
ioasm.c s390/cio: use basic blocks for i/o inline assemblies 2016-06-28 09:32:34 +02:00
ioasm.h s390/cio: Change I/O instructions from inline to normal functions 2015-12-18 14:59:37 +01:00
isc.c
itcw.c
Makefile s390/cio: Change I/O instructions from inline to normal functions 2015-12-18 14:59:37 +01:00
orb.h
qdio_debug.c s390: Delete unnecessary checks before the function call "debug_unregister" 2015-11-27 09:24:16 +01:00
qdio_debug.h
qdio_main.c
qdio_setup.c
qdio_thinint.c
qdio.h
scm.c
trace.c s390/cio: Introduce common I/O layer tracepoints 2015-12-18 14:59:36 +01:00
trace.h s390/cio: Introduce common I/O layer tracepoints 2015-12-18 14:59:36 +01:00