aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-06Merge tag 'pci-v6.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-66/+15
2025-10-03Merge branch 'pci/capability-search'Bjorn Helgaas1-66/+10
2025-09-22PCI/PM: Skip resuming to D0 if device is disconnectedMario Limonciello1-0/+5
2025-09-08PCI: Test for bit underflow in pcie_set_readrq()Kees Cook1-1/+5
2025-08-14PCI: Refactor extended capability search into PCI_FIND_NEXT_EXT_CAP()Hans Zhang1-33/+2
2025-08-14PCI: Refactor capability search into PCI_FIND_NEXT_CAP()Hans Zhang1-34/+8
2025-08-14PCI: Clean up __pci_find_next_cap_ttl() readabilityHans Zhang1-4/+5
2025-08-01Merge tag 'pci-v6.17-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-10/+20
2025-07-31Merge branch 'pci/resources'Bjorn Helgaas1-1/+7
2025-07-31Merge branch 'pci/hotplug'Bjorn Helgaas1-5/+13
2025-07-29PCI: Move is_pciehp check out of pciehp_is_native()Lukas Wunner1-4/+8
2025-07-29PCI/ACPI: Fix runtime PM ref imbalance on Hot-Plug Capable portsLukas Wunner1-1/+5
2025-07-22PCI: Support Immediate Readiness on devices without PM capabilitiesSean Christopherson1-4/+0
2025-07-14PCI/IOV: Allow IOV resources to be resized in pci_resize_resource()Michał Winiarski1-1/+7
2025-06-13PCI/PM: Set up runtime PM even for devices without PCI PMMario Limonciello1-2/+3
2025-06-04Merge tag 'pci-v6.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-55/+33
2025-06-04Merge branch 'pci/misc'Bjorn Helgaas1-2/+2
2025-06-04Merge branch 'pci/reset'Bjorn Helgaas1-1/+2
2025-06-04Merge branch 'pci/pm'Bjorn Helgaas1-3/+10
2025-06-04Merge branch 'pci/enumeration'Bjorn Helgaas1-6/+1
2025-06-04Merge branch 'pci/devres'Bjorn Helgaas1-42/+0
2025-05-19PCI: Remove hybrid devres nature from request functionsPhilipp Stanner1-42/+0
2025-05-15PCI: Update Link Speed after retrainingIlpo Järvinen1-0/+17
2025-05-15PCI/bwctrl: Replace lbms_count with PCI_LINK_LBMS_SEEN flagIlpo Järvinen1-1/+1
2025-05-05PCI: Explicitly put devices into D0 when initializingMario Limonciello1-3/+10
2025-05-05PCI: Fix lock symmetry in pci_slot_unlock()Ilpo Järvinen1-1/+2
2025-04-23PCI: Add CONFIG_MMU dependencyArnd Bergmann1-2/+2
2025-04-17PCI: Print the actual delay time in pci_bridge_wait_for_secondary_bus()Wilfred Mallawa1-1/+1
2025-04-15Revert "PCI: Avoid reset when disabled via sysfs"Alex Williamson1-4/+0
2025-04-10PCI: Remove pci_fixup_cardbus()Heiner Kallweit1-5/+0
2025-03-27Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2025-03-27Merge branch 'pci/resource'Bjorn Helgaas1-3/+3
2025-03-27Merge branch 'pci/reset'Bjorn Helgaas1-1/+10
2025-03-27Merge branch 'pci/pm'Bjorn Helgaas1-4/+4
2025-03-27Merge branch 'pci/enumeration'Bjorn Helgaas1-2/+7
2025-03-27Merge branch 'pci/devres'Bjorn Helgaas1-0/+6
2025-03-27Merge branch 'pci/aer'Bjorn Helgaas1-4/+8
2025-03-20PCI: Allow PCI bridges to go to D3Hot on all non-x86Manivannan Sadhasivam1-4/+4
2025-03-14PCI: Check BAR index for validityPhilipp Stanner1-0/+6
2025-03-10PCI: Cache offset of Resizable BAR capabilityBjorn Helgaas1-2/+7
2025-03-08PCI: Fix typosBjorn Helgaas1-1/+1
2025-03-07PCI: Increase Resizable BAR support from 512 GB to 128 TBZhiyuan Dai1-2/+2
2025-03-04PCI: Avoid reset when disabled via sysfsNishanth Aravamudan1-0/+4
2025-03-04PCI: Log debug messages about reset methodBjorn Helgaas1-1/+6
2025-02-21PCI: Track Flit Mode Status & print it with link statusIlpo Järvinen1-4/+8
2025-02-21PCI/ACS: Fix 'pci=config_acs=' parameterTushar Dave1-5/+13
2025-02-14PCI: Cleanup dev->resource + resno to use pci_resource_n()Ilpo Järvinen1-1/+1
2025-01-25Merge tag 'pci-v6.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-203/+72
2025-01-23Merge branch 'pci/misc'Bjorn Helgaas1-1/+0
2025-01-23Merge branch 'pci/controller/iommu-map'Bjorn Helgaas1-1/+35
2025-01-23Merge branch 'pci/pci-sysfs'Bjorn Helgaas1-124/+1
2025-01-23Merge branch 'pci/err'Bjorn Helgaas1-28/+0
2025-01-21PCI: Don't include 'pm_wakeup.h' directlyWolfram Sang1-1/+0
2025-01-18PCI: Remove devres from pci_intx()Philipp Stanner1-41/+2
2025-01-18PCI: Export pci_intx_unmanaged() and pcim_intx()Philipp Stanner1-0/+29
2025-01-15PCI: Add enable_device() and disable_device() callbacks for bridgesFrank Li1-1/+35
2025-01-15PCI/sysfs: Move reset related sysfs code to correct fileIlpo Järvinen1-124/+1
2025-01-14PCI: Move TLP Log handling to its own fileIlpo Järvinen1-27/+0
2025-01-14PCI: Don't expose pcie_read_tlp_log() outside PCI subsystemIlpo Järvinen1-1/+0
2024-12-19PCI: Honor Max Link Speed when determining supported speedsLukas Wunner1-2/+4
2024-12-05PCI: Encourage resource request API users to supply driver namePhilipp Stanner1-36/+33
2024-11-26Merge tag 'pci-v6.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-22/+56
2024-11-25Merge branch 'pci/misc'Bjorn Helgaas1-2/+3
2024-11-25Merge branch 'pci/tph'Bjorn Helgaas1-0/+4
2024-11-25Merge branch 'pci/resource'Bjorn Helgaas1-2/+1
2024-11-25Merge branch 'pci/reset'Bjorn Helgaas1-1/+5
2024-11-20Merge tag 'devicetree-for-6.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2024-11-16PCI/bwctrl: Re-add BW notification portdrv as PCIe BW controllerIlpo Järvinen1-1/+1
2024-11-13PCI: Warn if a running device is unaware of resetKeith Busch1-0/+4
2024-11-13PCI: Add 'reset_subordinate' to reset hierarchy below bridgeKeith Busch1-1/+1
2024-11-11PCI: Store all PCIe Supported Link SpeedsIlpo Järvinen1-16/+42
2024-10-29PCI: Fix pci_enable_acs() support for the ACS quirksJason Gunthorpe1-5/+9
2024-10-15PCI: Constify pci_register_io_range() fwnode_handleRob Herring (Arm)1-1/+1
2024-10-10PCI: Use resource_set_{range,size}() helpersIlpo Järvinen1-2/+1
2024-10-02PCI: Fix reset_method_store() memory leakTodd Kjos1-2/+3
2024-10-02PCI: Add TLP Processing Hints (TPH) supportWei Huang1-0/+4
2024-09-23Merge tag 'pci-v6.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-24/+51
2024-09-19Merge branch 'pci/controller/qcom'Bjorn Helgaas1-7/+7
2024-09-19Merge branch 'pci/reset'Bjorn Helgaas1-2/+6
2024-09-19Merge branch 'pci/enumeration'Bjorn Helgaas1-2/+10
2024-09-13PCI: Pass domain number to pci_bus_release_domain_nr() explicitlyManivannan Sadhasivam1-7/+7
2024-09-10PCI: Rename CRS Completion Status to RRSBjorn Helgaas1-2/+2
2024-09-10PCI: Wait for device readiness with Configuration RRSBjorn Helgaas1-13/+28
2024-09-09PCI: Use an error code with PCIe failed link retrainingMaciej W. Rozycki1-1/+1
2024-09-09PCI: Clear the LBMS bit after a link retrainMaciej W. Rozycki1-1/+9
2024-08-09PCI: Wait for Link before restoring Downstream BusesIlpo Järvinen1-2/+6
2024-08-01PCI: Fix devres regression in pci_intx()Philipp Stanner1-7/+8
2024-07-19Merge tag 'pci-v6.11-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-120/+186
2024-07-19Merge branch 'pci/controller/qcom'Bjorn Helgaas1-18/+1
2024-07-19Merge branch 'pci/reset'Bjorn Helgaas1-14/+24
2024-07-19Merge branch 'pci/dpc'Bjorn Helgaas1-3/+3
2024-07-19Merge branch 'pci/devres'Bjorn Helgaas1-27/+68
2024-07-12PCI: Extend ACS configurabilityVidya Sagar1-58/+90
2024-07-12PCI: Add missing bridge lock to pci_bus_lock()Dan Williams1-14/+21
2024-07-11PCI: Add managed pcim_intx()Philipp Stanner1-11/+8
2024-07-10PCI: Remove struct pci_devres.enabled status bitPhilipp Stanner1-6/+0
2024-07-10PCI: Document hybrid devres hazardsPhilipp Stanner1-1/+46
2024-07-10PCI: Add managed pcim_request_region()Philipp Stanner1-32/+15
2024-07-10PCI: Add managed partial-BAR request and map infrastructurePhilipp Stanner1-0/+22
2024-07-09PCI: Bring the PCIe speed to MBps logic to new pcie_dev_speed_mbps()Krishna chaitanya chundru1-18/+1
2024-07-01PCI/DPC: Fix use-after-free on concurrent DPC and hot-removalLukas Wunner1-3/+3
2024-06-04PCI: Warn on missing cfg_access_lock during secondary bus resetDan Williams1-0/+3
2024-06-04PCI: Revert the cfg_access_lock lockdep mechanismDan Williams1-1/+0
2024-05-16Merge branch 'pci/misc'Bjorn Helgaas1-4/+5
2024-05-16Merge branch 'pci/pm'Bjorn Helgaas1-0/+12
2024-05-16Merge branch 'pci/enumeration'Bjorn Helgaas1-18/+10
2024-05-16PCI: Do not wait for disconnected devices when resumingIlpo Järvinen1-0/+5
2024-05-16PCI: Remove unused pci_enable_device_io()Heiner Kallweit1-14/+0
2024-05-08PCI: Make pcie_bandwidth_capable() staticIlpo Järvinen1-2/+3
2024-05-08PCI/CXL: Add 'cxl_bus' reset method for devices below CXL PortsDave Jiang1-0/+39
2024-05-08PCI/CXL: Fail bus reset if upstream CXL Port has SBR maskedDave Jiang1-0/+42
2024-05-08PCI: Lock upstream bridge for pci_reset_function()Dave Jiang1-0/+13
2024-04-25PCI: Clarify intent of LT waitIlpo Järvinen1-3/+4
2024-04-25PCI: Wait for Link Training==0 before starting Link retrainIlpo Järvinen1-1/+1
2024-04-18PCI: Annotate pci_cache_line_size variables as __ro_after_initHeiner Kallweit1-2/+2
2024-04-10PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe PortsMario Limonciello1-0/+12
2024-03-14Merge tag 'pci-v6.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-458/+38
2024-03-13Merge tag 'pm-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafae...Linus Torvalds1-1/+1
2024-03-12Merge branch 'pci/enumeration'Bjorn Helgaas1-144/+0
2024-03-12Merge branch 'pci/devres'Bjorn Helgaas1-249/+0
2024-03-12Merge branch 'pci/aspm'Bjorn Helgaas1-65/+10
2024-03-12PCI/ASPM: Disable L1 before configuring L1 SubstatesBjorn Helgaas1-13/+3
2024-03-12PCI/ASPM: Call pci_save_ltr_state() from pci_save_pcie_state()David E. Box1-7/+7
2024-03-12PCI/ASPM: Save L1 PM Substates Capability for suspend/resumeDavid E. Box1-2/+15
2024-03-11mm: Introduce vmap_page_range() to map pages in PCI address spaceAlexei Starovoitov1-2/+2
2024-03-11Merge branch 'pm-runtime'Rafael J. Wysocki1-1/+1
2024-03-08PCI/AER: Generalize TLP Header Log readingIlpo Järvinen1-0/+28
2024-03-07PCI/ASPM: Move pci_save_ltr_state() to aspm.cDavid E. Box1-40/+0
2024-03-07PCI/ASPM: Move pci_configure_ltr() to aspm.cDavid E. Box1-18/+0
2024-02-17Merge tag 'pci-v6.8-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-15/+22
2024-02-12PCI: Move devres code from pci.c to devres.cPhilipp Stanner1-249/+0
2024-02-12PM: runtime: Simplify pm_runtime_get_if_active() usageSakari Ailus1-1/+1
2024-02-09PCI: Fix active state requirement in PME pollingAlex Williamson1-15/+22
2024-01-31PCI/ASPM: Fix deadlock when enabling ASPMJohan Hovold1-26/+52
2024-01-29PCI: Place interrupt related code into irq.cIlpo Järvinen1-144/+0
2024-01-18Merge tag 'cxl-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds1-2/+36
2024-01-17Merge tag 'pci-v6.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-11/+74
2024-01-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+6
2024-01-02Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"Bjorn Helgaas1-0/+6
2023-12-22cxl: Calculate and store PCI link latency for the downstream portsDave Jiang1-2/+36
2023-12-15PCI: Use resource names in PCI log messagesPuranjay Mohan1-11/+14
2023-12-15PCI: Update BAR # and window messagesPuranjay Mohan1-0/+60
2023-11-18PCI: Add debug print for device ready delayIdo Schimmel1-0/+3
2023-10-28Merge branch 'pci/field-get'Bjorn Helgaas1-30/+28
2023-10-28Merge branch 'pci/config-errs'Bjorn Helgaas1-3/+6
2023-10-24PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirkBjorn Helgaas1-4/+4
2023-10-24PCI: Use FIELD_GET()Bjorn Helgaas1-23/+22
2023-10-17PCI: Use FIELD_GET() to extract Link WidthIlpo Järvinen1-3/+2
2023-10-10PCI: Do error check on own line to split long "if" conditionsIlpo Järvinen1-3/+6
2023-10-03PCI: Use PCI_HEADER_TYPE_* instead of literalsIlpo Järvinen1-1/+1
2023-08-29Merge branch 'pci/misc'Bjorn Helgaas1-16/+12
2023-08-29Merge branch 'pci/vpd'Bjorn Helgaas1-7/+16
2023-08-29Merge branch 'pci/pm'Bjorn Helgaas1-4/+9
2023-08-25PCI/PM: Only read PCI_PM_CTRL register when availableFeiyang Chen1-4/+9
2023-08-25PCI: Tidy config space save/restore messagesBjorn Helgaas1-2/+2
2023-08-25PCI: Fix typos in docs and commentsBjorn Helgaas1-1/+1
2023-08-25PCI: Fix pci_bus_resetable(), pci_slot_resetable() name typosBjorn Helgaas1-6/+6
2023-08-25PCI: Simplify pci_pio_to_address()Bjorn Helgaas1-7/+3
2023-08-11PCI: Fix runtime PM race with PME pollingAlex Williamson1-7/+16
2023-08-10PCI: Make link retraining use RMW accessors for changing LNKCTLIlpo Järvinen1-6/+2
2023-06-26Merge branch 'pci/pm'Bjorn Helgaas1-17/+42
2023-06-26Merge branch 'pci/enumeration'Bjorn Helgaas1-21/+112
2023-06-23PCI/PM: Avoid putting EloPOS E2/S2/H2 PCIe Ports in D3coldOndrej Zary1-5/+5
2023-06-20PCI: Add failed link recovery for device reset eventsMaciej W. Rozycki1-5/+24
2023-06-20PCI: Work around PCIe link training failuresMaciej W. Rozycki1-0/+2
2023-06-20PCI: Use pcie_wait_for_link_status() in pcie_wait_for_link_delay()Maciej W. Rozycki1-14/+3
2023-06-20PCI: Add support for polling DLLLA to pcie_retrain_link()Maciej W. Rozycki1-8/+20
2023-06-20PCI: Export pcie_retrain_link() for use outside ASPMMaciej W. Rozycki1-0/+49
2023-06-20PCI: Export PCIe link retrain timeoutMaciej W. Rozycki1-1/+1
2023-06-06PCI/PM: Shorten pci_bridge_wait_for_secondary_bus() wait time for slow linksMika Westerberg1-12/+37
2023-04-27Merge tag 'driver-core-6.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2023-04-20Merge branch 'pci/resource'Bjorn Helgaas1-2/+1
2023-04-11PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameterMika Westerberg1-6/+12
2023-04-05PCI: Make pci_bus_for_each_resource() index optionalAndy Shevchenko1-2/+1
2023-03-23driver core: bus: mark the struct bus_type for sysfs callbacks as constantGreg Kroah-Hartman1-2/+2
2023-02-24Merge tag 'pci-v6.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-34/+35
2023-02-22Merge branch 'pci/reset'Bjorn Helgaas1-34/+25
2023-02-10Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume"Bjorn Helgaas1-7/+0
2023-02-09PCI/DPC: Await readiness of secondary bus after resetLukas Wunner1-3/+0
2023-02-07PCI: Unify delay handling for reset and resumeLukas Wunner1-30/+24
2023-02-07PCI/PM: Observe reset delay irrespective of bridge_d3Lukas Wunner1-1/+1
2023-02-01PCI: loongson: Prevent LS7A MRRS increasesHuacai Chen1-0/+10
2022-11-11PCI: Fix pci_device_is_present() for VFs by checking PFMichael S. Tsirkin1-0/+2
2022-11-08PCI: Assign PCI domain IDs by ida_alloc()Pali Rohár1-43/+60
2022-10-05Merge branch 'pci/pm'Bjorn Helgaas1-33/+11
2022-10-04PCI/ASPM: Save L1 PM Substates Capability for suspend/resumeVidya Sagar1-0/+7
2022-09-29PCI/PM: Reduce D3hot delay with usleep_range()Sajid Dalvi1-7/+9
2022-09-12PCI/PM: Always disable PTM for all devices during suspendBjorn Helgaas1-26/+2
2022-09-12PCI/PTM: Add pci_suspend_ptm() and pci_resume_ptm()Bjorn Helgaas1-2/+2
2022-08-04Merge branch 'pci/header-cleanup-immutable'Bjorn Helgaas1-0/+2
2022-07-22PCI: Move isa_dma_bridge_buggy out of asm/dma.hStafford Horne1-0/+2
2022-07-12PCI/ASPM: Remove pcie_aspm_pm_state_change()Kai-Heng Feng1-6/+0
2022-05-31PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299Bjorn Helgaas1-0/+2
2022-05-27Merge tag 'pci-v5.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-153/+200
2022-05-24Merge branch 'pci/virtualization'Bjorn Helgaas1-5/+5
2022-05-11PCI: Avoid pci_dev_lock() AB/BA deadlock with sriov_numvfs_store()Yicong Yang1-5/+5
2022-05-05PCI/PM: Rearrange pci_set_power_state()Rafael J. Wysocki1-11/+17
2022-05-05PCI/PM: Clean up pci_set_low_power_state()Rafael J. Wysocki1-8/+1
2022-05-05PCI/PM: Do not restore BARs if device is not in D0Rafael J. Wysocki1-16/+16
2022-05-05PCI/PM: Split pci_power_up()Rafael J. Wysocki1-6/+35