Skip to content

drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisor

Christoph Hellwig dri-devel intel-gfx lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 42 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/34drm/i915/gvt: remove module refcounting in intel_gvt_{,un}register_hypervisordrivers/gpu/drm/i915/gvt/gvt.c+0 -60 replies
2/34drm/i915/gvt: remove enum hypervisor_typedrivers/gpu/drm/i915/gvt/gvt.c drivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h +2 more+34 -1411 reply
3/34drm/i915/gvt: rename intel_vgpu_ops to intel_vgpu_mdev_opsdrivers/gpu/drm/i915/gvt/kvmgt.c+3 -31 reply
4/34drm/i915/gvt: don't override the include pathdrivers/gpu/drm/i915/gvt/Makefile drivers/gpu/drm/i915/gvt/trace.h+1 -22 replies
5/34drm/i915/gvt: cleanup the Makefiledrivers/gpu/drm/i915/gvt/Makefile+23 -69 replies
6/34drm/i915/gvt: move the gvt code into kvmgt.kodrivers/gpu/drm/i915/Kconfig drivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/gvt/Makefile +9 more+193 -1541 reply
7/34drm/i915/gvt: remove intel_gvt_opsdrivers/gpu/drm/i915/gvt/gvt.c drivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h +2 more+19 -691 reply
8/34drm/i915/gvt: remove the map_gfn_to_mfn and set_trap_area opsdrivers/gpu/drm/i915/gvt/cfg_space.c drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/mpt.h+17 -1201 reply
9/34drm/i915/gvt: remove the unused from_virt_to_mfn opdrivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c drivers/gpu/drm/i915/gvt/mpt.h+0 -191 reply
10/34drm/i915/gvt: merge struct kvmgt_vdev into struct intel_vgpudrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +2 more+128 -2161 reply
11/34drm/i915/gvt: merge struct kvmgt_guest_info into strut intel_vgpudrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/kvmgt.c+52 -731 reply
12/34drm/i915/gvt: remove vgpu->handledrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +2 more+71 -1161 reply
13/34drm/i915/gvt: devirtualize ->{read,write}_gpadrivers/gpu/drm/i915/gvt/cmd_parser.c drivers/gpu/drm/i915/gvt/execlist.c drivers/gpu/drm/i915/gvt/gtt.c +7 more+72 -971 reply
14/34drm/i915/gvt: devirtualize ->{get,put}_vfio_devicedrivers/gpu/drm/i915/gvt/dmabuf.c drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +1 more+7 -591 reply
15/34drm/i915/gvt: devirtualize ->set_edid and ->set_opregiondrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +2 more+8 -421 reply
16/34drm/i915/gvt: devirtualize ->detach_vgpudrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +2 more+3 -201 reply
17/34drm/i915/gvt: devirtualize ->inject_msidrivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/interrupt.c drivers/gpu/drm/i915/gvt/kvmgt.c +1 more+37 -631 reply
18/34drm/i915/gvt: devirtualize ->is_valid_gfndrivers/gpu/drm/i915/gvt/gtt.c drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +1 more+18 -371 reply
19/34drm/i915/gvt: devirtualize ->gfn_to_mfndrivers/gpu/drm/i915/gvt/gtt.c drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +1 more+5 -351 reply
20/34drm/i915/gvt: devirtualize ->{enable,disable}_page_trackdrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h drivers/gpu/drm/i915/gvt/kvmgt.c +2 more+9 -381 reply
21/34drm/i915/gvt: devirtualize ->dma_{,un}map_guest_pagedrivers/gpu/drm/i915/gvt/dmabuf.c drivers/gpu/drm/i915/gvt/gtt.c drivers/gpu/drm/i915/gvt/gvt.h +3 more+17 -571 reply
22/34drm/i915/gvt: devirtualize dma_pin_guest_pagedrivers/gpu/drm/i915/gvt/dmabuf.c drivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h +2 more+3 -331 reply
23/34drm/i915/gvt: remove struct intel_gvt_mptdrivers/gpu/drm/i915/gvt/gvt.c drivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/hypercall.h +2 more+17 -1691 reply
24/34drm/i915/gvt: remove the extra vfio_device refcounting for dmabufsdrivers/gpu/drm/i915/gvt/dmabuf.c drivers/gpu/drm/i915/gvt/gvt.h+0 -131 reply
25/34drm/i915/gvt: streamline intel_vgpu_createdrivers/gpu/drm/i915/gvt/kvmgt.c+9 -191 reply
26/34drm/i915/gvt: pass a struct intel_vgpu to the vfio read/write helpersdrivers/gpu/drm/i915/gvt/kvmgt.c+14 -141 reply
27/34drm/i915/gvt: remove kvmgt_guest_{init,exit}drivers/gpu/drm/i915/gvt/kvmgt.c+60 -691 reply
28/34drm/i915/gvt: convert to use vfio_register_emulated_iommu_devdrivers/gpu/drm/i915/gvt/gvt.h drivers/gpu/drm/i915/gvt/kvmgt.c+102 -901 reply
29/34drm/i915/gvt: merge gvt.c into kvmgvt.cdrivers/gpu/drm/i915/gvt/Makefile drivers/gpu/drm/i915/gvt/gvt.c drivers/gpu/drm/i915/gvt/gvt.h +1 more+260 -3021 reply
30/34vfio/mdev: Remove vfio_mdev.cDocumentation/driver-api/vfio-mediated-device.rst drivers/vfio/mdev/Makefile drivers/vfio/mdev/mdev_core.c +4 more+6 -2511 reply
31/34vfio/mdev: Remove mdev_parent_ops dev_attr_groupsdrivers/vfio/mdev/mdev_sysfs.c include/linux/mdev.h samples/vfio-mdev/mtty.c+3 -411 reply
32/34vfio/mdev: Remove mdev_parent_opsDocumentation/driver-api/vfio-mediated-device.rst drivers/gpu/drm/i915/gvt/kvmgt.c drivers/s390/cio/vfio_ccw_ops.c +8 more+28 -921 reply
33/34vfio/mdev: Use the driver core to create the 'remove' filedrivers/vfio/mdev/mdev_core.c drivers/vfio/mdev/mdev_private.h drivers/vfio/mdev/mdev_sysfs.c+13 -91 reply
34/34vfio/mdev: Remove mdev drvdatainclude/linux/mdev.h+0 -91 reply

Reviews trailers per patch

32 of 34 patches have a Reviewed-by or Acked-by.

PatchJason GunthorpeKirti Wankhede
1/34
2/34R-b
3/34R-b
4/34R-b
5/34R-b
6/34R-b
7/34R-b
8/34R-b
9/34R-b
10/34R-b
11/34R-b
12/34R-b
13/34R-b
14/34R-b
15/34R-b
16/34R-b
17/34R-b
18/34R-b
19/34R-b
20/34R-b
21/34R-b
22/34R-b
23/34R-b
24/34R-b
25/34R-b
26/34R-b
27/34R-b
28/34R-b
29/34R-b
30/34R-b
31/34
32/34R-b
33/34R-b
34/34R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread