OpenCloudOS-Kernel/drivers/gpu/drm/i915/gvt
Linus Torvalds 176882156a VFIO updates for v5.19-rc1
- Improvements to mlx5 vfio-pci variant driver, including support
    for parallel migration per PF (Yishai Hadas)
 
  - Remove redundant iommu_present() check (Robin Murphy)
 
  - Ongoing refactoring to consolidate the VFIO driver facing API
    to use vfio_device (Jason Gunthorpe)
 
  - Use drvdata to store vfio_device among all vfio-pci and variant
    drivers (Jason Gunthorpe)
 
  - Remove redundant code now that IOMMU core manages group DMA
    ownership (Jason Gunthorpe)
 
  - Remove vfio_group from external API handling struct file ownership
    (Jason Gunthorpe)
 
  - Correct typo in uapi comments (Thomas Huth)
 
  - Fix coccicheck detected deadlock (Wan Jiabing)
 
  - Use rwsem to remove races and simplify code around container and
    kvm association to groups (Jason Gunthorpe)
 
  - Harden access to devices in low power states and use runtime PM to
    enable d3cold support for unused devices (Abhishek Sahu)
 
  - Fix dma_owner handling of fake IOMMU groups (Jason Gunthorpe)
 
  - Set driver_managed_dma on vfio-pci variant drivers (Jason Gunthorpe)
 
  - Pass KVM pointer directly rather than via notifier (Matthew Rosato)
 -----BEGIN PGP SIGNATURE-----
 
 iQJPBAABCAA5FiEEQvbATlQL0amee4qQI5ubbjuwiyIFAmKPvyMbHGFsZXgud2ls
 bGlhbXNvbkByZWRoYXQuY29tAAoJECObm247sIsihegP/3XamiYsS0GuA7awAq/X
 h9Jahb6kJ+sh0RXL1Gqzc9nxH5X9H/hBcL88VOV3GLwyOhNVNpVjQXGguL3aLaCE
 zUrs0+AFEJb990y9H+VgwIDom5BIpgdZ2naG42bz9wUeVGg4daJnkMwOgXwIBzfx
 IOddktN6UwuE+DyA57yqL93f+0cTrhYZx9R14sDoLR5lE4uGnbQwIknawEKVtoeR
 rEPaCFptxPxCUbqoOSR0Y3bu6rUYSH4iiMZpMviqm2ak3aNn76gru3q4QAnI4gTd
 l/w+2OJNFC0U7H5Cz7cdIn2StdJvfSkX0e753+qsFccFsViRCGdnW0Lht/xrYrFC
 i8AJxkrq2/bs00LXs7kzcruaD8pJ2UPe2x2+nupHSEsj99K4NraeHRB2CC1uwj0d
 gYliOSW5T3//wOpztK48s475VppgXeKWkXGoNY3JJlGjAPyd0vFrH8hRLhVZJ9uI
 /eLh6hQnOJuCDz1rQrVNRk6cZi9R1Wpl5dvCBRLqjK519nm569aTlVBra+iNyUCQ
 lU5/kN0ym8+X8CweE5ILPGiX2iEXBYMqv+Dm5yOimRUHRJZHYv900FX0GVEnCUCq
 23sMDaeHS1hyDCQk//bd2Ig7xjh7mbh7CrKcdJ7pL5Gc/A1zkCXd54hvxViiGwQq
 U5KIPTyJy+erpcpxjUApaoP2
 =etEI
 -----END PGP SIGNATURE-----

Merge tag 'vfio-v5.19-rc1' of https://github.com/awilliam/linux-vfio

Pull vfio updates from Alex Williamson:

 - Improvements to mlx5 vfio-pci variant driver, including support for
   parallel migration per PF (Yishai Hadas)

 - Remove redundant iommu_present() check (Robin Murphy)

 - Ongoing refactoring to consolidate the VFIO driver facing API to use
   vfio_device (Jason Gunthorpe)

 - Use drvdata to store vfio_device among all vfio-pci and variant
   drivers (Jason Gunthorpe)

 - Remove redundant code now that IOMMU core manages group DMA ownership
   (Jason Gunthorpe)

 - Remove vfio_group from external API handling struct file ownership
   (Jason Gunthorpe)

 - Correct typo in uapi comments (Thomas Huth)

 - Fix coccicheck detected deadlock (Wan Jiabing)

 - Use rwsem to remove races and simplify code around container and kvm
   association to groups (Jason Gunthorpe)

 - Harden access to devices in low power states and use runtime PM to
   enable d3cold support for unused devices (Abhishek Sahu)

 - Fix dma_owner handling of fake IOMMU groups (Jason Gunthorpe)

 - Set driver_managed_dma on vfio-pci variant drivers (Jason Gunthorpe)

 - Pass KVM pointer directly rather than via notifier (Matthew Rosato)

