linux-brain/drivers/s390/cio
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
..
Makefile
airq.c s390/irq: replace setup_irq() by request_irq() 2020-10-01 13:17:40 +02:00
blacklist.c
blacklist.h
ccwgroup.c
ccwreq.c
chp.c s390/cio: dont call css_wait_for_slow_path() inside a lock 2021-07-14 16:53:05 +02:00
chp.h
chsc.c s390/cio: dont call css_wait_for_slow_path() inside a lock 2021-07-14 16:53:05 +02:00
chsc.h
chsc_sch.c
chsc_sch.h
cio.c s390/irq: replace setup_irq() by request_irq() 2020-10-01 13:17:40 +02:00
cio.h
cio_debug.h
cmf.c
crw.c
css.c s390/cio: add dev_busid sysfs entry for each subchannel 2021-09-15 09:47:27 +02:00
css.h
device.c s390/cio: fix use-after-free in ccw_device_destroy_console 2020-12-30 11:51:23 +01:00
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
ioasm.h
isc.c
itcw.c
orb.h
qdio.h s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
qdio_debug.c
qdio_debug.h
qdio_main.c
qdio_setup.c s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
qdio_thinint.c s390/qdio: put thinint indicator after early error 2020-06-24 17:50:22 +02:00
scm.c
trace.c
trace.h
vfio_ccw_async.c
vfio_ccw_cp.c vfio-ccw: Check initialized flag in cp_init() 2021-06-03 08:59:13 +02:00
vfio_ccw_cp.h
vfio_ccw_drv.c vfio-ccw: Serialize FSM IDLE state with I/O completion 2021-06-16 11:59:33 +02:00
vfio_ccw_fsm.c
vfio_ccw_ops.c s390/cio: return -EFAULT if copy_to_user() fails 2021-03-17 17:03:39 +01:00
vfio_ccw_private.h
vfio_ccw_trace.h