MAINTAINERS: add missing virtio/vdpa/vduse/vhost headers
Eugenio Pérez
maintainerPATCH 1/1 MAINTAINERS: add missing virtio/vdpa/vduse/vhost headers
Several headers related to virtio, vDPA, VDUSE and vhost were not covered by any specific MAINTAINERS entry and fell through to the catch-all THE REST section:
- include/linux/device-id/virtio.h: not matched by the existing "include/linux/virtio*.h" glob, which only matches files directly under include/linux/ and does not recurse into subdirectories.
- include/uapi/linux/vdpa.h: the in-kernel include/linux/vdpa.h was listed under VIRTIO CORE but its UAPI companion was missing; the "include/uapi/linux/virtio_*.h" pattern does not match it because the filename lacks the "virtio_" prefix.
- include/uapi/linux/vduse.h: there is no dedicated VDUSE section in MAINTAINERS; the driver lives under drivers/vdpa/ which is already covered by VIRTIO CORE, so the UAPI header belongs there too.
- include/uapi/linux/vhost_types.h: the VIRTIO HOST (VHOST) section explicitly lists include/uapi/linux/vhost.h but omits its companion types header.
--- MAINTAINERS | 4 ++++ 1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
@@ -28903,9 +28903,12 @@ F: drivers/block/virtio_blk.c F: drivers/crypto/virtio/ F: drivers/vdpa/ F: drivers/virtio/ +F: include/linux/device-id/virtio.h F: include/linux/vdpa.h F: include/linux/virtio*.h F: include/linux/vringh.h +F: include/uapi/linux/vdpa.h +F: include/uapi/linux/vduse.h F: include/uapi/linux/virtio_*.h F: net/vmw_vsock/virtio* F: tools/virtio/
@@ -28979,6 +28982,7 @@ F: drivers/vhost/ F: include/linux/sched/vhost_task.h F: include/linux/vhost_iotlb.h F: include/uapi/linux/vhost.h +F: include/uapi/linux/vhost_types.h F: kernel/vhost_task.c VIRTIO HOST (VHOST-SCSI)
Signature · 1 line
2.56.0
Eugenio Perez Martin
maintainerQuoted 18 lines · Eugenio Pérez
Several headers related to virtio, vDPA, VDUSE and vhost were not covered by any specific
MAINTAINERSentry and fell through to the catch-all THE REST section:-
include/linux/device-id/virtio.h: not matched by the existing "include/linux/virtio*.h" glob, which only matches files directly underinclude/linux/and does not recurse into subdirectories.-
include/uapi/linux/vdpa.h: the in-kernelinclude/linux/vdpa.hwas listed under VIRTIO CORE but its UAPI companion was missing; the "include/uapi/linux/virtio_*.h" pattern does not match it because the filename lacks the "virtio_" prefix.-
include/uapi/linux/vduse.h: there is no dedicated VDUSE section inMAINTAINERS; the driver lives underdrivers/vdpa/which is already covered by VIRTIO CORE, so the UAPI header belongs there too.
Quoted 5 lines
-
include/uapi/linux/vhost_types.h: the VIRTIO HOST (VHOST) section explicitly listsinclude/uapi/linux/vhost.hbut omits its companion types header.Assisted-by claude-sonnet 4.6
I forgot:
Also, in case it is useful, the model looked for all the potentially missed files.
Quoted 33 lines
Signed-off-by Eugenio Pérez <[email protected]>--- MAINTAINERS | 4 ++++ 1 file changed, 4 insertions(+)MAINTAINERS +4
-1@@ -28903,9 +28903,12 @@ F: drivers/block/virtio_blk.c F: drivers/crypto/virtio/ F: drivers/vdpa/ F: drivers/virtio/ +F: include/linux/device-id/virtio.h F: include/linux/vdpa.h F: include/linux/virtio*.h F: include/linux/vringh.h +F: include/uapi/linux/vdpa.h +F: include/uapi/linux/vduse.h F: include/uapi/linux/virtio_*.h F: net/vmw_vsock/virtio* F: tools/virtio/@@ -28979,6 +28982,7 @@ F: drivers/vhost/ F: include/linux/sched/vhost_task.h F: include/linux/vhost_iotlb.h F: include/uapi/linux/vhost.h +F: include/uapi/linux/vhost_types.h F: kernel/vhost_task.c VIRTIO HOST (VHOST-SCSI) --2.56.0
Quoted 4 lines · Eugenio Pérez
Several headers related to virtio, vDPA, VDUSE and vhost were not covered by any specific
MAINTAINERSentry and fell through to the catch-all THE REST section:
Quoted 9 lines
-
include/linux/device-id/virtio.h: not matched by the existing "include/linux/virtio*.h" glob, which only matches files directly underinclude/linux/and does not recurse into subdirectories.-
include/uapi/linux/vdpa.h: the in-kernelinclude/linux/vdpa.hwas listed under VIRTIO CORE but its UAPI companion was missing; the "include/uapi/linux/virtio_*.h" pattern does not match it because the filename lacks the "virtio_" prefix.
Maybe we should tell to the agent to avoid useless info in the commit message, I mean it's pretty clear that "include/uapi/linux/virtio_*.h" will not match include/uapi/linux/vdpa.h ...
Quoted 9 lines
-
include/uapi/linux/vduse.h: there is no dedicated VDUSE section inMAINTAINERS; the driver lives underdrivers/vdpa/which is already covered by VIRTIO CORE, so the UAPI header belongs there too.-
include/uapi/linux/vhost_types.h: the VIRTIO HOST (VHOST) section explicitly listsinclude/uapi/linux/vhost.hbut omits its companion types header.Assisted-by claude-sonnet 4.6
nit: the suggested tag in Documentation/process/coding-assistants.rst is
Quoted 4 lines
Signed-off-by Eugenio Pérez <[email protected]>---
MAINTAINERS| 4 ++++1 file changed, 4 insertions(+)
Anyway, the patch LGTM:
Maybe to be fixed in another patch, LLM here found also others files related to virtio/vhost/vdpa uncovered:
Other virtio-related files not covered by any virtio/vhost/vdpa MAINTAINERS entry:
- Documentation/ABI/testing/sysfs-fs-virtiofs
Current: no section (THE REST only)
Suggested: VIRTIO FILE SYSTEM
- Documentation/userspace-api/vduse.rst
Current: DOCUMENTATION only
Suggested: VIRTIO CORE (already lists sysfs-class-vduse)
- include/trace/events/vsock_virtio_transport_common.h
Current: TRACING only
Suggested: VIRTIO AND VHOST VSOCK DRIVER
(next to virtio_transport_common.c)
- drivers/nvdimm/virtio_pmem.h
Current: LIBNVDIMM only
Suggested: VIRTIO PMEM DRIVER (lists virtio_pmem.c and
nd_virtio.c, but not the header)
- Documentation/devicetree/bindings/gpio/gpio-virtio.yaml
Current: GPIO + DT bindings
Suggested: VIRTIO GPIO DRIVER
- Documentation/devicetree/bindings/i2c/i2c-virtio.yaml
Current: I2C + DT bindings
Suggested: VIRTIO I2C DRIVER
- Documentation/networking/device_drivers/ethernet/amd/pds_vdpa.rst
Current: NETWORKING + DOCUMENTATION
Suggested: PDS DSC VIRTIO DATA PATH ACCELERATOR
(only lists drivers/vdpa/pds/)
- include/linux/mlx5/mlx5_ifc_vdpa.h
Current: MLX5 core/IB only
Suggested: possibly MELLANOX MLX5 VDPA DRIVER (debatable, it's an
mlx5 interface header)
I'll send a fix for the vsock events.
Thanks,
Stefano