Commit 1768821
committed
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()
...File tree
24 files changed
+1095
-1144
lines changed- Documentation/driver-api
- drivers
- gpu/drm/i915/gvt
- net/ethernet/mellanox/mlx5/core
- s390
- cio
- crypto
- vfio
- pci
- hisilicon
- mlx5
- include
- linux
- mlx5
- uapi/linux
- virt/kvm
24 files changed
+1095
-1144
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
265 | | - | |
| 265 | + | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
1185 | 1185 | | |
1186 | 1186 | | |
1187 | 1187 | | |
1188 | | - | |
| 1188 | + | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 230 | | |
234 | | - | |
235 | 231 | | |
236 | 232 | | |
237 | 233 | | |
| |||
732 | 728 | | |
733 | 729 | | |
734 | 730 | | |
735 | | - | |
| 731 | + | |
736 | 732 | | |
737 | 733 | | |
738 | 734 | | |
| |||
750 | 746 | | |
751 | 747 | | |
752 | 748 | | |
753 | | - | |
| 749 | + | |
754 | 750 | | |
755 | 751 | | |
756 | 752 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
| |||
243 | 241 | | |
244 | 242 | | |
245 | 243 | | |
246 | | - | |
| 244 | + | |
247 | 245 | | |
248 | 246 | | |
249 | 247 | | |
| |||
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
269 | | - | |
270 | | - | |
| 267 | + | |
| 268 | + | |
271 | 269 | | |
272 | 270 | | |
273 | 271 | | |
| |||
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
764 | | - | |
765 | | - | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | | - | |
780 | | - | |
781 | 762 | | |
782 | 763 | | |
783 | 764 | | |
| |||
789 | 770 | | |
790 | 771 | | |
791 | 772 | | |
792 | | - | |
| 773 | + | |
793 | 774 | | |
794 | 775 | | |
795 | 776 | | |
| |||
804 | 785 | | |
805 | 786 | | |
806 | 787 | | |
807 | | - | |
808 | 788 | | |
809 | 789 | | |
810 | | - | |
811 | 790 | | |
812 | 791 | | |
813 | | - | |
814 | | - | |
| 792 | + | |
| 793 | + | |
815 | 794 | | |
816 | 795 | | |
817 | 796 | | |
818 | 797 | | |
819 | 798 | | |
820 | 799 | | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
838 | | - | |
839 | 800 | | |
840 | 801 | | |
841 | | - | |
| 802 | + | |
842 | 803 | | |
843 | 804 | | |
844 | | - | |
| 805 | + | |
| 806 | + | |
845 | 807 | | |
846 | | - | |
| 808 | + | |
847 | 809 | | |
848 | 810 | | |
| 811 | + | |
| 812 | + | |
849 | 813 | | |
850 | 814 | | |
851 | | - | |
| 815 | + | |
852 | 816 | | |
853 | 817 | | |
854 | | - | |
855 | 818 | | |
856 | 819 | | |
857 | 820 | | |
858 | 821 | | |
859 | 822 | | |
860 | 823 | | |
861 | | - | |
| 824 | + | |
| 825 | + | |
862 | 826 | | |
863 | 827 | | |
864 | 828 | | |
| |||
868 | 832 | | |
869 | 833 | | |
870 | 834 | | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | 835 | | |
880 | | - | |
881 | | - | |
| 836 | + | |
| 837 | + | |
882 | 838 | | |
883 | 839 | | |
884 | 840 | | |
| |||
894 | 850 | | |
895 | 851 | | |
896 | 852 | | |
897 | | - | |
| 853 | + | |
898 | 854 | | |
| 855 | + | |
899 | 856 | | |
900 | 857 | | |
901 | 858 | | |
| |||
907 | 864 | | |
908 | 865 | | |
909 | 866 | | |
910 | | - | |
911 | | - | |
| 867 | + | |
| 868 | + | |
912 | 869 | | |
913 | 870 | | |
914 | 871 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | 872 | | |
921 | 873 | | |
922 | | - | |
923 | | - | |
| 874 | + | |
| 875 | + | |
924 | 876 | | |
925 | 877 | | |
926 | 878 | | |
927 | 879 | | |
928 | | - | |
929 | 880 | | |
930 | | - | |
931 | 881 | | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | 882 | | |
944 | | - | |
| 883 | + | |
| 884 | + | |
945 | 885 | | |
946 | 886 | | |
947 | 887 | | |
| |||
1690 | 1630 | | |
1691 | 1631 | | |
1692 | 1632 | | |
1693 | | - | |
1694 | 1633 | | |
1695 | 1634 | | |
1696 | 1635 | | |
| |||
1728 | 1667 | | |
1729 | 1668 | | |
1730 | 1669 | | |
1731 | | - | |
| 1670 | + | |
1732 | 1671 | | |
1733 | 1672 | | |
1734 | 1673 | | |
| |||
1758 | 1697 | | |
1759 | 1698 | | |
1760 | 1699 | | |
1761 | | - | |
| 1700 | + | |
1762 | 1701 | | |
1763 | 1702 | | |
1764 | 1703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| |||
127 | 132 | | |
128 | 133 | | |
129 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
130 | 140 | | |
131 | 141 | | |
132 | 142 | | |
| |||
257 | 267 | | |
258 | 268 | | |
259 | 269 | | |
260 | | - | |
| 270 | + | |
261 | 271 | | |
262 | 272 | | |
263 | 273 | | |
| |||
269 | 279 | | |
270 | 280 | | |
271 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
| |||
281 | 294 | | |
282 | 295 | | |
283 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
0 commit comments