aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio
AgeCommit message (Expand)AuthorFilesLines
2023-01-10vfio/type1: Respect IOMMU reserved regions in vfio_test_domain_fgsp()Niklas Schnelle1-11/+20
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2022-12-15Merge tag 'vfio-v6.2-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds18-429/+1435
2022-12-14Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds13-912/+1434
2022-12-12vfio/mlx5: error pointer dereference in error handlingDan Carpenter1-1/+1
2022-12-12vfio/mlx5: fix error code in mlx5vf_precopy_ioctl()Dan Carpenter1-1/+4
2022-12-12Merge tag 'irq-core-2022-12-10' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+0
2022-12-06hisi_acc_vfio_pci: Enable PRE_COPY flagShameer Kolothum1-1/+1
2022-12-06hisi_acc_vfio_pci: Move the dev compatibility tests for early checkShameer Kolothum2-12/+8
2022-12-06hisi_acc_vfio_pci: Introduce support for PRE_COPY state transitionsShameer Kolothum1-3/+71
2022-12-06hisi_acc_vfio_pci: Add support for precopy IOCTLShameer Kolothum2-0/+53
2022-12-06vfio/mlx5: Enable MIGRATION_PRE_COPY flagShay Drory1-0/+5
2022-12-06vfio/mlx5: Fallback to STOP_COPY upon specific PRE_COPY errorShay Drory3-3/+32
2022-12-06vfio/mlx5: Introduce multiple loadsYishai Hadas3-45/+257
2022-12-06vfio/mlx5: Consider temporary end of stream as part of PRE_COPYYishai Hadas3-2/+14
2022-12-06vfio/mlx5: Introduce vfio precopy ioctl implementationYishai Hadas2-0/+127
2022-12-06vfio/mlx5: Introduce SW headers for migration statesYishai Hadas3-4/+67
2022-12-06vfio/mlx5: Introduce device transitions of PRE_COPYYishai Hadas3-18/+184
2022-12-06vfio/mlx5: Refactor to use queue based data chunksYishai Hadas3-38/+136
2022-12-06vfio/mlx5: Refactor migration file stateYishai Hadas3-8/+12
2022-12-06vfio/mlx5: Refactor MKEY usageYishai Hadas3-113/+178
2022-12-06vfio/mlx5: Refactor PD usageYishai Hadas3-31/+71
2022-12-06vfio/mlx5: Enforce a single SAVE command at a timeYishai Hadas3-0/+14
2022-12-06vfio: Extend the device migration protocol with PRE_COPYJason Gunthorpe1-2/+72
2022-12-05vfio: Fold vfio_virqfd.ko into vfio.koJason Gunthorpe5-18/+25
2022-12-05vfio: Remove CONFIG_VFIO_SPAPR_EEHJason Gunthorpe2-8/+3
2022-12-05vfio: Move vfio_spapr_iommu_eeh_ioctl into vfio_iommu_spapr_tce.cJason Gunthorpe3-91/+53
2022-12-05vfio/spapr: Move VFIO_CHECK_EXTENSION into tce_iommu_ioctl()Jason Gunthorpe2-12/+4
2022-12-05vfio/pci: Move all the SPAPR PCI specific logic to vfio_pci_core.koJason Gunthorpe2-15/+9
2022-12-05vfio: Move vfio group specific code into group.cYi Liu4-870/+907
2022-12-05vfio: Refactor dma APIs for emulated devicesYi Liu3-34/+43
2022-12-05vfio: Wrap vfio group module init/clean code into helpersYi Liu1-20/+36
2022-12-05vfio: Refactor vfio_device open and closeYi Liu1-46/+87
2022-12-05vfio: Make vfio_device_open() truly device specificYi Liu1-17/+29
2022-12-05vfio: Swap order of vfio_device_container_register() and open_device()Yi Liu1-8/+9
2022-12-05vfio: Set device->group in helper functionYi Liu1-15/+26
2022-12-05vfio: Create wrappers for group register/unregisterYi Liu1-7/+16
2022-12-05vfio: Move the sanity check of the group to vfio_create_group()Jason Gunthorpe1-37/+25
2022-12-05vfio: Simplify vfio_create_group()Jason Gunthorpe1-23/+10
2022-12-02vfio/iova_bitmap: refactor iova_bitmap_set() to better handle page boundariesJoao Martins1-17/+13
2022-12-02Merge tag 'v6.1-rc7' into iommufd.git for-nextJason Gunthorpe2-5/+18
2022-12-02vfio: Make vfio_container optionally compiledJason Gunthorpe3-13/+91
2022-12-02vfio: Move container related MODULE_ALIAS statements into container.cJason Gunthorpe2-2/+3
2022-12-02vfio-iommufd: Support iommufd for emulated VFIO devicesJason Gunthorpe4-94/+206
2022-12-02vfio-iommufd: Support iommufd for physical VFIO devicesJason Gunthorpe10-2/+150
2022-12-02vfio-iommufd: Allow iommufd to be used in place of a container fdJason Gunthorpe4-16/+82
2022-12-02vfio: Use IOMMU_CAP_ENFORCE_CACHE_COHERENCY for vfio_file_enforced_coherent()Jason Gunthorpe3-17/+19
2022-12-02vfio: Rename vfio_device_assign/unassign_container()Jason Gunthorpe3-13/+11
2022-12-02vfio: Move vfio_device_assign_container() into vfio_device_first_open()Jason Gunthorpe2-15/+13
2022-12-02vfio: Move vfio_device driver open/close code to a functionJason Gunthorpe1-42/+53
2022-11-24driver core: make struct class.devnode() take a const *Greg Kroah-Hartman1-1/+1
2022-11-23vfio/fsl-mc: Remove linux/msi.h includeThomas Gleixner1-1/+0
2022-11-14vfio/mlx5: Fix a typo in mlx5vf_cmd_load_vhca_state()Yishai Hadas1-2/+2
2022-11-14vfio: Add an option to get migration data sizeYishai Hadas4-1/+61
2022-11-10vfio/pci: Check the device set open count on resetAnthony DeRossi1-5/+5
2022-11-10vfio: Export the device set open countAnthony DeRossi1-0/+13
2022-11-10vfio: Fix container device registration life cycleAnthony DeRossi1-5/+8
2022-11-10vfio: Remove vfio_free_deviceEric Farman5-22/+4
2022-11-10vfio/ccw: replace vfio_init_device with _alloc_Eric Farman1-5/+5
2022-11-09vfio/iova_bitmap: Fix PAGE_SIZE unaligned bitmapsJoao Martins1-2/+6
2022-11-09vfio/iova_bitmap: Explicitly include linux/slab.hJoao Martins1-0/+1
2022-11-09vfio: platform: Do not pass return buffer to ACPI _RST methodRafael Mendonca1-2/+1
2022-11-09vfio/mlx5: Switch to use module_pci_driver() macroShang XiaoJing1-12/+1
2022-10-12Merge tag 'vfio-v6.1-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds28-1757/+4088
2022-10-07vfio: More vfio_file_is_group() use casesAlex Williamson1-3/+3
2022-10-07vfio: Make the group FD disassociate from the iommu_groupJason Gunthorpe2-24/+44
2022-10-07vfio: Hold a reference to the iommu_group in kvm for SPAPRJason Gunthorpe1-2/+4
2022-10-07vfio: Add vfio_file_is_group()Jason Gunthorpe2-2/+16
2022-10-04vfio: Change vfio_group->group_rwsem to a mutexJason Gunthorpe3-29/+30
2022-10-04vfio: Remove the vfio_group->users and users_compJason Gunthorpe2-28/+20
2022-10-04vfio/mdev: add mdev available instance checking to the coreJason Gunthorpe2-4/+23
2022-10-04vfio/mdev: consolidate all the description sysfs into the core codeChristoph Hellwig2-9/+33
2022-10-04vfio/mdev: consolidate all the available_instance sysfs into the core codeChristoph Hellwig1-0/+11
2022-10-04vfio/mdev: consolidate all the name sysfs into the core codeChristoph Hellwig1-0/+10
2022-10-04vfio/mdev: consolidate all the device_api sysfs into the core codeJason Gunthorpe2-11/+28
2022-10-04vfio/mdev: remove mtype_get_parent_devChristoph Hellwig1-10/+0
2022-10-04vfio/mdev: remove mdev_parent_devChristoph Hellwig1-6/+0
2022-10-04vfio/mdev: unexport mdev_bus_typeChristoph Hellwig2-1/+1
2022-10-04vfio/mdev: remove mdev_from_devChristoph Hellwig1-4/+2
2022-10-04vfio/mdev: simplify mdev_type handlingChristoph Hellwig4-105/+30
2022-10-04vfio/mdev: embedd struct mdev_parent in the parent data structureChristoph Hellwig3-123/+24
2022-10-04vfio/mdev: make mdev.h standalone includableChristoph Hellwig3-5/+0
2022-09-27hisi_acc_vfio_pci: Update some log and comment formatsLongfang Liu2-12/+12
2022-09-27hisi_acc_vfio_pci: Remove useless macro definitionsLongfang Liu1-1/+0
2022-09-27hisi_acc_vfio_pci: Remove useless function parameterLongfang Liu1-3/+5
2022-09-27hisi_acc_vfio_pci: Fix device data address combination problemLongfang Liu1-4/+4
2022-09-27hisi_acc_vfio_pci: Fixes error return code issueLongfang Liu1-1/+1
2022-09-27vfio: Follow a strict lifetime for struct iommu_groupJason Gunthorpe2-23/+53
2022-09-26Merge branches 'apple/dart', 'arm/mediatek', 'arm/omap', 'arm/smmu', 'virtio'...Joerg Roedel1-1/+12
2022-09-22vfio: Move container code into drivers/vfio/container.cJason Gunthorpe4-691/+728
2022-09-22vfio: Split the register_device ops call into functionsJason Gunthorpe1-16/+23
2022-09-22vfio: Rename vfio_ioctl_check_extension()Jason Gunthorpe1-5/+6
2022-09-22vfio: Split out container code from the init/cleanup functionsJason Gunthorpe1-18/+36
2022-09-22vfio: Remove #ifdefs around CONFIG_VFIO_NOIOMMUJason Gunthorpe1-24/+19
2022-09-22vfio: Split the container logic into vfio_container_attach_group()Jason Gunthorpe1-30/+48
2022-09-22vfio: Rename __vfio_group_unset_container()Jason Gunthorpe1-6/+5
2022-09-22vfio: Add header guards and includes to drivers/vfio/vfio.hJason Gunthorpe1-0/+10
2022-09-21vfio: Add struct device to vfio_deviceYi Liu1-11/+53
2022-09-21vfio: Rename vfio_device_put() and vfio_device_try_get()Kevin Tian1-8/+9
2022-09-21vfio/ccw: Use the new device life cycle helpersKevin Tian1-18/+5
2022-09-21vfio/amba: Use the new device life cycle helpersKevin Tian3-80/+55
2022-09-21vfio/platform: Use the new device life cycle helpersKevin Tian3-23/+111
2022-09-21vfio/fsl-mc: Use the new device life cycle helpersYi Liu1-36/+49
2022-09-21vfio/hisi_acc: Use the new device life cycle helpersYi Liu2-73/+37
2022-09-21vfio/mlx5: Use the new device life cycle helpersYi Liu1-14/+36
2022-09-21vfio/pci: Use the new device life cycle helpersYi Liu2-10/+45
2022-09-21vfio: Add helpers for unifying vfio_device life cycleKevin Tian1-0/+92
2022-09-09Merge tag 'vfio-v6.0-rc5' of https://github.com/awilliam/linux-vfioLinus Torvalds1-0/+12
2022-09-08vfio/mlx5: Set the driver DMA logging callbacksYishai Hadas3-3/+14
2022-09-08vfio/mlx5: Manage error scenarios on trackerYishai Hadas2-2/+61
2022-09-08vfio/mlx5: Report dirty pages from trackerYishai Hadas2-0/+195
2022-09-08vfio/mlx5: Create and destroy page tracker objectYishai Hadas2-0/+148
2022-09-08vfio/mlx5: Init QP based resources for dirty trackingYishai Hadas2-12/+636
2022-09-08vfio: Introduce the DMA logging feature supportYishai Hadas3-0/+181
2022-09-08vfio: Add an IOVA bitmap supportJoao Martins2-2/+426
2022-09-08Merge remote-tracking branch 'mlx5/mlx5-vfio' into v6.1/vfio/nextAlex Williamson1-2/+6
2022-09-08vfio/fsl-mc: Fix a typo in a messageChristophe JAILLET1-2/+2
2022-09-07iommu/dma: Move public interfaces to linux/iommu.hRobin Murphy1-1/+0
2022-09-01hisi_acc_vfio_pci: Correct the function prefix for hssi_acc_drvdata()Shameer Kolothum1-10/+10
2022-09-01vfio: Remove vfio_group dev_counterJason Gunthorpe1-6/+3
2022-09-01vfio/pci: Implement VFIO_DEVICE_FEATURE_LOW_POWER_ENTRY_WITH_WAKEUPAbhishek Sahu1-3/+60
2022-09-01vfio/pci: Implement VFIO_DEVICE_FEATURE_LOW_POWER_ENTRY/EXITAbhishek Sahu1-8/+145
2022-09-01vfio/pci: Mask INTx during runtime suspendAbhishek Sahu3-6/+40
2022-09-01vfio: Increment the runtime PM usage count during IOCTL callAbhishek Sahu1-3/+49
2022-09-01vfio: Split VFIO_GROUP_GET_STATUS into a functionJason Gunthorpe1-31/+30
2022-09-01vfio: Follow the naming pattern for vfio_group_ioctl_unset_container()Jason Gunthorpe1-11/+16
2022-09-01vfio: Fold VFIO_GROUP_SET_CONTAINER into vfio_group_set_container()Jason Gunthorpe1-27/+24
2022-09-01vfio: Fold VFIO_GROUP_GET_DEVICE_FD into vfio_group_get_device_fd()Jason Gunthorpe1-13/+11
2022-09-01vfio-pci: Replace 'void __user *' with proper types in the ioctl functionsJason Gunthorpe1-30/+28
2022-09-01vfio-pci: Re-indent what was vfio_pci_core_ioctl()Jason Gunthorpe1-362/+349
2022-09-01vfio-pci: Break up vfio_pci_core_ioctl() into one function per ioctlJason Gunthorpe1-29/+68
2022-09-01vfio-pci: Fix vfio_pci_ioeventfd() to return intJason Gunthorpe2-4/+4
2022-09-01vfio/pci: Simplify the is_intx/msi/msix/etc definesJason Gunthorpe3-8/+18
2022-09-01vfio/pci: Rename vfio_pci_register_dev_region()Jason Gunthorpe2-8/+8
2022-09-01vfio/pci: Split linux/vfio_pci_core.hJason Gunthorpe8-7/+144
2022-08-31vfio/type1: Unpin zero pagesAlex Williamson1-0/+12
2022-08-29KVM: s390: pci: Hook to access KVM lowlevel from VFIOPierre Morel1-2/+6
2022-08-08vfio: Move vfio.c to vfio_main.cJason Gunthorpe2-0/+2
2022-08-06Merge tag 'vfio-v6.0-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds12-253/+241
2022-08-04Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds4-6/+52
2022-08-03Merge tag 'drm-next-2022-08-03' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-0/+5
2022-08-03Merge tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-08-01vfio/pci: fix the wrong wordBo Liu1-1/+1
2022-08-01Merge remote-tracking branch 'kvm/next' into kvm-next-5.20Paolo Bonzini4-6/+52
2022-07-25vfio: Replace phys_pfn with pages for vfio_pin_pages()Nicolin Chen3-13/+16
2022-07-25vfio: Rename user_iova of vfio_dma_rw()Nicolin Chen1-3/+3
2022-07-25vfio: Pass in starting IOVA to vfio_pin/unpin_pages APINicolin Chen3-25/+21
2022-07-23vfio: Make vfio_unpin_pages() return voidNicolin Chen3-24/+14
2022-07-22vfio/spapr_tce: Fix the commentAlexey Kardashevskiy1-1/+4
2022-07-20vfio: Replace the iommu notifier with a device listJason Gunthorpe3-76/+80
2022-07-20vfio: Replace the DMA unmapping notifier with a callbackJason Gunthorpe2-85/+47
2022-07-16vfio: do not set FMODE_LSEEK flagJason A. Donenfeld1-1/+1
2022-07-11vfio-pci/zdev: different maxstbl for interpreted devicesMatthew Rosato1-2/+4
2022-07-11vfio-pci/zdev: add function handle to clp base capabilityMatthew Rosato1-2/+3
2022-07-11vfio-pci/zdev: add open/close device hooksMatthew Rosato2-1/+33
2022-07-11vfio/pci: introduce CONFIG_VFIO_PCI_ZDEV_KVMMatthew Rosato2-1/+12
2022-07-07Merge branches 'v5.20/vfio/spapr_tce-unused-arg-v1', 'v5.20/vfio/comment-typo...Alex Williamson1-1/+1
2022-07-07vfio/spapr_tce: Remove the unused parameters containerDeming Wang1-5/+4
2022-07-06vfio/pci: fix the wrong wordBo Liu1-1/+1
2022-07-05vfio: Move IOMMU_CAP_CACHE_COHERENCY test to after we know we have a groupJason Gunthorpe1-7/+10
2022-06-30Merge branches 'v5.20/vfio/migration-enhancements-v3', 'v5.20/vfio/simplify-b...Alex Williamson2-32/+36
2022-06-30vfio: Move "device->open_count--" out of group_rwsem in vfio_device_open()Yi Liu1-1/+1
2022-06-30vfio: remove useless judgementLi Zhe1-6/+0
2022-06-30vfio: Clear the caps->buf to NULL after freeSchspa Shi1-0/+1
2022-06-30vfio: check iommu_group_set_name() return valueLiam Ni1-1/+3
2022-06-30vfio: Split migration ops from main device opsYishai Hadas6-14/+31
2022-06-30vfio/mlx5: Protect mlx5vf_disable_fds() upon close deviceYishai Hadas3-1/+12
2022-06-27vfio: check vfio_register_iommu_driver() return valueBo Liu1-3/+7
2022-06-27vfio: Use device_iommu_capable()Robin Murphy1-1/+1
2022-06-27vfio/type1: Simplify bus_type determinationRobin Murphy1-20/+23
2022-06-27vfio: de-extern-ify function prototypesAlex Williamson2-12/+11
2022-06-27vfio/pci: Remove console driversAlex Williamson1-0/+5
2022-06-01Merge tag 'vfio-v5.19-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds8-757/+780
2022-05-31Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds6-241/+45
2022-05-24vfio: remove VFIO_GROUP_NOTIFY_SET_KVMMatthew Rosato1-54/+29
2022-05-23vfio/pci: Add driver_managed_dma to the new vfio_pci driversJason Gunthorpe2-0/+2
2022-05-23vfio: Do not manipulate iommu dma_owner for fake iommu groupsJason Gunthorpe1-5/+10
2022-05-20Merge branches 'apple/dart', 'arm/mediatek', 'arm/msm', 'arm/smmu', 'ppc/pamu...Joerg Roedel6-241/+45
2022-05-18vfio/pci: Move the unused device into low power state with runtime PMAbhishek Sahu1-57/+113
2022-05-18vfio/pci: Virtualize PME related registers bits and initialize to zeroAbhishek Sahu1-1/+32
2022-05-18vfio/pci: Change the PF power state to D0 before enabling VFsAbhishek Sahu1-0/+16
2022-05-18vfio/pci: Invalidate mmaps and block the access in D3hot power stateAbhishek Sahu1-2/+21
2022-05-17vfio: Change struct vfio_group::container_users to a non-atomic intJason Gunthorpe1-15/+13
2022-05-17vfio: Simplify the life cycle of the group FDJason Gunthorpe1-28/+24
2022-05-17vfio: Fully lock struct vfio_group::containerJason Gunthorpe1-26/+40
2022-05-17vfio: Split up vfio_group_get_device_fd()Jason Gunthorpe1-23/+56
2022-05-17vfio: Change struct vfio_group::opened from an atomic to boolJason Gunthorpe1-19/+27
2022-05-17vfio: Add missing locking for struct vfio_group::kvmJason Gunthorpe1-4/+15
2022-05-13vfio/pci: Use the struct file as the handle not the vfio_groupJason Gunthorpe2-73/+39
2022-05-13vfio: Change vfio_group_set_kvm() to vfio_file_set_kvm()Jason Gunthorpe1-8/+21
2022-05-13vfio: Change vfio_external_check_extension() to vfio_file_enforced_coherent()Jason Gunthorpe1-3/+27
2022-05-13vfio: Remove vfio_external_group_match_file()Jason Gunthorpe1-9/+0
2022-05-13vfio: Change vfio_external_user_iommu_id() to vfio_file_iommu_group()Jason Gunthorpe1-7/+14
2022-05-13vfio: Delete container_qJason Gunthorpe1-20/+0
2022-05-13Merge remote-tracking branch 'iommu/vfio-notifier-fix' into v5.19/vfio/nextAlex Williamson5-230/+19
2022-05-11vfio/pci: Remove vfio_device_get_from_dev()Jason Gunthorpe3-67/+10
2022-05-11vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdataJason Gunthorpe4-9/+27
2022-05-11vfio: Remove calls to vfio_group_add_container_user()Jason Gunthorpe1-63/+17
2022-05-11vfio: Remove dead codeJason Gunthorpe1-151/+0
2022-05-11vfio/mdev: Pass in a struct vfio_device * to vfio_dma_rw()Jason Gunthorpe1-13/+11