Vineeth Vijayan 8c58a22968 s390/cio: Do not unregister the subchannel based on DNV
Starting with commit 2297791c92d0 ("s390/cio: dont unregister
subchannel from child-drivers"), CIO does not unregister subchannels
when the attached device is invalid or unavailable. Instead, it
allows subchannels to exist without a connected device. However, if
the DNV value is 0, such as, when all the CHPIDs of a subchannel are
configured in standby state, the subchannel is unregistered, which
contradicts the current subchannel specification.

Update the logic so that subchannels are not unregistered based
on the DNV value. Also update the SCHIB information even if the
DNV bit is zero.

Suggested-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Fixes: 2297791c92d0 ("s390/cio: dont unregister subchannel from child-drivers")
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2024-10-25 16:03:23 +02:00
..
2024-09-19 11:12:49 +02:00
2024-10-05 10:40:16 -07:00
2024-10-04 10:43:44 -07:00
2024-09-27 08:48:37 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-26 12:00:25 -07:00
2024-09-19 10:18:15 +02:00
2024-10-04 11:25:14 -07:00
2024-10-04 11:25:14 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-09-29 09:22:34 -07:00
2024-09-26 08:43:17 -07:00
2024-09-24 13:02:06 -07:00
2024-09-23 14:05:10 -07:00
2024-09-26 12:00:25 -07:00
2024-10-06 11:11:01 -07:00
2024-09-26 12:00:25 -07:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-09-09 12:22:06 +02:00
2024-09-11 16:02:54 +02:00
2024-09-26 08:43:17 -07:00
2024-09-26 08:43:17 -07:00
2024-09-04 17:24:58 -05:00