aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio
AgeCommit message (Expand)AuthorFilesLines
2024-03-15Merge tag 'vfio-v6.9-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds29-426/+1416
2024-03-11vfio/fsl-mc: Block calling interrupt handler without triggerAlex Williamson1-3/+4
2024-03-11vfio/platform: Create persistent IRQ handlersAlex Williamson1-32/+68
2024-03-11vfio/platform: Disable virqfds on cleanupAlex Williamson1-1/+4
2024-03-11vfio/pci: Create persistent INTx handlerAlex Williamson1-67/+78
2024-03-11vfio: Introduce interface to flush virqfd inject workqueueAlex Williamson1-0/+21
2024-03-11vfio/pci: Lock external INTx masking opsAlex Williamson1-6/+28
2024-03-11vfio/pci: Disable auto-enable of exclusive INTx IRQAlex Williamson1-7/+10
2024-03-11vfio/pds: Refactor/simplify reset logicBrett Creeley4-67/+19
2024-03-11vfio/pds: Make sure migration file isn't accessed after resetBrett Creeley2-0/+14
2024-03-11vfio/platform: Convert to platform remove callback returning voidUwe Kleine-König1-3/+2
2024-03-11vfio/mlx5: Enforce PRE_COPY supportYishai Hadas3-127/+71
2024-03-11Merge tag 'kvmarm-6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/kvm...Paolo Bonzini1-1/+18
2024-03-05hisi_acc_vfio_pci: Remove the deferred_reset logicShameer Kolothum2-40/+14
2024-03-04Revert "vfio/type1: Unpin zero pages"Alex Williamson1-12/+0
2024-03-04vfio/nvgrace-gpu: Convey kvm to map device memory region as noncachedAnkit Agrawal1-1/+10
2024-03-04Merge branch 'kvm-arm64/vfio-normal-nc' of https://git.kernel.org/pub/scm/lin...Alex Williamson1-1/+18
2024-03-04vfio: amba: Rename pl330_ids[] to vfio_amba_ids[]Geert Uytterhoeven1-3/+3
2024-03-01vfio/pds: Always clear the save/restore FDs on resetBrett Creeley1-2/+2
2024-02-24vfio: Convey kvm that the vfio-pci device is wc safeAnkit Agrawal1-1/+18
2024-02-22vfio/nvgrace-gpu: Add vfio pci variant module for grace hopperAnkit Agrawal5-0/+896
2024-02-22vfio/pci: rename and export range_intersect_rangeAnkit Agrawal2-46/+68
2024-02-22vfio/pci: rename and export do_io_rw()Ankit Agrawal1-7/+9
2024-02-22vfio: mdev: make mdev_bus_type constRicardo B. Marliere2-2/+2
2024-02-22vfio/mlx5: Let firmware knows upon leaving PRE_COPY back to RUNNINGYishai Hadas3-12/+45
2024-02-22vfio/mlx5: Block incremental query upon migf state errorYishai Hadas1-0/+5
2024-02-22vfio/mlx5: Handle the EREMOTEIO error upon the SAVE commandYishai Hadas1-1/+6
2024-02-22vfio/mlx5: Add support for tracker object change eventYishai Hadas2-0/+49
2024-02-22vfio/pci: WARN_ON driver_override kasprintf failureKunwu Chan1-0/+1
2024-02-08vfio: replace CONFIG_HAVE_KVM with IS_ENABLED(CONFIG_KVM)Paolo Bonzini2-3/+3
2024-01-18Merge tag 'vfio-v6.8-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds15-155/+963
2024-01-10vfio/virtio: fix virtio-pci dependencyArnd Bergmann1-1/+1
2024-01-08Merge tag 'vfs-6.8.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds4-12/+12
2024-01-05hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resumeShameer Kolothum1-2/+5
2023-12-20vfio/virtio: Declare virtiovf_pci_aer_reset_done() staticYishai Hadas1-1/+1
2023-12-19Merge branch 'v6.8/vfio/virtio' into v6.8/vfio/nextAlex Williamson6-27/+628
2023-12-19vfio/virtio: Introduce a vfio driver over virtio devicesYishai Hadas5-0/+598
2023-12-19vfio/pci: Expose vfio_pci_core_iowrite/read##size()Yishai Hadas1-24/+26
2023-12-19vfio/pci: Expose vfio_pci_core_setup_barmap()Yishai Hadas1-3/+4
2023-12-04Merge branches 'v6.8/vfio/debugfs', 'v6.8/vfio/pds' and 'v6.8/vfio/type1-acco...Alex Williamson3-126/+209
2023-12-04vfio/type1: account iommu allocationsPasha Tatashin1-3/+5
2023-12-04vfio/pds: Add multi-region supportBrett Creeley2-68/+156
2023-12-04vfio/pds: Move seq/ack bitmaps into region structBrett Creeley2-20/+25
2023-12-04vfio/pds: Pass region info to relevant functionsBrett Creeley1-35/+36
2023-12-04vfio/pds: Move and rename region specific infoBrett Creeley2-45/+50
2023-12-04vfio/pds: Only use a single SGL for both seq and ackBrett Creeley2-46/+28
2023-12-04vfio/pds: Fix calculations in pds_vfio_dirty_syncBrett Creeley1-3/+3
2023-12-04vfio/migration: Add debugfs to live migration driverLongfang Liu5-0/+121
2023-11-28eventfd: simplify eventfd_signal()Christian Brauner4-12/+12
2023-11-27vfio/pds: Fix possible sleep while in atomic contextBrett Creeley3-9/+11
2023-11-27vfio/pds: Fix mutex lock->magic != lock warningBrett Creeley1-3/+13
2023-11-03Merge tag 'char-misc-6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2023-11-01Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-425/+6
2023-10-27cdx: Create symbol namespaces for cdx subsystemAbhijit Gangurde1-0/+1
2023-10-24iommufd/iova_bitmap: Move symbols to IOMMUFD namespaceJoao Martins3-0/+3
2023-10-24vfio: Move iova_bitmap into iommufdJoao Martins4-428/+3
2023-10-24vfio/iova_bitmap: Export more API symbolsJoao Martins1-0/+3
2023-10-09vfio: Fix smatch errors in vfio_combine_iova_ranges()Alex Williamson1-0/+10
2023-10-03vfio/cdx: Add parentheses between bitwise AND expression and logical NOTNathan Chancellor1-1/+1
2023-09-28vfio/mlx5: Activate the chunk mode functionalityYishai Hadas1-0/+3
2023-09-28vfio/mlx5: Add support for READING in chunk modeYishai Hadas1-6/+37
2023-09-28vfio/mlx5: Add support for SAVING in chunk modeYishai Hadas3-17/+122
2023-09-28vfio/mlx5: Pre-allocate chunks for the STOP_COPY phaseYishai Hadas3-65/+116
2023-09-28vfio/mlx5: Rename some stuff to match chunk modeYishai Hadas2-9/+10
2023-09-28vfio/mlx5: Enable querying state size which is > 4GBYishai Hadas3-8/+18
2023-09-28vfio/mlx5: Refactor the SAVE callback to activate a work only upon an errorYishai Hadas1-7/+13
2023-09-28vfio/mlx5: Wake up the reader post of disabling the SAVING migration fileYishai Hadas1-0/+1
2023-09-28vfio-cdx: add bus mastering device feature supportNipun Gupta2-1/+58
2023-09-22vfio/mdev: Fix a null-ptr-deref bug for mdev_unregister_parent()Jinjie Ruan1-1/+2
2023-09-18vfio/pds: Use proper PF device access helperShixiong Ou1-1/+1
2023-09-18vfio/pds: Add missing PCI_IOV dependsShixiong Ou1-1/+1
2023-08-30Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-5/+10
2023-08-30Merge tag 'vfio-v6.6-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds31-318/+3251
2023-08-22vfio/pds: Send type for SUSPEND_STATUS commandBrett Creeley1-2/+3
2023-08-21vfio/pds: fix return value in pds_vfio_get_lm_file()Yang Yingliang1-1/+1
2023-08-17vfio: align capability structuresStefan Hajnoczi3-18/+10
2023-08-16vfio/type1: fix cap_migration information leakStefan Hajnoczi1-1/+1
2023-08-16vfio/fsl-mc: Use module_fsl_mc_driver macro to simplify the codeLi Zetao1-13/+1
2023-08-16vfio/cdx: Remove redundant initialization owner in vfio_cdx_driverLi Zetao1-1/+0
2023-08-16vfio/pds: Add Kconfig and documentationBrett Creeley2-0/+21
2023-08-16vfio/pds: Add support for firmware recoveryBrett Creeley3-2/+131
2023-08-16vfio/pds: Add support for dirty page trackingBrett Creeley8-2/+754
2023-08-16vfio/pds: Add VFIO live migration supportBrett Creeley8-2/+956
2023-08-16vfio/pds: register with the pds_core PFBrett Creeley7-1/+103
2023-08-16vfio/pds: Initial support for pds VFIO driverBrett Creeley5-0/+172
2023-08-16vfio: Commonize combine_ranges for use in other VFIO driversBrett Creeley2-47/+48
2023-08-07net/mlx5: Allocate completion EQs dynamicallyMaher Sanalla1-1/+1
2023-08-07net/mlx5: Rename mlx5_comp_vectors_count() to mlx5_comp_vectors_max()Maher Sanalla1-1/+1
2023-07-28vfio: Support IO page table replacementNicolin Chen1-5/+6
2023-07-28vfio: Do not allow !ops->dma_unmap in vfio_pin/unpin_pages()Nicolin Chen1-0/+4
2023-07-25vfio: Compile vfio_group infrastructure optionallyYi Liu3-7/+99
2023-07-25vfio: Move the IOMMU_CAP_CACHE_COHERENCY check in __vfio_register_dev()Yi Liu2-10/+11
2023-07-25vfio: Add VFIO_DEVICE_[AT|DE]TACH_IOMMUFD_PTYi Liu3-1/+77
2023-07-25vfio: Add VFIO_DEVICE_BIND_IOMMUFDYi Liu3-0/+125
2023-07-25vfio: Avoid repeated user pointer cast in vfio_device_fops_unl_ioctl()Yi Liu1-1/+2
2023-07-25vfio: Test kvm pointer in _vfio_device_get_kvm_safe()Yi Liu3-10/+8
2023-07-25vfio: Add cdev for vfio_deviceYi Liu5-4/+147
2023-07-25vfio: Move device_del() before waiting for the last vfio_device registration ...Yi Liu1-3/+3
2023-07-25vfio: Move vfio_device_group_unregister() to be the first operation in unregi...Yi Liu1-2/+6
2023-07-25vfio-iommufd: Add detach_ioas support for emulated VFIO devicesYi Liu1-0/+13
2023-07-25vfio-iommufd: Add detach_ioas support for physical VFIO devicesYi Liu8-1/+29
2023-07-25vfio: Record devid in vfio_device_fileYi Liu3-13/+15
2023-07-25vfio-iommufd: Split bind/attach into two stepsYi Liu3-22/+39
2023-07-25vfio-iommufd: Move noiommu compat validation out of vfio_iommufd_bind()Yi Liu3-14/+30
2023-07-25vfio: Make vfio_df_open() single open for device cdev pathYi Liu3-0/+10
2023-07-25vfio: Add cdev_device_open_cnt to vfio_groupYi Liu2-0/+36
2023-07-25vfio: Block device access via device fd until device is openedYi Liu3-1/+27
2023-07-25vfio: Pass struct vfio_device_file * to vfio_device_open/close()Yi Liu3-20/+33
2023-07-25vfio: Accept vfio device file in the KVM facing kAPIYi Liu2-1/+38
2023-07-25vfio: Refine vfio file kAPIs for KVMYi Liu3-36/+69
2023-07-25vfio: Allocate per device file structureYi Liu3-7/+43
2023-07-25vfio/pci: Allow passing zero-length fd array in VFIO_DEVICE_PCI_HOT_RESETYi Liu1-11/+50
2023-07-25vfio/pci: Copy hot-reset device info to userspace in the devices loopYi Liu1-60/+33
2023-07-25vfio/pci: Extend VFIO_DEVICE_GET_PCI_HOT_RESET_INFO for vfio device cdevYi Liu2-7/+91
2023-07-25vfio: Add helper to search vfio_device in a dev_setYi Liu2-5/+16
2023-07-25vfio/pci: Move the existing hot reset logic to be a helperYi Liu1-23/+32
2023-07-25vfio/pci: Update comment around group_fd get in vfio_pci_ioctl_pci_hot_reset()Yi Liu1-3/+2
2023-06-30Merge tag 'vfio-v6.5-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds17-131/+593
2023-06-29Merge tag 'soc-drivers-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+1
2023-06-27vfio/mdev: Move the compat_class initialization to module initEric Farman1-9/+14
2023-06-19mm: ptep_get() conversionRyan Roberts1-2/+5
2023-06-16vfio/cdx: add support for CDX busNipun Gupta6-0/+289
2023-06-16vfio/fsl: Create Kconfig sub-menuAlex Williamson1-1/+5
2023-06-16vfio/platform: Cleanup KconfigAlex Williamson4-11/+20
2023-06-16vfio/pci: Cleanup KconfigAlex Williamson4-6/+10
2023-06-16vfio/pci-core: Add capability for AtomicOp completer supportAlex Williamson1-0/+38
2023-06-09mm/gup: remove unused vmas parameter from pin_user_pages_remote()Lorenzo Stoakes1-1/+1
2023-05-30bus: fsl-mc: Make remove function return voidUwe Kleine-König1-2/+1
2023-05-26vfio/pci: Also demote hiding standard cap messagesAlex Williamson1-2/+2
2023-05-23vfio/pci: Clear VFIO_IRQ_INFO_NORESIZE for MSI-XReinette Chatre1-1/+1
2023-05-23vfio/pci: Support dynamic MSI-XReinette Chatre1-6/+41
2023-05-23vfio/pci: Probe and store ability to support dynamic MSI-XReinette Chatre1-1/+4
2023-05-23vfio/pci: Update stale commentReinette Chatre1-5/+3
2023-05-23vfio/pci: Remove interrupt context counterReinette Chatre1-12/+1
2023-05-23vfio/pci: Use xarray for interrupt context storageReinette Chatre2-45/+47
2023-05-23vfio/pci: Move to single error pathReinette Chatre1-7/+10
2023-05-23vfio/pci: Prepare for dynamic interrupt context storageReinette Chatre1-66/+149
2023-05-23vfio/pci: Remove negative check on unsigned vectorReinette Chatre1-7/+8
2023-05-23vfio/pci: Consolidate irq cleanup on MSI/MSI-X disableReinette Chatre1-2/+1
2023-05-23vfio/pci: demote hiding ecap messages to debug levelOleksandr Natalenko1-2/+2
2023-05-23vfio/type1: check pfn valid before converting to struct pageYan Zhao1-0/+5
2023-05-02Merge tag 'vfio-v6.4-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds1-0/+7
2023-04-28Merge tag 'powerpc-6.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-83/+13
2023-04-28Merge tag 'x86_mm_for_6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-1/+1
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds2-2/+2
2023-04-14vfio/pci: Add DVSEC PCI Extended Config Capability to user visible list.K V P, Satyanarayana1-0/+7
2023-04-04Merge branch 'iommufd/for-rc' into for-nextJason Gunthorpe1-10/+4
2023-04-03Merge 6.3-rc5 into driver-core-nextGreg Kroah-Hartman1-10/+4
2023-03-31vfio: Check the presence for iommufd callbacks in __vfio_register_dev()Yi Liu2-5/+3
2023-03-31vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample driversYi Liu1-8/+6
2023-03-31vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access IDYi Liu1-1/+1
2023-03-31vfio-iommufd: No need to record iommufd_ctx in vfio_deviceYi Liu1-7/+1
2023-03-31iommufd: Create access in vfio_iommufd_emulated_bind()Nicolin Chen1-7/+17
2023-03-17driver core: class: remove module * from class_create()Greg Kroah-Hartman2-2/+2
2023-03-16mm: Introduce untagged_addr_remote()Kirill A. Shutemov1-1/+1
2023-03-15powerpc/iommu: Add iommu_ops to report capabilities and allow blocking domainsAlexey Kardashevskiy1-8/+0
2023-03-14powerpc/iommu: Add "borrowing" iommu_table_group_opsAlexey Kardashevskiy1-78/+16
2023-03-13vfio/mlx5: Fix the report of dirty_bytes upon pre-copyYishai Hadas1-10/+4
2023-02-25Merge tag 'vfio-v6.3-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds21-271/+562
2023-02-24Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-25/+41
2023-02-24Merge tag 'iommu-updates-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+5
2023-02-23Merge tag 'mm-stable-2023-02-20-13-37' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-02-22vfio: Fix NULL pointer dereference caused by uninitialized group->iommufdYan Zhao1-1/+1
2023-02-21Merge tag 'v6.2' into iommufd.git for-nextJason Gunthorpe1-11/+20
2023-02-18Merge branches 'apple/dart', 'arm/exynos', 'arm/renesas', 'arm/smmu', 'x86/vt...Joerg Roedel1-4/+5
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-09vfio/mlx5: Fix range size calculation upon tracker creationYishai Hadas1-2/+2
2023-02-09vfio: no need to pass kvm pointer during device openMatthew Rosato3-7/+5
2023-02-09vfio: fix deadlock between group lock and kvm lockMatthew Rosato3-14/+108
2023-02-09vfio: revert "iommu driver notify callback"Steve Sistare2-12/+0
2023-02-09vfio/type1: revert "implement notify callback"Steve Sistare1-15/+0
2023-02-09vfio/type1: revert "block on invalid vaddr"Steve Sistare1-89/+5
2023-02-09vfio/type1: restore locked_vmSteve Sistare1-0/+35
2023-02-09vfio/type1: track locked_vm per dmaSteve Sistare1-6/+17
2023-02-09vfio/type1: prevent underflow of locked_vm via exec()Steve Sistare1-27/+14
2023-02-09vfio/type1: exclude mdevs from VFIO_UPDATE_VADDRSteve Sistare1-2/+42
2023-02-03Merge branch 'vfio-no-iommu' into iommufd.git for-nextJason Gunthorpe6-12/+38
2023-02-03vfio: Support VFIO_NOIOMMU with iommufdJason Gunthorpe6-12/+38
2023-02-01vfio: platform: ignore missing reset if disabled at module initTomasz Duszynski1-2/+5
2023-01-30vfio/mlx5: Improve the target side flow to reduce downtimeYishai Hadas2-12/+105
2023-01-30vfio/mlx5: Improve the source side flow upon pre_copyYishai Hadas3-34/+151
2023-01-30vfio/mlx5: Check whether VF is migratableShay Drory2-0/+28
2023-01-30vfio/mdev: Use sysfs_emit() to instead of sprintf()Bo Liu1-1/+1
2023-01-30Merge branch 'iommu-memory-accounting' of ssh://gitolite.kernel.org/pub/scm/l...Jason Gunthorpe1-4/+5
2023-01-25iommu: Add a gfp parameter to iommu_map()Jason Gunthorpe1-4/+5
2023-01-23vfio/platform: Use GFP_KERNEL_ACCOUNT for userspace persistent allocationsYishai Hadas2-5/+5
2023-01-23vfio/fsl-mc: Use GFP_KERNEL_ACCOUNT for userspace persistent allocationsYishai Hadas2-3/+3
2023-01-23vfio/hisi: Use GFP_KERNEL_ACCOUNT for userspace persistent allocationsYishai Hadas1-2/+2
2023-01-23vfio: Use GFP_KERNEL_ACCOUNT for userspace persistent allocationsJason Gunthorpe7-14/+17
2023-01-23vfio/mlx5: Allow loading of larger images than 512 MBYishai Hadas2-14/+16
2023-01-23vfio/mlx5: Fix UBSAN noteYishai Hadas1-3/+3
2023-01-23vfio-mdev: turn VFIO_MDEV into a selectable symbolChristoph Hellwig1-7/+1
2023-01-23vfio: platform: No need to check res againAngus Chen1-3/+0
2023-01-11vfio/type1: Convert to iommu_group_has_isolated_msi()Jason Gunthorpe1-13/+3
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