^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) What: /sys/bus/css/devices/.../type
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Contact: Cornelia Huck <cornelia.huck@de.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) linux-s390@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Description: Contains the subchannel type, as reported by the hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) This attribute is present for all subchannel types.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) What: /sys/bus/css/devices/.../modalias
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Date: March 2008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Contact: Cornelia Huck <cornelia.huck@de.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) linux-s390@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description: Contains the module alias as reported with uevents.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) It is of the format css:t<type> and present for all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) subchannel types.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) What: /sys/bus/css/drivers/io_subchannel/.../chpids
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Date: December 2002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Contact: Cornelia Huck <cornelia.huck@de.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) linux-s390@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Description: Contains the ids of the channel paths used by this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) subchannel, as reported by the channel subsystem
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) during subchannel recognition.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Note: This is an I/O-subchannel specific attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Users: s390-tools, HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) What: /sys/bus/css/drivers/io_subchannel/.../pimpampom
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Date: December 2002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Contact: Cornelia Huck <cornelia.huck@de.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) linux-s390@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Description: Contains the PIM/PAM/POM values, as reported by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) channel subsystem when last queried by the common I/O
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) layer (this implies that this attribute is not necessarily
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) in sync with the values current in the channel subsystem).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) Note: This is an I/O-subchannel specific attribute.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Users: s390-tools, HAL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) What: /sys/bus/css/devices/.../driver_override
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) Date: June 2019
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) Contact: Cornelia Huck <cohuck@redhat.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) linux-s390@vger.kernel.org
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) Description: This file allows the driver for a device to be specified. When
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) specified, only a driver with a name matching the value written
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) to driver_override will have an opportunity to bind to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) device. The override is specified by writing a string to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) driver_override file (echo vfio-ccw > driver_override) and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) may be cleared with an empty string (echo > driver_override).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) This returns the device to standard matching rules binding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) Writing to driver_override does not automatically unbind the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) device from its current driver or make any attempt to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) automatically load the specified driver. If no driver with a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) matching name is currently loaded in the kernel, the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) will not bind to any driver. This also allows devices to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) opt-out of driver binding using a driver_override name such as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) "none". Only a single driver may be specified in the override,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) there is no support for parsing delimiters.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) Note that unlike the mechanism of the same name for pci, this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) file does not allow to override basic matching rules. I.e.,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) the driver must still match the subchannel type of the device.