Jason Wang
2022-May-25 02:48 UTC
[PATCH] Docs/ABI/testing: Add VDUSE sysfs interface ABI document
On Tue, May 24, 2022 at 7:51 PM Xie Yongji <xieyongji at bytedance.com> wrote:> > This adds missing documentation for VDUSE sysfs interface ABI > under Documentation/ABI/testing. > > Signed-off-by: Xie Yongji <xieyongji at bytedance.com>Acked-by: Jason Wang <jasowang at redhat.com>> --- > Documentation/ABI/testing/sysfs-class-vduse | 33 +++++++++++++++++++++ > MAINTAINERS | 1 + > 2 files changed, 34 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-class-vduse > > diff --git a/Documentation/ABI/testing/sysfs-class-vduse b/Documentation/ABI/testing/sysfs-class-vduse > new file mode 100644 > index 000000000000..2f2bc5c8fc48 > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-class-vduse > @@ -0,0 +1,33 @@ > +What: /sys/class/vduse/ > +Date: Oct 2021 > +KernelVersion: 5.15 > +Contact: Yongji Xie <xieyongji at bytedance.com> > +Description: > + The vduse/ class sub-directory belongs to the VDUSE > + framework and provides a sysfs interface for configuring > + VDUSE devices. > + > +What: /sys/class/vduse/control/ > +Date: Oct 2021 > +KernelVersion: 5.15 > +Contact: Yongji Xie <xieyongji at bytedance.com> > +Description: > + This directory entry is created for the control device > + of VDUSE framework. > + > +What: /sys/class/vduse/<device-name>/ > +Date: Oct 2021 > +KernelVersion: 5.15 > +Contact: Yongji Xie <xieyongji at bytedance.com> > +Description: > + This directory entry is created when a VDUSE device is > + created via the control device. > + > +What: /sys/class/vduse/<device-name>/msg_timeout > +Date: Oct 2021 > +KernelVersion: 5.15 > +Contact: Yongji Xie <xieyongji at bytedance.com> > +Description: > + (RW) The timeout (in seconds) for waiting for the control > + message's response from userspace. Default value is 30s. > + Writing a '0' to the file means to disable the timeout. > diff --git a/MAINTAINERS b/MAINTAINERS > index d6d879cb0afd..d9a423de2f4d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -20842,6 +20842,7 @@ M: Jason Wang <jasowang at redhat.com> > L: virtualization at lists.linux-foundation.org > S: Maintained > F: Documentation/ABI/testing/sysfs-bus-vdpa > +F: Documentation/ABI/testing/sysfs-class-vduse > F: Documentation/devicetree/bindings/virtio/ > F: drivers/block/virtio_blk.c > F: drivers/crypto/virtio/ > -- > 2.20.1 >