* tag 'vfio-v5.19-rc1' of https://github.com/awilliam/linux-vfio: (38 commits)
  vfio: remove VFIO_GROUP_NOTIFY_SET_KVM
  vfio/pci: Add driver_managed_dma to the new vfio_pci drivers
  vfio: Do not manipulate iommu dma_owner for fake iommu groups
  vfio/pci: Move the unused device into low power state with runtime PM
  vfio/pci: Virtualize PME related registers bits and initialize to zero
  vfio/pci: Change the PF power state to D0 before enabling VFs
  vfio/pci: Invalidate mmaps and block the access in D3hot power state
  vfio: Change struct vfio_group::container_users to a non-atomic int
  vfio: Simplify the life cycle of the group FD
  vfio: Fully lock struct vfio_group::container
  vfio: Split up vfio_group_get_device_fd()
  vfio: Change struct vfio_group::opened from an atomic to bool
  vfio: Add missing locking for struct vfio_group::kvm
  kvm/vfio: Fix potential deadlock problem in vfio
  include/uapi/linux/vfio.h: Fix trivial typo - _IORW should be _IOWR instead
  vfio/pci: Use the struct file as the handle not the vfio_group
  kvm/vfio: Remove vfio_group from kvm
  vfio: Change vfio_group_set_kvm() to vfio_file_set_kvm()
  vfio: Change vfio_external_check_extension() to vfio_file_enforced_coherent()
  vfio: Remove vfio_external_group_match_file()
  ...
2022-06-01 13:49:15 -07:00
..
Makefile drm/i915/gvt: merge gvt.c into kvmgvt.c 2022-04-21 07:36:56 -04:00
aperture_gm.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
cfg_space.c drm/i915/gvt: remove the map_gfn_to_mfn and set_trap_area ops 2022-04-21 07:36:56 -04:00
cmd_parser.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
cmd_parser.h drm/i915/gvt: Add missing forward decl of intel_vgpu for HDRTEST 2021-01-21 15:51:21 +02:00
debug.h
debugfs.c treewide: Change list_sort to use const pointers 2021-04-08 16:04:22 -07:00
display.c drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
display.h drm/i915/gvt: Refactor GVT vblank emulator for vGPU virtual display 2021-03-01 13:52:46 +08:00
dmabuf.c drm/i915/gvt: remove the extra vfio_device refcounting for dmabufs 2022-04-21 07:36:56 -04:00
dmabuf.h
edid.c drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
edid.h
execlist.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
execlist.h drm/i915/gvt: make execlist.h self-contained 2020-12-22 11:37:45 +08:00
fb_decoder.c drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
fb_decoder.h drm/i915/gvt: make fb_decoder.h self-contained 2020-12-22 11:39:05 +08:00
firmware.c i915/gvt: Use the initial HW state snapshot saved in i915 2022-04-21 07:36:56 -04:00
gtt.c vfio: remove VFIO_GROUP_NOTIFY_SET_KVM 2022-05-24 08:41:18 -06:00
gtt.h drm/i915/gvt: Constify intel_gvt_gtt_pte_ops 2022-01-12 02:52:37 -05:00
gvt.h vfio: remove VFIO_GROUP_NOTIFY_SET_KVM 2022-05-24 08:41:18 -06:00
handlers.c Merge tag 'gvt-next-2022-04-29' of https://github.com/intel/gvt-linux into drm-intel-next 2022-04-29 12:58:41 +03:00
interrupt.c drm/i915/gvt: devirtualize ->inject_msi 2022-04-21 07:36:56 -04:00
interrupt.h drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
kvmgt.c vfio: remove VFIO_GROUP_NOTIFY_SET_KVM 2022-05-24 08:41:18 -06:00
mmio.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
mmio.h i915/gvt: Separate the MMIO tracking table from GVT-g 2022-04-21 07:36:54 -04:00
mmio_context.c drm/i915: Move GT registers to their own header file 2022-02-02 07:59:14 -08:00
mmio_context.h drm/i915: Only include i915_reg.h from .c files 2022-02-02 07:59:54 -08:00
opregion.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
page_track.c drm/i915/gvt: devirtualize ->{enable,disable}_page_track 2022-04-21 07:36:56 -04:00
page_track.h
reg.h i915/gvt: Separate the MMIO tracking table from GVT-g 2022-04-21 07:36:54 -04:00
sched_policy.c drm/i915/gvt: Constify intel_gvt_sched_policy_ops 2022-01-12 02:52:37 -05:00
sched_policy.h
scheduler.c drm/i915/gvt: devirtualize ->{read,write}_gpa 2022-04-21 07:36:56 -04:00
scheduler.h drm/i915/gvt: Constify intel_gvt_sched_policy_ops 2022-01-12 02:52:37 -05:00
trace.h drm/i915/gvt: fix trace TRACE_INCLUDE_PATH 2022-04-21 07:36:56 -04:00
trace_points.c
vgpu.c drm/i915/gvt: devirtualize ->detach_vgpu 2022-04-21 07:36:56 -04:00