Sascha Silbe c679e74d2e s390x/css: {c,h,t,r,x}sch: require enable AND device number valid
According to the PoP, subchannels are only considered operational if
they are enabled _and_ the device number is valid. With the current
checks being enabled _or_ having a valid device number was
sufficient. This caused qemu to allow IO on subchannels that were not
enabled.

Fix the checks to require both bits to be set.

Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
2016-09-28 13:24:51 +02:00
..
2016-09-24 01:02:01 +03:00
2016-09-13 18:12:34 +03:00
2016-06-17 16:33:48 +10:00
2016-09-22 18:13:08 +01:00
2016-06-14 15:59:13 +01:00
2016-09-24 01:02:01 +03:00
2016-09-08 18:05:21 +04:00
2016-09-23 12:39:07 +10:00
2016-05-18 15:04:27 +03:00
2016-09-23 11:42:52 +08:00
2016-09-08 18:05:21 +04:00
2016-09-23 11:42:52 +08:00
2016-07-29 00:07:09 +03:00
2016-01-29 15:07:25 +00:00
2016-09-22 18:13:08 +01:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2016-09-15 15:32:22 +03:00
2016-09-23 11:42:52 +08:00
2015-12-22 18:39:19 +02:00