aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/iov.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-15PCI: Use resource names in PCI log messagesPuranjay Mohan1-2/+5
2023-08-07PCI/IOV: Use pci_dev_id() to simplify the codeXiongfeng Wang1-2/+1
2023-01-18PCI/IOV: Enlarge virtfn sysfs name bufferAlexey V. Vissarionov1-1/+1
2022-03-07PCI/IOV: Fix wrong kernel-doc identifierLeon Romanovsky1-2/+2
2022-02-27PCI/IOV: Add pci_iov_get_pf_drvdata() to allow VF reaching the drvdata of a PFJason Gunthorpe1-0/+29
2022-02-27PCI/IOV: Add pci_iov_vf_id() to get VF indexJason Gunthorpe1-0/+14
2021-11-11Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"Bjorn Helgaas1-15/+9
2021-11-05Merge branch 'pci/sysfs'Bjorn Helgaas1-8/+6
2021-10-18PCI: Use to_pci_driver() instead of pci_dev->driverUwe Kleine-König1-9/+15
2021-09-28PCI/sysfs: Return -EINVAL consistently from "store" functionsKrzysztof Wilczyński1-8/+6
2021-07-06Merge branch 'pci/virtualization'Bjorn Helgaas1-2/+9
2021-06-10PCI/IOV: Clarify error message for unbound devicesMoritz Fischer1-2/+9
2021-06-03PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functionsKrzysztof Wilczyński1-6/+6
2021-04-04PCI/IOV: Add sysfs MSI-X vector assignment interfaceLeon Romanovsky1-6/+96
2020-09-21PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORYMatthew Rosato1-0/+1
2020-05-20s390/pci: create links between PFs and VFsNiklas Schnelle1-3/+0
2020-05-20PCI/IOV: Introduce pci_iov_sysfs_link() functionNiklas Schnelle1-11/+25
2019-12-09PCI/IOV: Fix memory leak in pci_iov_add_virtfn()Navid Emamdoost1-5/+4
2019-11-28Merge branch 'pci/trivial'Bjorn Helgaas1-1/+0
2019-10-17PCI: Remove unnecessary includesBjorn Helgaas1-1/+0
2019-10-15PCI/IOV: Serialize sysfs sriov_numvfs reads vs writesPierre Crégut1-1/+7
2019-09-23Merge branch 'pci/resource'Bjorn Helgaas1-2/+2
2019-09-05PCI/IOV: Remove group write permission from sriov_numvfs, sriov_drivers_autop...Kelsey Skunberg1-3/+2
2019-08-20PCI/IOV: Move sysfs SR-IOV functions to iov.cKelsey Skunberg1-0/+168
2019-08-08PCI: Use PCI_SRIOV_NUM_BARS in loops instead of PCI_IOV_RESOURCE_ENDDenis Efremov1-2/+2
2019-07-03Revert "PCI/IOV: Use VF0 cached config space size for other VFs"Alex Williamson1-2/+0
2019-01-01PCI/IOV: Add flag so platforms can skip VF scanningSebastian Ott1-0/+6
2019-01-01PCI/IOV: Factor out sriov_add_vfs()Sebastian Ott1-13/+31
2018-10-11PCI/IOV: Remove unnecessary include of <linux/pci-ats.h>Bjorn Helgaas1-1/+0
2018-10-11PCI/IOV: Use VF0 cached config space size for other VFsKarimAllah Ahmed1-0/+2
2018-08-15Merge branch 'pci/virtualization'Bjorn Helgaas1-2/+2
2018-07-19PCI/IOV: Tidy pci_sriov_set_totalvfs()Bjorn Helgaas1-2/+2
2018-06-29PCI/IOV: Reset total_VFs limit after detaching PF driverJakub Kicinski1-0/+16
2018-05-25PCI/IOV: Allow PF drivers to limit total_VFs to 0Jakub Kicinski1-4/+2
2018-04-24PCI/IOV: Add pci_sriov_configure_simple()Alexander Duyck1-0/+36
2018-04-04Merge branch 'pci/virtualization'Bjorn Helgaas1-7/+35
2018-03-31PCI/IOV: Use VF0 cached config registers for other VFsKarimAllah Ahmed1-7/+35
2018-03-19PCI: Tidy commentsBjorn Helgaas1-5/+3
2018-02-06Merge tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+6
2018-02-01Merge branch 'pci/spdx' into nextBjorn Helgaas1-0/+1
2018-01-26PCI: Add SPDX GPL-2.0 when no license was specifiedBjorn Helgaas1-0/+1
2018-01-18PCI: Add wrappers for dev_printk()Frederick Lawler1-5/+5
2017-12-11PCI/IOV: Add pci_vf_drivers_autoprobe() interfaceBryant G. Ly1-0/+11
2017-10-10PCI: Restore ARI Capable Hierarchy before setting numVFsTony Nguyen1-0/+8
2017-10-10PCI: Create SR-IOV virtfn/physfn links before attaching driverStuart Hayes1-1/+2
2017-10-05PCI: Cache the VF device ID in the SR-IOV structureFilippo Sironi1-2/+3
2017-10-05PCI: Remove reset argument from pci_iov_{add,remove}_virtfn()Jan H. Schönherr1-13/+5
2017-08-29PCI: Disable VF decoding before pcibios_sriov_disable() updates resourcesGavin Shan1-3/+4
2017-06-14PCI: Protect pci_driver->sriov_configure() usage with device_lock()Jakub Kicinski1-4/+0
2017-04-20PCI: Add sysfs sriov_drivers_autoprobe to control VF driver bindingBodong Wang1-0/+1
2017-02-03PCI: Lock each enable/disable num_vfs operation in sysfsEmil Tantilov1-7/+0
2016-11-29PCI: Remove pci_resource_bar() and pci_iov_resource_bar()Bjorn Helgaas1-18/+0
2016-11-29PCI: Don't update VF BARs while VF memory space is enabledBjorn Helgaas1-0/+8
2016-11-29PCI: Separate VF BAR updates from standard BAR updatesBjorn Helgaas1-0/+50
2016-11-23PCI: Do any VF BAR updates before enabling the BARsGavin Shan1-7/+7
2016-09-12PCI: Check for pci_setup_device() failure in pci_iov_add_virtfn()Po Liu1-1/+4
2016-03-19Merge tag 'powerpc-4.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-5/+5
2016-03-09PCI/IOV: Rename and export virtfn_{add, remove}Wei Yang1-5/+5
2016-02-29PCI: Support SR-IOV on any function typeKelly Zytaruk1-4/+0
2015-11-02Merge branches 'pci/aer', 'pci/hotplug', 'pci/misc', 'pci/msi', 'pci/resource...Bjorn Helgaas1-49/+52
2015-10-30PCI: Fix sriov_enable() error path for pcibios_enable_sriov() failuresAlexander Duyck1-5/+6
2015-10-30PCI: Wait 1 second between disabling VFs and clearing NumVFsAlexander Duyck1-1/+1
2015-10-30PCI: Reorder pcibios_sriov_disable()Alexander Duyck1-6/+6
2015-10-30PCI: Remove VFs in reverse order if virtfn_add() failsAlexander Duyck1-3/+3
2015-10-29PCI: Handle Enhanced Allocation capability for SR-IOV devicesDavid Daney1-2/+9
2015-10-29PCI: Remove redundant validation of SR-IOV offset/stride registersAlexander Duyck1-9/+1
2015-10-29PCI: Set SR-IOV NumVFs to zero after enumerationAlexander Duyck1-19/+22
2015-10-29PCI: Enable SR-IOV ARI Capable Hierarchy before reading TotalVFsBen Shelton1-4/+4
2015-03-31PCI: Add pcibios_iov_resource_alignment() interfaceWei Yang1-1/+7
2015-03-31PCI: Add pcibios_sriov_enable() and pcibios_sriov_disable()Wei Yang1-0/+19
2015-03-31PCI: Export pci_iov_virtfn_bus() and pci_iov_virtfn_devfn()Wei Yang1-12/+16
2015-03-31PCI: Calculate maximum number of buses required for VFsWei Yang1-4/+27
2015-03-31PCI: Refresh First VF Offset and VF Stride when updating NumVFsWei Yang1-4/+19
2015-03-31PCI: Index IOV resources in the conventional styleBjorn Helgaas1-4/+4
2015-03-31PCI: Keep individual VF BAR size in struct pci_sriovWei Yang1-19/+20
2015-03-31PCI: Print PF SR-IOV resource that contains all VF(n) BAR spaceWei Yang1-0/+2
2015-03-31PCI: Print more info in sriov_enable() error messageBjorn Helgaas1-2/+5
2014-11-19PCI: Remove fixed parameter in pci_iov_resource_bar()Myron Stowe1-8/+3
2014-09-16PCI: Use device flag helper functionsEthan Zhao1-1/+1
2014-05-30PCI: Make pci_bus_add_device() voidYijing Wang1-1/+1
2014-02-19PCI: Remove unused SR-IOV VF Migration supportBjorn Helgaas1-119/+0
2014-01-10PCI: Never treat a VF as a multifunction deviceAlex Williamson1-0/+1
2013-11-22PCI: Clear NumVFs when disabling SR-IOV in sriov_init()ethan.zhao1-0/+1
2013-11-14PCI: Fix whitespace, capitalization, and spelling errorsBjorn Helgaas1-1/+1
2013-07-31PCI: Return -ENOSYS for SR-IOV operations on non-SR-IOV devicesStefan Assmann1-7/+10
2013-07-30PCI: Update NumVFs register when disabling SR-IOVYijing Wang1-1/+3
2013-07-25PCI: Fix comment typo in iov.cJonghwan Choi1-1/+1
2013-06-14Merge branch 'pci/jiang-bus-lock-v3' into nextBjorn Helgaas1-35/+25
2013-06-14PCI: Simplify IOV implementation and fix reference count racesJiang Liu1-35/+24
2013-06-14PCI: Drop redundant setting of bus->is_added in virtfn_add_bus()Jiang Liu1-1/+0
2013-06-05PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus)Gu Zheng1-3/+5
2013-05-31PCI: Finish SR-IOV VF setup before adding the deviceXudong Hao1-3/+2
2013-04-24pci: Add SRIOV helper function to determine if VFs are assigned to guestAlexander Duyck1-0/+41
2013-02-25Merge tag 'pci-v3.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-9/+1
2013-02-01PCI: Remove unused "rc" in virtfn_add_bus()Yijing Wang1-1/+0
2013-01-25PCI: Put pci_dev in device tree as early as possibleYinghai Lu1-8/+1
2013-01-10pci: fix iov.c kernel-doc warningsRandy Dunlap1-1/+1
2012-11-09PCI: Remove useless "!dev" testsBjorn Helgaas1-7/+7
2012-11-09PCI: Use spec names for SR-IOV capability fieldsBjorn Helgaas1-24/+24
2012-11-09PCI: Provide method to reduce the number of total VFs supportedDonald Dutile1-0/+47
2012-09-20Revert "PCI: Use hotplug-safe pci_get_domain_bus_and_slot()"Bjorn Helgaas1-2/+6
2012-09-17Merge branch 'pci/jiang-get-domain-bus-slot' into nextBjorn Helgaas1-6/+2
2012-09-12PCI: Use hotplug-safe pci_get_domain_bus_and_slot()Jiang Liu1-6/+2
2012-08-23PCI: Introduce pci_pcie_type(dev) to replace pci_dev->pcie_typeYijing Wang1-3/+3
2012-06-13PCI: register busn_res for iov busYinghai Lu1-1/+1
2012-06-13PCI: replace struct pci_bus secondary/subordinate with busn_resYinghai Lu1-2/+2
2012-02-27PCI: Rename pci_remove_bus_device to pci_stop_and_remove_bus_deviceYinghai Lu1-2/+2
2012-02-17PCI: Fix /sys warning when sriov enabled and card is hot removedYinghai Lu1-1/+7
2012-02-10PCI: set pci sriov page size before reading SRIOV BARVaidyanathan Srinivasan1-2/+1
2012-01-06PCI: delay configuration of SRIOV capabilityRam Pai1-2/+2
2012-01-06PCI: Rework config space blocking servicesJan Kiszka1-6/+6
2011-12-05PCI: defer enablement of SRIOV BARSRam Pai1-0/+7
2011-10-31pci: Fix files needing export.h for EXPORT_SYMBOL/THIS_MODULEPaul Gortmaker1-0/+1
2011-10-14PCI: Move ATS implementation into own fileJoerg Roedel1-142/+0
2011-04-11PCI: Move ATS declarations in seperate header fileJoerg Roedel1-0/+1
2010-09-09PCI: fix pci_resource_alignment prototypeCam Macdonell1-1/+1
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-02-12pci: Add SR-IOV convenience functions and macrosWilliams, Mitch A1-0/+15
2009-11-24PCI: use pci_is_pcie() in pci coreKenji Kaneshige1-1/+1
2009-08-30PCI SR-IOV: correct broken resource alignment calculationsChris Wright1-0/+23
2009-06-22Merge git://git.infradead.org/~dwmw2/iommu-2.6.31Linus Torvalds1-6/+149
2009-06-16PCI: cleanup Function Level ResetYu Zhao1-2/+2
2009-06-11PCI: fix SR-IOV function dependency link problemYu Zhao1-0/+2
2009-05-18PCI: handle Virtual Function ATS enablingYu Zhao1-14/+52
2009-05-18PCI: support the ATS capabilityYu Zhao1-0/+105
2009-04-06PCI-IOV: fix missing kernel-docRandy Dunlap1-0/+1
2009-03-20PCI: handle SR-IOV Virtual Function MigrationYu Zhao1-0/+119
2009-03-20PCI: add SR-IOV API for Physical Function driverYu Zhao1-0/+314
2009-03-20PCI: reserve bus range for SR-IOV deviceYu Zhao1-0/+36
2009-03-20PCI: restore saved SR-IOV stateYu Zhao1-0/+29
2009-03-20PCI: initialize and release SR-IOV capabilityYu Zhao1-0/+182