aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio.c
AgeCommit message (Expand)AuthorFilesLines
2022-08-08vfio: Move vfio.c to vfio_main.cJason Gunthorpe1-2135/+0
2022-08-06Merge tag 'vfio-v6.0-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds1-129/+63
2022-08-03Merge tag 'pull-work.lseek' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-07-25vfio: Replace phys_pfn with pages for vfio_pin_pages()Nicolin Chen1-4/+4
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 Chen1-15/+12
2022-07-23vfio: Make vfio_unpin_pages() return voidNicolin Chen1-14/+7
2022-07-20vfio: Replace the iommu notifier with a device listJason Gunthorpe1-31/+10
2022-07-20vfio: Replace the DMA unmapping notifier with a callbackJason Gunthorpe1-85/+44
2022-07-16vfio: do not set FMODE_LSEEK flagJason A. Donenfeld1-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 Williamson1-6/+13
2022-06-30vfio: Move "device->open_count--" out of group_rwsem in vfio_device_open()Yi Liu1-1/+1
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 Hadas1-6/+5
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-01Merge tag 'vfio-v5.19-rc1' of https://github.com/awilliam/linux-vfioLinus Torvalds1-511/+270
2022-05-24vfio: remove VFIO_GROUP_NOTIFY_SET_KVMMatthew Rosato1-54/+29
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 Roedel1-230/+22
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 Gunthorpe1-52/+18
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 Williamson1-230/+15
2022-05-11vfio/pci: Remove vfio_device_get_from_dev()Jason Gunthorpe1-40/+1
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
2022-05-11vfio/mdev: Pass in a struct vfio_device * to vfio_pin/unpin_pages()Jason Gunthorpe1-30/+16
2022-05-11vfio: Make vfio_(un)register_notifier accept a vfio_deviceJason Gunthorpe1-19/+9
2022-05-11vfio: Stop using iommu_present()Robin Murphy1-3/+3
2022-04-28vfio: Require that devices support DMA cache coherenceJason Gunthorpe1-0/+7
2022-04-28vfio: Remove iommu group notifierLu Baolu1-147/+0
2022-04-28vfio: Delete the unbound_listJason Gunthorpe1-72/+2
2022-04-28vfio: Remove use of vfio_group_viable()Lu Baolu1-12/+6
2022-04-28vfio: Set DMA ownership for VFIO devicesLu Baolu1-1/+9
2022-03-03vfio: Extend the device migration protocol with RUNNING_P2PJason Gunthorpe1-18/+69
2022-03-03vfio: Define device migration protocol v2Jason Gunthorpe1-0/+199
2022-03-03vfio: Have the core code decode the VFIO_DEVICE_FEATURE ioctlJason Gunthorpe1-4/+42
2021-11-30vfio: remove all kernel-doc notationRandy Dunlap1-14/+14
2021-10-15vfio: Use cdev_device_add() instead of device_create()Jason Gunthorpe1-101/+92
2021-10-15vfio: Use a refcount_t instead of a kref in the vfio_groupJason Gunthorpe1-12/+9
2021-10-15vfio: Don't leak a group reference if the group already existsJason Gunthorpe1-14/+8
2021-10-15vfio: Do not open code the group list search in vfio_create_group()Jason Gunthorpe1-25/+30
2021-10-15vfio: Delete vfio_get/put_group from vfio_iommu_group_notifier()Jason Gunthorpe1-85/+15
2021-09-30vfio: clean up the check for mediated device in vfio_iommu_type1Christoph Hellwig1-27/+5
2021-09-30vfio: move the vfio_iommu_driver_ops interface out of <linux/vfio.h>Christoph Hellwig1-0/+1
2021-09-30vfio: remove unused method from vfio_iommu_driver_opsChristoph Hellwig1-50/+0
2021-09-30vfio: simplify iommu group allocation for mediated devicesChristoph Hellwig1-26/+66
2021-09-30vfio: remove the iommudata hack for noiommu groupsChristoph Hellwig1-13/+8
2021-09-30vfio: refactor noiommu group creationChristoph Hellwig1-52/+52
2021-09-30vfio: factor out a vfio_group_find_or_alloc helperChristoph Hellwig1-25/+35
2021-09-30vfio: remove the iommudata check in vfio_noiommu_attach_groupChristoph Hellwig1-1/+1
2021-09-30vfio: factor out a vfio_iommu_driver_allowed helperChristoph Hellwig1-14/+19
2021-09-30vfio: Move vfio_iommu_group_get() to vfio_register_group_dev()Jason Gunthorpe1-22/+14
2021-08-11vfio: Remove struct vfio_device_ops open/releaseJason Gunthorpe1-13/+1
2021-08-11vfio: Provide better generic support for open/release vfio_device_opsJason Gunthorpe1-22/+127
2021-08-11vfio: Introduce a vfio_uninit_group_dev() API callMax Gurtovoy1-0/+5
2021-06-15vfio: centralize module refcount in subsystem layerMax Gurtovoy1-0/+10
2021-04-06vfio: Remove device_data from the vfio bus driver APIJason Gunthorpe1-11/+1
2021-04-06vfio: Make vfio_device_ops pass a 'struct vfio_device *' instead of 'void *'Jason Gunthorpe1-10/+10
2021-04-06vfio/mdev: Use vfio_init/register/unregister_group_devJason Gunthorpe1-37/+2
2021-04-06vfio: Split creation of a vfio_device into init and register opsJason Gunthorpe1-60/+65
2021-04-06vfio: Simplify the lifetime logic for vfio_deviceJason Gunthorpe1-54/+25
2021-04-06vfio: Remove extra put/gets around vfio_device->groupJason Gunthorpe1-19/+2
2021-02-01vfio: iommu driver notify callbackSteve Sistare1-0/+5
2020-12-10vfio/type1: Add vfio_group_iommu_domain()Lu Baolu1-0/+18
2020-09-22vfio: fix a missed vfio group put in vfio_pin_pagesYan Zhao1-2/+4
2020-09-21vfio: add a singleton check for vfio_group_pin_pagesYan Zhao1-0/+3
2020-07-27vfio: Cleanup allowed driver namingAlex Williamson1-6/+7
2020-05-28vfio: Selective dirty page tracking if IOMMU backed device pins pagesKirti Wankhede1-3/+10
2020-03-24Merge branches 'v5.7/vfio/alex-sriov-v3' and 'v5.7/vfio/yan-dma-rw-v4' into v...Alex Williamson1-4/+194
2020-03-24vfio: Include optional device match in vfio_device_ops callbacksAlex Williamson1-4/+16
2020-03-24vfio: avoid inefficient operations on VFIO group in vfio_pin/unpin_pagesYan Zhao1-0/+91
2020-03-24vfio: introduce vfio_dma_rw to read/write a range of IOVAsYan Zhao1-0/+49
2020-03-24vfio: allow external user to get vfio group from deviceYan Zhao1-0/+38
2019-10-23compat_ioctl: move drivers to compat_ptr_ioctlArnd Bergmann1-36/+3
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-4/+1
2019-04-23vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"Farhan Ali1-20/+10
2019-04-22vfio: Use dev_printk() when possibleBjorn Helgaas1-16/+13
2019-02-12vfio: expand minor range when registering chrdev regionChengguang Xu1-4/+4
2018-06-08vfio: use match_string() helperYisheng Xie1-8/+3
2017-12-20vfio: Simplify capability helperAlex Williamson1-48/+4
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-08-30vfio: Stall vfio_del_group_dev() for container group detachAlex Williamson1-0/+20
2017-08-30vfio: fix noiommu vfio_iommu_group_get reference countEric Auger1-2/+3
2017-07-07vfio: Remove unnecessary uses of vfio_container.group_lockAlex Williamson1-38/+0
2017-06-28vfio: New external user group/file matchAlex Williamson1-0/+9
2017-06-28vfio: Fix group release deadlockAlex Williamson1-1/+36
2017-06-13vfio: Use ERR_CAST() instead of open coding itDan Carpenter1-1/+1
2017-03-21vfio: Rework group release notifier warningAlex Williamson1-3/+5
2017-02-22vfio: fix a typo in comment of function vfio_pin_pagesChangbin Du1-1/+1
2017-02-09vfio: Replace module request with softdepAlex Williamson1-8/+1
2016-12-01vfio: support notifier chain in vfio_groupJike Song1-0/+82
2016-12-01vfio: vfio_register_notifier: classify iommu notifierJike Song1-25/+59
2016-12-01vfio: Fix handling of error returned by 'vfio_group_get_from_dev()'Christophe JAILLET1-8/+8
2016-11-21vfio: fix vfio_info_cap_add/shiftEric Auger1-2/+3
2016-11-17vfio: Introduce vfio_set_irqs_validate_and_prepare()Kirti Wankhede1-0/+48
2016-11-17vfio: Introduce common function to add capabilitiesKirti Wankhede1-1/+59
2016-11-17vfio iommu: Add blocking notifier to notify DMA_UNMAPKirti Wankhede1-0/+73
2016-11-17vfio iommu: Added pin and unpin callback functions to vfio_iommu_driver_opsKirti Wankhede1-0/+102
2016-11-17vfio: Common function to increment container_usersKirti Wankhede1-13/+21
2016-11-17vfio: Rearrange functions to get vfio_group from devKirti Wankhede1-7/+16
2016-07-14vfio: fix possible use after free of vfio groupIlya Lesokhin1-1/+1
2016-02-22vfio: Add capability chain helpersAlex Williamson1-0/+54
2016-02-22vfio: If an IOMMU backend fails, keep lookingAlex Williamson1-10/+6
2016-01-27vfio/noiommu: Don't use iommu_present() to track fake groupsAlex Williamson1-14/+10
2015-12-21vfio: Include No-IOMMU modeAlex Williamson1-3/+181
2015-12-04Revert: "vfio: Include No-IOMMU mode"Alex Williamson1-180/+6
2015-11-21vfio: fix a warning messageDan Carpenter1-1/+1
2015-11-04vfio: Include No-IOMMU modeAlex Williamson1-6/+180
2015-11-04vfio: Fix bug in vfio_device_get_from_name()Joerg Roedel1-3/+4
2015-10-27vfio: Whitelist PCI bridgesAlex Williamson1-6/+25
2015-07-24vfio: Fix lockdep issueAlex Williamson1-37/+54
2015-06-09vfio/pci: Fix racy vfio_device_get_from_dev() callAlex Williamson1-8/+19
2015-05-01vfio: Fix runaway interruptible timeoutAlex Williamson1-3/+18
2015-03-17vfio: Split virqfd into a separate module for vfio bus driversAlex Williamson1-8/+0
2015-03-16vfio: put off the allocation of "minor" in vfio_create_groupZhen Lei1-7/+6
2015-03-16vfio: initialize the virqfd workqueue in VFIO generic codeAntonios Motakis1-0/+8
2015-02-10vfio: Add and use device request op for vfio bus driversAlex Williamson1-2/+22
2015-02-06vfio: Tie IOMMU group reference to vfio groupAlex Williamson1-8/+11
2015-02-06vfio: Add device tracking during unbindAlex Williamson1-5/+71
2014-05-27driver core: dev_set_drvdata can no longer failJean Delvare1-7/+1
2014-02-26vfio: Add external user check extension interfaceAlex Williamson1-0/+6
2013-12-19vfio: Convert control interface to misc driverAlex Williamson1-37/+33
2013-08-22vfio: Add O_CLOEXEC flag to vfio device fdAlex Williamson1-1/+1
2013-08-22vfio: use get_unused_fd_flags(0) instead of get_unused_fd()Yann Droneaud1-1/+1
2013-08-05vfio: add external user supportAlexey Kardashevskiy1-0/+62
2013-07-24vfio: Ignore sprurious notifiesAlex Williamson1-5/+3
2013-07-24vfio: Don't overreact to DEL_DEVICEAlex Williamson1-22/+7
2013-07-10Merge tag 'vfio-v3.11' of git://github.com/awilliam/linux-vfioLinus Torvalds1-0/+14
2013-06-25vfio: Limit group opensAlex Williamson1-0/+14
2013-06-20powerpc/vfio: Implement IOMMU driver for VFIOAlexey Kardashevskiy1-0/+1
2013-06-05vfio: fix crash on rmmodAlexey Kardashevskiy1-1/+1
2013-04-30vfio: Set container device modeAlex Williamson1-0/+4
2013-04-29vfio: Use down_reads to protect iommu disconnectsAlex Williamson1-16/+46
2013-04-25vfio: Convert container->group_lock to rwsemAlex Williamson1-10/+11
2013-03-11VFIO: Wrapper for getting reference to vfio_deviceVijay Mohan Pandarathil1-1/+29
2013-02-27vfio: convert to idr_alloc()Tejun Heo1-16/+1
2013-02-14vfio: whitelist pcieportAlex Williamson1-1/+1
2013-02-14vfio: Protect vfio_dev_present against device_delAlex Williamson1-21/+12
2012-12-07VFIO: use ACCESS_ONCE() to guard access to dev->driverJiang Liu1-1/+2
2012-12-07VFIO: unregister IOMMU notifier on error recovery pathJiang Liu1-16/+15
2012-09-26switch simple cases of fget_light to fdgetAl Viro1-9/+8
2012-09-26switch vfio_group_set_container() to fget_light()Al Viro1-4/+4
2012-08-22vfio: grab vfio_device reference *before* exposing the sucker via fd_install()Al Viro1-2/+2
2012-08-22vfio: get rid of vfio_device_put()/vfio_group_get_device* racesAl Viro1-2/+1
2012-08-22vfio: get rid of open-coding kref_put_mutexAl Viro1-7/+2
2012-08-22vfio: don't dereference after kfree...Al Viro1-1/+2
2012-07-31vfio: Type1 IOMMU implementationAlex Williamson1-0/+7
2012-07-31vfio: VFIO coreAlex Williamson1-0/+1413