diff options
author | Stefano Garzarella <[email protected]> | 2021-11-26 17:47:52 +0100 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2022-01-14 18:50:52 -0500 |
commit | 9c25cdeb5f3ca9ef0d683ee8c29b7cb61a174165 (patch) | |
tree | ec13242c7838ddba038aef964ae0ced0ed489386 | |
parent | 0f420c383a2bb414ebccedf9289b5b815f1295fe (diff) |
docs: document sysfs ABI for vDPA bus
Add missing documentation of sysfs ABI for vDPA bus in
the new Documentation/ABI/testing/sysfs-bus-vdpa file.
Signed-off-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-vdpa | 37 | ||||
-rw-r--r-- | MAINTAINERS | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-vdpa b/Documentation/ABI/testing/sysfs-bus-vdpa new file mode 100644 index 000000000000..4e55761a39df --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-vdpa @@ -0,0 +1,37 @@ +What: /sys/bus/vdpa/driver_autoprobe +Date: March 2020 +Contact: [email protected] +Description: + This file determines whether new devices are immediately bound + to a driver after the creation. It initially contains 1, which + means the kernel automatically binds devices to a compatible + driver immediately after they are created. + + Writing "0" to this file disable this feature, any other string + enable it. + +What: /sys/bus/vdpa/driver_probe +Date: March 2020 +Contact: [email protected] +Description: + Writing a device name to this file will cause the kernel binds + devices to a compatible driver. + + This can be useful when /sys/bus/vdpa/driver_autoprobe is + disabled. + +What: /sys/bus/vdpa/drivers/.../bind +Date: March 2020 +Contact: [email protected] +Description: + Writing a device name to this file will cause the driver to + attempt to bind to the device. This is useful for overriding + default bindings. + +What: /sys/bus/vdpa/drivers/.../unbind +Date: March 2020 +Contact: [email protected] +Description: + Writing a device name to this file will cause the driver to + attempt to unbind from the device. This may be useful when + overriding default bindings. diff --git a/MAINTAINERS b/MAINTAINERS index fb18ce7168aa..d10667bcc3cf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20132,6 +20132,7 @@ M: "Michael S. Tsirkin" <[email protected]> M: Jason Wang <[email protected]> S: Maintained +F: Documentation/ABI/testing/sysfs-bus-vdpa F: Documentation/devicetree/bindings/virtio/ F: drivers/block/virtio_blk.c F: drivers/crypto/virtio/ |