Basic documentation about virtio in the kernel and a small tutorial for virtio drivers. Tested on linux-next (next-20220802) Changes in v4: - reword the intro paragraphs - grammar fixes Changes in v3: - fix commit message in patch 1 - minor additional fixes to virtio kerneldocs - use proper Sphinx markup for links to references Changes in v2: - virtio spec links updated to v1.2 - simplify virtio.rst and remove most low level parts that are already covered by the spec - split the kerneldocs fixes to a separate patch - remove :c:func: rst formatting Ricardo Cañuelo (2): virtio: kerneldocs fixes and enhancements docs: driver-api: virtio: virtio on Linux Documentation/driver-api/index.rst | 1 + Documentation/driver-api/virtio/index.rst | 11 ++ Documentation/driver-api/virtio/virtio.rst | 144 ++++++++++++++ .../virtio/writing_virtio_drivers.rst | 186 ++++++++++++++++++ MAINTAINERS | 1 + drivers/virtio/virtio_ring.c | 8 + include/linux/virtio.h | 6 +- include/linux/virtio_config.h | 6 +- include/uapi/linux/virtio_ring.h | 16 +- 9 files changed, 368 insertions(+), 11 deletions(-) create mode 100644 Documentation/driver-api/virtio/index.rst create mode 100644 Documentation/driver-api/virtio/virtio.rst create mode 100644 Documentation/driver-api/virtio/writing_virtio_drivers.rst -- 2.25.1