aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
AgeCommit message (Expand)AuthorFilesLines
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
2022-05-05PCI/PM: Write 0 to PMCSR in pci_power_up() in all casesRafael J. Wysocki1-8/+3
2022-05-05PCI/PM: Do not call pci_update_current_state() from pci_power_up()Rafael J. Wysocki1-21/+28
2022-05-05PCI/PM: Unfold pci_platform_power_transition() in pci_power_up()Rafael J. Wysocki1-1/+8
2022-05-05PCI/PM: Set current_state to D3cold if the device is not accessibleRafael J. Wysocki1-0/+2
2022-05-05PCI/PM: Relocate pci_set_low_power_state()Rafael J. Wysocki1-79/+79
2022-05-05PCI/PM: Split pci_raw_set_power_state()Rafael J. Wysocki1-60/+83
2022-05-05PCI/PM: Rearrange pci_update_current_state()Rafael J. Wysocki1-3/+6
2022-05-05PCI/PM: Drop the runtime_d3cold device flagRafael J. Wysocki1-3/+0
2022-05-05PCI/PM: Resume subordinate bus in bus type callbacksRafael J. Wysocki1-15/+0
2022-04-11PCI/PM: Avoid putting Elo i2 PCIe Ports in D3coldRafael J. Wysocki1-0/+10
2022-01-16Merge tag 'pci-v5.17-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-13/+13
2022-01-13Merge branch 'pci/errors'Bjorn Helgaas1-5/+5
2022-01-11PCI: Use DWORD accesses for LTR, L1 SS to avoid erratumRajat Jain1-8/+8
2021-12-16PCI/MSI: Decouple MSI[-X] disable from pcim_release()Thomas Gleixner1-5/+0
2021-11-18PCI/ERR: Use PCI_POSSIBLE_ERROR() to check config readsNaveen Naidu1-5/+5
2021-11-13Merge tag 's390-5.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390...Linus Torvalds1-1/+2
2021-11-11Merge tag 'pci-v5.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-9/+8
2021-11-11Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"Bjorn Helgaas1-9/+8
2021-11-08Merge tag 'cxl-for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl...Linus Torvalds1-0/+32
2021-11-08PCI: Export pci_dev_lock()Niklas Schnelle1-1/+2
2021-11-06Merge tag 'pci-v5.16-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-14/+51
2021-11-05Merge branch 'pci/misc'Bjorn Helgaas1-4/+5
2021-11-05Merge branch 'pci/hotplug'Bjorn Helgaas1-0/+2
2021-11-05Merge branch 'pci/driver'Bjorn Helgaas1-8/+9
2021-11-05Merge branch 'pci/enumeration'Bjorn Helgaas1-2/+10
2021-11-04PCI: Do not enable AtomicOps on VFsSelvin Xavier1-0/+8
2021-11-04Merge tag 'staging-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+2
2021-10-29PCI: Add pci_find_dvsec_capability to find designated VSECBen Widawsky1-0/+32
2021-10-27PCI: Prefer 'unsigned int' over bare 'unsigned'Krzysztof Wilczyński1-2/+3
2021-10-26PCI: Remove redundant 'rc' initializationColin Ian King1-1/+1
2021-10-21PCI: PM: Fix ordering of operations in pci_back_from_sleep()Rafael J. Wysocki1-1/+6
2021-10-19PCI: Re-enable Downstream Port LTR after reset or hotplugMingchuang Qiao1-0/+25
2021-10-18PCI: Use to_pci_driver() instead of pci_dev->driverUwe Kleine-König1-8/+9
2021-10-16PCI/ERR: Reduce compile time for CONFIG_PCIEAER=nLukas Wunner1-0/+2
2021-10-12PCI: Use unsigned to match sscanf("%x") in pci_dev_str_match_path()Krzysztof Wilczyński1-1/+1
2021-10-05PCI: PM: Do not call platform_pci_power_manageable() unnecessarilyRafael J. Wysocki1-11/+5
2021-10-05PCI: PM: Make pci_choose_state() call pci_target_state()Rafael J. Wysocki1-38/+16
2021-10-05PCI: PM: Rearrange pci_target_state()Rafael J. Wysocki1-14/+9
2021-10-05PCI: PM: Drop struct pci_platform_pm_opsRafael J. Wysocki1-11/+0
2021-10-05PCI: Allow architecture-specific pci_remap_iospace()Sergio Paracuellos1-0/+2
2021-09-29PCI: ACPI: PM: Do not use pci_platform_pm_ops for ACPIRafael J. Wysocki1-13/+9
2021-09-27PCI: PM: Do not use pci_platform_pm_ops for Intel MID PMRafael J. Wysocki1-1/+22
2021-09-21PCI: Rename pcibios_add_device() to pcibios_device_add()Oliver O'Halloran1-2/+2
2021-09-07Merge tag 'pci-v5.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-94/+237
2021-09-02Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2021-09-02Merge branch 'pci/virtualization'Bjorn Helgaas1-2/+2
2021-09-02Merge branch 'pci/resource'Bjorn Helgaas1-12/+16
2021-08-20PCI/ACS: Enforce pci=noats with Transaction BlockingAlex Williamson1-2/+2
2021-08-18PCI: Change the type of probe argument in reset functionsAmey Narkhede1-22/+22
2021-08-18PCI: Add support for ACPI _RST reset methodShanker Donthineni1-0/+1
2021-08-18PCI: Allow userspace to query and set device reset mechanismAmey Narkhede1-0/+122
2021-08-17PCI: Remove reset_fn field from pci_devAmey Narkhede1-3/+3
2021-08-17PCI: Add array to track reset method orderingAmey Narkhede1-40/+54
2021-08-17PCI: Add pcie_reset_flr() with 'probe' argumentAmey Narkhede1-26/+30
2021-08-17PCI: Cache PCIe Device Capabilities registerAmey Narkhede1-4/+2
2021-08-12PCI: Fix pci_dev_str_match_path() alloc while atomic bugDan Carpenter1-1/+1
2021-08-04PCI: PM: Enable PME if it can be signaled from D3coldRafael J. Wysocki1-1/+8
2021-08-04PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistentlyRafael J. Wysocki1-6/+10
2021-07-16PCI: Refactor pci_ioremap_bar() and pci_ioremap_wc_bar()Krzysztof Wilczyński1-12/+16
2021-07-16PCI: Use pci_update_current_state() in pci_enable_device_flags()Rafael J. Wysocki1-5/+1
2021-07-08Merge tag 'pci-v5.14-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-22/+32
2021-07-06Merge branch 'pci/sysfs'Bjorn Helgaas1-14/+20
2021-07-03Merge tag 'vfio-v5.14-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-2/+4
2021-06-24PCI: Export pci_dev_trylock() and pci_dev_unlock()Luis Chamberlain1-2/+4
2021-06-22Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"Rafael J. Wysocki1-3/+13
2021-06-04PCI/sysfs: Fix 'resource_alignment' newline issuesKrzysztof Wilczyński1-14/+20
2021-06-03PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functionsKrzysztof Wilczyński1-1/+1
2021-05-24PCI: Add pci_reset_bus_function() Secondary Bus Reset interfaceRaphael Norwitz1-8/+12
2021-05-05Merge tag 'pci-v5.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+18
2021-05-04Merge tag 'dmaengine-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+30
2021-05-04Merge branch 'remotes/lorenzo/pci/mediatek'Bjorn Helgaas1-0/+1
2021-04-30mm/vmalloc: remove unmap_kernel_rangeNicholas Piggin1-1/+1
2021-04-20PCI: Export pci_pio_to_address() for module useJianjun Wang1-0/+1
2021-03-31PCI: Add pci_disable_parity()Bjorn Helgaas1-0/+17
2021-03-24PCI: PM: Do not read power state in pci_enable_device_flags()Rafael J. Wysocki1-13/+3
2021-03-16PCI: Add pci_find_vsec_capability() to find a specific VSECGustavo Pimentel1-0/+30
2021-02-25Merge tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+4
2021-02-21Merge tag 'drm-next-2021-02-19' of git://anongit.freedesktop.org/drm/drmLinus Torvalds1-2/+10
2021-02-17PCI: Fix pci_register_io_range() memory leakGeert Uytterhoeven1-0/+4
2021-01-27Revert "PCI/ASPM: Save/restore L1SS Capability for suspend/resume"Bjorn Helgaas1-7/+0
2021-01-14PCI: Add a REBAR size quirk for Sapphire RX 5600 XT PulseNirmoy Das1-1/+8
2021-01-14PCI: Add pci_rebar_bytes_to_size()Nirmoy Das1-1/+1
2021-01-14PCI: Export pci_rebar_get_possible_sizes()Darren Salt1-0/+1
2020-12-15Merge branch 'pci/ptm'Bjorn Helgaas1-1/+26
2020-12-15Merge branch 'pci/pm'Bjorn Helgaas1-11/+5
2020-12-15Merge branch 'pci/misc'Bjorn Helgaas1-8/+10
2020-12-15Merge branch 'pci/enumeration'Bjorn Helgaas1-25/+32
2020-12-10PCI: Keep both device and resource name for config space remapsAlexander Lobakin1-1/+8
2020-12-10PCI: Disable PTM during suspend to save powerDavid E. Box1-1/+24
2020-12-10PCI/PTM: Save/restore Precision Time Measurement Capability for suspend/resumeDavid E. Box1-0/+2
2020-12-08PCI: Reduce pci_set_cacheline_size() message to debug levelHeiner Kallweit1-1/+1
2020-12-04PCI/PM: Do not generate wakeup event when runtime resuming deviceMika Westerberg1-1/+0
2020-12-04PCI/PM: Rename pci_wakeup_bus() to pci_resume_bus()Mika Westerberg1-10/+5
2020-12-04PCI: Return u16 from pci_find_ext_capability() and similarBjorn Helgaas1-3/+3
2020-12-04PCI: Return u8 from pci_find_capability() and similarPuranjay Mohan1-21/+21
2020-11-30PCI: Fix overflow in command-line resource alignment requestsColin Ian King1-1/+1
2020-11-30PCI: Bounds-check command-line resource alignment requestsBjorn Helgaas1-6/+8
2020-11-30PCI: Fix kernel-doc markupMauro Carvalho Chehab1-1/+1
2020-11-20PCI/ASPM: Save/restore L1SS Capability for suspend/resumeVidya Sagar1-0/+7
2020-10-30PCI: Always enable ACS even if no ACS CapabilityRajat Jain1-2/+7
2020-10-22Merge tag 'pci-v5.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-24/+30
2020-10-21Merge branch 'pci/misc'Bjorn Helgaas1-13/+4
2020-10-21Merge branch 'pci/pm'Bjorn Helgaas1-8/+8
2020-10-21Merge branch 'pci/hotplug'Bjorn Helgaas1-3/+2
2020-10-21Merge branch 'pci/enumeration'Bjorn Helgaas1-0/+12
2020-09-30PCI: Add Kconfig options for MPS/MRRS strategyJim Quinlan1-0/+12
2020-09-30PCI/PM: Revert "PCI/PM: Apply D2 delay as milliseconds, not microseconds"Bjorn Helgaas1-1/+1
2020-09-30PCI: Simplify bool comparisonsKrzysztof Wilczyński1-2/+2
2020-09-29PCI/PM: Rename pci_dev.d3_delay to d3hot_delayKrzysztof Wilczyński1-7/+7
2020-09-17PCI: Simplify pci_dev_reset_slot_function()Lukas Wunner1-7/+1
2020-09-17PCI: pciehp: Reduce noisiness on hot removalLukas Wunner1-3/+2
2020-09-16PCI/ACS: Enable Translation Blocking for external devicesRajat Jain1-0/+4
2020-09-01PCI: Use scnprintf(), not snprintf(), in sysfs "show" functionsKrzysztof Wilczyński1-1/+1
2020-09-01PCI: Remove unnecessary header includesGustavo Pimentel1-3/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-2/+2
2020-08-07Merge tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-130/+156