aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-driver.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-12Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2024-03-12Merge branch 'pci/pm'Bjorn Helgaas1-4/+8
2024-03-05PCI/PM: Drain runtime-idle callbacks before driver removalRafael J. Wysocki1-0/+7
2024-02-29PCI/PM: Allow runtime PM with no PM callbacks at allRaag Jadav1-4/+1
2024-02-08PCI: Make pcie_port_bus_type constRicardo B. Marliere1-1/+1
2024-01-29PCI: Place interrupt related code into irq.cIlpo Järvinen1-9/+0
2023-09-29PCI/PM: Mark devices disconnected if upstream PCIe link is down on resumeMika Westerberg1-1/+13
2023-08-25PCI: Simplify pci_dev_driver()Bjorn Helgaas1-6/+7
2023-08-25PCI: Remove unnecessary initializationsBjorn Helgaas1-2/+2
2023-08-25PCI: Unexport pcie_port_bus_typeBjorn Helgaas1-1/+0
2023-04-11PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameterMika Westerberg1-2/+2
2023-04-11PCI/PM: Increase wait time after resumeMika Westerberg1-1/+2
2023-02-24Merge tag 'pci-v6.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2023-02-07PCI: Unify delay handling for reset and resumeLukas Wunner1-1/+1
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-2/+2
2022-10-26PCI/PM: Remove unused 'state' parameter to pci_legacy_suspend_late()Bjorn Helgaas1-4/+4
2022-09-12PCI/PM: Simplify pci_pm_suspend_noirq()Rajvi Jingar1-12/+7
2022-09-12PCI/PM: Always disable PTM for all devices during suspendBjorn Helgaas1-0/+11
2022-05-31Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+18
2022-05-05PCI/PM: Replace pci_set_power_state() in pci_pm_thaw_noirq()Rafael J. Wysocki1-2/+7
2022-05-05PCI/PM: Drop the runtime_d3cold device flagRafael J. Wysocki1-2/+0
2022-05-05PCI/PM: Resume subordinate bus in bus type callbacksRafael J. Wysocki1-2/+13
2022-05-05PCI/PM: Power up all devices during runtime resumeRafael J. Wysocki1-1/+1
2022-05-05PCI/PM: Define pci_restore_standard_config() only for CONFIG_PM_SLEEPKrzysztof Kozlowski1-6/+11
2022-04-28bus: platform,amba,fsl-mc,PCI: Add device DMA ownership managementLu Baolu1-0/+18
2022-03-22Merge tag 'sched-core-2022-03-22' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+16
2022-03-08PM: sleep: Add device name to suspend_report_result()Youngjin Jang1-7/+7
2022-02-16sched/isolation: Use single feature type while referring to housekeeping cpumaskFrederic Weisbecker1-2/+2
2022-02-16pci: Decouple HK_FLAG_WQ and HK_FLAG_DOMAIN cpumask fetchFrederic Weisbecker1-5/+16
2021-11-11Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"Bjorn Helgaas1-17/+16
2021-11-11Revert "PCI: Remove struct pci_dev->driver"Bjorn Helgaas1-0/+4
2021-11-05Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2021-11-05Merge branch 'pci/hotplug'Bjorn Helgaas1-1/+1
2021-10-18PCI: Remove struct pci_dev->driverUwe Kleine-König1-4/+0
2021-10-18PCI: Use to_pci_driver() instead of pci_dev->driverUwe Kleine-König1-16/+17
2021-10-16PCI/ERR: Reduce compile time for CONFIG_PCIEAER=nLukas Wunner1-1/+1
2021-10-12PCI: Drop pci_device_probe() test of !pci_dev->driverUwe Kleine-König1-1/+1
2021-10-12PCI: Drop pci_device_remove() test of pci_dev->driverUwe Kleine-König1-9/+7
2021-10-08PCI: Correct misspelled and remove duplicated wordsKrzysztof Wilczyński1-1/+1
2021-09-02Merge tag 'vfio-v5.15-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-7/+21
2021-08-26PCI: Add 'override_only' field to struct pci_device_idMax Gurtovoy1-7/+21
2021-07-21bus: Make remove callback return voidUwe Kleine-König1-2/+1
2021-05-19PCI: Add support for dev_groups to struct pci_driverAndrey Grodzovsky1-0/+1
2020-12-15Merge branch 'pci/misc'Bjorn Helgaas1-2/+2
2020-11-30PCI: Fix kernel-doc markupMauro Carvalho Chehab1-2/+2
2020-11-20PCI: Avoid duplicate IDs in driver dynamic IDs listZhenzhong Duan1-1/+1
2020-11-20PCI: Move pci_match_device() ahead of new_id_store()Zhenzhong Duan1-72/+73
2020-10-22Merge tag 'pci-v5.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-26/+0
2020-10-06dma-mapping: move dma-debug.h to kernel/dma/Christoph Hellwig1-0/+1
2020-09-29PCI/PM: Remove unused pcibios_pm_opsVaibhav Gupta1-26/+0
2020-07-08PCI: Restrict probe functions to housekeeping CPUsAlex Belits1-1/+4
2020-04-24PM: sleep: core: Rename dev_pm_smart_suspend_and_suspended()Rafael J. Wysocki1-4/+4
2020-04-24PM: sleep: core: Rename dev_pm_may_skip_resume()Rafael J. Wysocki1-2/+2
2020-04-24PM: sleep: core: Rework the power.may_skip_resume handlingRafael J. Wysocki1-5/+3
2020-04-24PM: sleep: core: Do not skip callbacks in the resume phaseRafael J. Wysocki1-8/+10
2019-11-20PCI/PM: Add missing link delays required by the PCIe specMika Westerberg1-1/+10
2019-11-20PCI/PM: Move power state update away from pci_power_up()Rafael J. Wysocki1-0/+1
2019-11-20PCI/PM: Remove unused pci_driver.suspend_late() hookBjorn Helgaas1-21/+1
2019-11-20PCI/PM: Remove unused pci_driver.resume_early() hookBjorn Helgaas1-17/+6
2019-11-20PCI/PM: Use pci_WARN() to include device informationBjorn Helgaas1-17/+17
2019-11-20PCI/PM: Use PCI dev_printk() wrappers for consistencyBjorn Helgaas1-5/+6
2019-11-20PCI/PM: Make power management op coding style consistentBjorn Helgaas1-40/+36
2019-11-20PCI/PM: Run resume fixups before disabling wakeup eventsBjorn Helgaas1-9/+7
2019-11-20PCI/PM: Clear PCIe PME Status even for legacy power managementBjorn Helgaas1-2/+1
2019-11-20PCI/PM: Always return devices to D0 when thawingDexuan Cui1-6/+11
2019-07-15Merge tag 'pci-v5.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+9
2019-07-08Merge branch 'pm-sleep'Rafael J. Wysocki1-35/+8
2019-07-03PCI: PM: Simplify bus-level hibernation callbacksRafael J. Wysocki1-27/+0
2019-07-03PM: ACPI/PCI: Resume all devices during hibernationRafael J. Wysocki1-8/+8
2019-06-30Merge back PCI power management material for v5.3.Rafael J. Wysocki1-5/+26
2019-06-27PCI: PM/ACPI: Refresh all stale power state data in pci_pm_complete()Rafael J. Wysocki1-1/+8
2019-06-26PCI: PM: Avoid skipping bus-level PM on platforms without ACPIRafael J. Wysocki1-4/+4
2019-06-24Merge back PCI power management material for v5.3.Rafael J. Wysocki1-4/+18
2019-06-17PCI: PM: Replace pci_dev_keep_suspended() with two functionsRafael J. Wysocki1-4/+18
2019-06-14PCI: PM: Skip devices in D0 for suspend-to-idleRafael J. Wysocki1-12/+35
2019-06-13PCI: Always allow probing with driver_overrideAlex Williamson1-1/+2
2019-05-30PCI: Return error if cannot probe VFAlex Williamson1-6/+7
2019-05-27PCI: PM: Avoid possible suspend-to-idle issueRafael J. Wysocki1-1/+16
2019-05-07Merge tag 'printk-for-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-7/+7
2019-04-09treewide: Switch printk users from %pf and %pF to %ps and %pS, respectivelySakari Ailus1-7/+7
2019-02-08PCI: Clean up usage of __u32 typeLogan Gunthorpe1-2/+2
2019-01-05Merge tag 'pci-v4.21-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-15/+12
2018-12-15PCI: Remove unused attr variable in pci_dma_configureNathan Chancellor1-1/+0
2018-12-13ACPI / scan: Refactor _CCA enforcementRobin Murphy1-2/+1
2018-12-12PCI / PM: Allow runtime PM without callback functionsJarkko Nikula1-15/+12
2018-08-15Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2018-07-30PCI: Call dma_debug_add_bus() for pci_bus_type from PCI coreChristoph Hellwig1-1/+1
2018-06-29PCI/IOV: Reset total_VFs limit after detaching PF driverJakub Kicinski1-0/+1
2018-06-07Merge tag 'pci-v4.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2018-06-05Merge tag 'pm-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-2/+3
2018-05-24PCI / PM: Do not clear state_saved for devices that remain suspendedRafael J. Wysocki1-2/+3
2018-05-17PCI/AER: Factor out error reporting to drivers/pci/pcie/err.cOza Pawandeep1-1/+1
2018-05-03drivers: remove force dma flag from busesChristoph Hellwig1-2/+1
2018-05-03dma-mapping: move dma configuration to bus infrastructureNipun Gupta1-0/+32
2018-04-23PCI / PM: Do not clear state_saved in pci_pm_freeze() when smart suspend is setMika Westerberg1-2/+3
2018-04-06Merge tag 'pci-v4.17-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+93
2018-04-04Merge branch 'pci/portdrv'Bjorn Helgaas1-1/+57
2018-04-04Merge branch 'pci/misc'Bjorn Helgaas1-2/+0
2018-03-30PCI/portdrv: Remove pcie_port_bus_type link order dependencyBjorn Helgaas1-1/+43
2018-03-30PCI/PM: Clear PCIe PME Status bit for Root Complex Event CollectorsBjorn Helgaas1-1/+2
2018-03-19PCI: Tidy commentsBjorn Helgaas1-2/+0
2018-03-13PCI: Restore config space on runtime resume despite being unboundRafael J. Wysocki1-6/+11
2018-03-12PCI/PM: Clear PCIe PME Status bit in core, not PCIe port driverBjorn Helgaas1-0/+13
2018-02-22PCI/AER: Move pci_uevent_ers() out of pci.hMichael Ellerman1-0/+36
2018-02-06Merge tag 'pci-v4.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+1
2018-01-28PCI: Add SPDX GPL-2.0 to replace GPL v2 boilerplateBjorn Helgaas1-3/+1
2018-01-18Merge branch 'pm-core'Rafael J. Wysocki1-2/+17
2018-01-18PCI / PM: Remove spurious semicolonLuis de Bethencourt1-1/+1
2017-12-18PCI / PM: Force devices to D0 in pci_pm_thaw_noirq()Rafael J. Wysocki1-1/+6
2017-12-16Merge back PM core material for v4.16.Rafael J. Wysocki1-2/+17
2017-12-11PM / sleep: Avoid excess pm_runtime_enable() calls in device_resume()Rafael J. Wysocki1-1/+1
2017-11-27PCI / PM: Support for LEAVE_SUSPENDED driver flagRafael J. Wysocki1-2/+17
2017-11-14Merge tag 'dma-mapping-4.15' of git://git.infradead.org/users/hch/dma-mappingLinus Torvalds1-0/+1
2017-11-13Merge branch 'pm-core'Rafael J. Wysocki1-35/+89
2017-11-06PCI / PM: Take SMART_SUSPEND driver flag into accountRafael J. Wysocki1-17/+86
2017-11-06PCI / PM: Drop unnecessary invocations of pcibios_pm_ops callbacksRafael J. Wysocki1-18/+0
2017-11-06PM / core: Add NEVER_SKIP and SMART_PREPARE driver flagsRafael J. Wysocki1-1/+4
2017-10-19drivers: flag buses which demand DMA configurationRobin Murphy1-0/+1
2017-10-03PCI / PM: Add dev_dbg() to print device suspend power statesRafael J. Wysocki1-0/+3
2017-09-28PCI / PM: Do not resume any devices in pci_pm_prepare()Rafael J. Wysocki1-7/+0
2017-09-05Merge tag 'acpi-4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra...Linus Torvalds1-3/+1
2017-08-18PCI/IB: add support for pci driver attribute groupsGreg Kroah-Hartman1-0/+1
2017-08-01PCI / PM: Skip bridges in pci_enable_wake()Rafael J. Wysocki1-3/+1
2017-07-14Merge branch 'pm-pci'Rafael J. Wysocki1-0/+2
2017-07-12PCI / PM: Restore PME Enable after config space restorationRafael J. Wysocki1-0/+2
2017-07-08Merge tag 'pci-v4.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+3
2017-07-04Merge tag 'pm-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafa...Linus Torvalds1-1/+1
2017-07-03Merge tag 'driver-core-4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+4
2017-07-03Merge branch 'pci/irq-fixups' into nextBjorn Helgaas1-0/+2
2017-07-02PCI: Add a call to pci_assign_irq() in pci_device_probe()Matthew Minter1-0/+2
2017-06-30PCI/PM: Restore the status of PCI devices across hibernationChen Yu1-0/+1
2017-06-28PCI / PM: Simplify device wakeup settings codeRafael J. Wysocki1-1/+1
2017-06-12PCI: pci-driver: convert to use DRIVER_ATTR_WOGreg Kroah-Hartman1-4/+4
2017-05-26PCI: Replace the racy recursion preventionThomas Gleixner1-22/+25
2017-05-26PCI: Use cpu_hotplug_disable() instead of get_online_cpus()Thomas Gleixner1-2/+2
2017-04-28Merge branch 'pci/virtualization' into nextBjorn Helgaas1-4/+18
2017-04-20PCI: Add sysfs sriov_drivers_autoprobe to control VF driver bindingBodong Wang1-4/+18
2017-03-09PCI/MSI: Stop disabling MSI/MSI-X in pci_device_shutdown()Prarit Bhargava1-2/+0
2017-02-23Merge tag 'pci-v4.11-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+0
2017-02-10PCI: Remove duplicate check for positive return value from probe() functionsGabriel Krisman Bertazi1-2/+0
2017-01-20PCI: implement num_vf bus type callbackPhil Sutter1-0/+6
2016-10-03Merge branch 'pci/pm' into nextBjorn Helgaas1-2/+13
2016-09-28PCI: Avoid unnecessary resume after direct-completeLukas Wunner1-2/+13
2016-08-09PCI: Drop CONFIG_KEXEC_CORE ifdefferyLukas Wunner1-2/+0
2016-06-13PCI: Put PCIe ports into D3 during suspendMika Westerberg1-4/+1
2015-12-02PCI / PM: Tune down retryable runtime suspend error messagesImre Deak1-2/+14
2015-11-06Merge tag 'pci-v4.4-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+3
2015-10-14PM / PCI / ACPI: Kick devices that might have been reset by firmwareRafael J. Wysocki1-1/+1
2015-10-14PM / sleep: Drop pm_request_idle() from pm_generic_complete()Rafael J. Wysocki1-7/+2
2015-10-12PCI / PM: Avoid resuming more devices during system suspendRafael J. Wysocki1-0/+12
2015-09-25PCI / PM: Update runtime PM documentation for PCI devicesRafael J. Wysocki1-3/+4
2015-09-18PCI: Remove unnecessary "if" statementZhen Lei1-5/+3
2015-09-10kexec: split kexec_load syscall from kexec core codeDave Young1-1/+1
2015-07-30PCI: Add pcibios_alloc_irq() and pcibios_free_irq()Jiang Liu1-6/+20
2015-02-10Merge tag 'pm+acpi-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+6
2015-01-23PCI / PM: Avoid resuming PCI devices during system suspendRafael J. Wysocki1-5/+6
2015-01-09PCI: Generate uppercase hex for modalias var in ueventRicardo Ribalda Delgado1-1/+1
2014-12-04PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coreRafael J. Wysocki1-13/+7
2014-09-03PCI: Remove unnecessary variable in pci_add_dynid()Tobias Klauser1-4/+1
2014-06-19PCI: Add pci_fixup_suspend_late quirk passAndreas Noever1-4/+14
2014-06-10PCI: Whitespace cleanupRyan Desfosses1-27/+24
2014-06-10PCI: Move EXPORT_SYMBOL so it immediately follows function/variableRyan Desfosses1-10/+8
2014-05-28Merge branches 'pci/hotplug', 'pci/pci_is_bridge' and 'pci/virtualization' in...Bjorn Helgaas1-7/+26
2014-05-28PCI: Introduce new device binding path using pci_dev.driver_overrideAlex Williamson1-3/+22
2014-05-27PCI: Rename pci_is_bridge() to pci_has_subordinate()Yijing Wang1-4/+4
2014-04-29PCI: Remove dead codeBjorn Helgaas1-2/+1
2014-04-29PCI: Fail new_id for vendor/device values already built into driverBandan Das1-1/+21
2014-03-04PCI / PM: Resume runtime-suspended devices later during system suspendRafael J. Wysocki1-8/+25
2013-12-07PCI: Disable Bus Master only on kexec rebootKhalid Aziz1-3/+9
2013-11-25PCI: Avoid unnecessary CPU switch when calling driver .probe() methodAlexander Duyck1-5/+21
2013-11-14PCI: Fix whitespace, capitalization, and spelling errorsBjorn Helgaas1-8/+8
2013-11-06Merge branch 'pci/misc' into nextBjorn Helgaas1-2/+10
2013-11-06PCI: Warn on driver probe return value greater than zeroStephen M. Cameron1-2/+10
2013-10-31Merge branch 'pci/misc' into nextBjorn Helgaas1-10/+1
2013-10-07PCI/PM: Remove pci_pm_complete()Liu Chuansheng1-9/+0
2013-10-07PCI: Make pci_dev_pm_ops staticSachin Kamat1-1/+1
2013-10-07PCI: convert bus code to use dev_groupsGreg Kroah-Hartman1-1/+1
2013-10-07PCI: convert bus code to use drv_groupsGreg Kroah-Hartman1-5/+8
2013-10-07PCI: convert bus code to use bus_groupsGreg Kroah-Hartman1-1/+1
2013-08-22PCI: Add pcibios_pm_ops for optional arch-specific hibernate functionalitySebastian Ott1-0/+43
2013-06-03PM / Runtime: Rework the "runtime idle" helper routineRafael J. Wysocki1-9/+5
2013-04-02PCI: Don't try to disable Bus Master on disconnected PCI devicesKonstantin Khlebnikov1-2/+3
2013-02-12Merge branch 'pci/konstantin-runtime-pm' into nextBjorn Helgaas1-1/+5
2013-02-11PCI/PM: Clear state_saved during suspendRafael J. Wysocki1-0/+4
2013-02-11PCI: Disable Bus Master unconditionally in pci_device_shutdown()Konstantin Khlebnikov1-1/+1
2013-01-25PCI: Skip attaching driver in device_add()Yinghai Lu1-1/+5
2012-12-13Merge tag 'for-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pciLinus Torvalds1-30/+43
2012-12-04Merge branch 'pci/huang-d3cold-fixes' into nextBjorn Helgaas1-27/+40
2012-12-04PCI/PM: Keep runtime PM enabled for unbound PCI devicesHuang Ying1-27/+40
2012-11-28PCI: Move pci_uevent into pci-driver.cBill Pemberton1-0/+33
2012-11-28PCI: Remove CONFIG_HOTPLUG ifdefsBill Pemberton1-15/+0
2012-11-26Merge branch 'for-linus' into nextBjorn Helgaas1-10/+2
2012-11-07PCI: Don't touch card regs after runtime suspend D3Dave Airlie1-3/+3
2012-11-02PCI/PM: Resume device before shutdownHuang Ying1-10/+2
2012-10-02Merge tag 'pm-for-3.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/r...Linus Torvalds1-17/+0
2012-09-24Merge branch 'pm-sleep'Rafael J. Wysocki1-17/+0
2012-09-19PM: Prevent runtime suspend during system resumeAlan Stern1-17/+0
2012-09-17PCI: Convert "new_id"/"remove_id" into generic pci_bus driver attributesKonstantin Khlebnikov1-47/+10
2012-08-21PCI/PM: Keep parent bridge active when probing deviceHuang Ying1-0/+6
2012-08-15PCI: EHCI: Fix crash during hibernation on ASUS computersRafael J. Wysocki1-0/+7