linux-brain/drivers/s390
Vineeth Vijayan e55b627d6e s390/cio: add dev_busid sysfs entry for each subchannel
[ Upstream commit d3683c055212bf910d4e318f7944910ce10dbee6 ]

Introduce dev_busid, which exports the device-id associated with the
io-subchannel (and message-subchannel). The dev_busid indicates that of
the device which may be physically installed on the corrosponding
subchannel. The dev_busid value "none" indicates that the subchannel
is not valid, there is no I/O device currently associated with the
subchannel.

The dev_busid information would be helpful to write device-specific
udev-rules associated with the subchannel. The dev_busid interface would
be available even when the sch is not bound to any driver or if there is
no operational device connected on it. Hence this attribute can be used to
write udev-rules which are specific to the device associated with the
subchannel.

Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:27 +02:00
..
block s390/dasd: fix hanging IO request during DASD driver unbind 2021-03-17 17:03:48 +01:00
char s390/sclp_vt220: fix console name to match device 2021-07-20 16:10:43 +02:00
cio s390/cio: add dev_busid sysfs entry for each subchannel 2021-09-15 09:47:27 +02:00
crypto s390/crypto: return -EFAULT if copy_to_user() fails 2021-03-17 17:03:39 +01:00
net s390/qeth: fix L2 header access in qeth_l3_osa_features_check() 2021-01-17 14:05:32 +01:00
scsi scsi: zfcp: Fix use-after-free in request timeout handlers 2020-08-26 10:40:52 +02:00
virtio virtio/s390: implement virtio-ccw revision 2 correctly 2021-03-04 10:26:50 +01:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00