aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie
AgeCommit message (Expand)AuthorFilesLines
13 daysPCI/ASPM: Restore parent state to parent, child state to childKai-Heng Feng1-2/+2
2024-03-14Merge tag 'pci-v6.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds6-28/+360
2024-03-12Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2024-03-12Merge branch 'pci/dpc'Bjorn Helgaas1-1/+61
2024-03-12Merge branch 'pci/aspm'Bjorn Helgaas2-2/+268
2024-03-12PCI/ASPM: Update save_state when configuration changesVidya Sagar1-1/+33
2024-03-12PCI/ASPM: Disable L1 before configuring L1 SubstatesBjorn Helgaas1-0/+19
2024-03-12PCI/ASPM: Save L1 PM Substates Capability for suspend/resumeDavid E. Box1-3/+99
2024-03-08PCI/AER: Generalize TLP Header Log readingIlpo Järvinen2-21/+7
2024-03-08PCI/AER: Use explicit register size for PCI_ERR_CAPIlpo Järvinen1-3/+3
2024-03-07PCI/AER: Block runtime suspend when handling errorsStanislaw Gruszka1-0/+20
2024-03-07PCI/ASPM: Move pci_save_ltr_state() to aspm.cDavid E. Box1-0/+40
2024-03-07PCI/ASPM: Always build aspm.cDavid E. Box2-1/+5
2024-03-07PCI/ASPM: Move pci_configure_ltr() to aspm.cDavid E. Box1-0/+75
2024-02-28PCI/DPC: Ignore Surprise Down error on hot removalSmita Koralahalli1-0/+60
2024-02-08PCI: Make pcie_port_bus_type constRicardo B. Marliere1-1/+1
2024-01-31PCI/ASPM: Fix deadlock when enabling ASPMJohan Hovold1-4/+9
2024-01-22PCI/DPC: Print all TLP Prefixes, not just the firstIlpo Järvinen1-1/+1
2024-01-17Merge tag 'pci-v6.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-8/+13
2024-01-08Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-35/+30
2024-01-03Merge tag 'pci-v6.7-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+19
2024-01-02Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"Bjorn Helgaas1-0/+19
2024-01-02PCI/AER: Use explicit register sizes for struct membersBjorn Helgaas1-2/+2
2024-01-02PCI/AER: Decode Requester ID when no error info foundBjorn Helgaas1-2/+7
2024-01-02PCI/AER: Use 'Correctable' and 'Uncorrectable' spec terms for errorsBjorn Helgaas1-4/+4
2023-12-13PCI: Move pci_clear_and_set_dword() helper to PCI headerShuai Xue1-35/+30
2023-12-11PCI/ASPM: Add pci_disable_link_state_locked() lockdep assertJohan Hovold1-0/+2
2023-12-11PCI/ASPM: Clean up __pci_disable_link_state() 'sem' parameterJohan Hovold1-5/+5
2023-12-11PCI/ASPM: Add pci_enable_link_state_locked()Johan Hovold1-13/+40
2023-11-04Merge tag 'cxl-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds2-6/+162
2023-11-02Merge tag 'pci-v6.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds6-76/+111
2023-10-28Merge branch 'pci/misc'Bjorn Helgaas1-4/+4
2023-10-28Merge branch 'pci/field-get'Bjorn Helgaas4-21/+37
2023-10-28Merge branch 'pci/aspm'Bjorn Helgaas1-33/+43
2023-10-27PCI/AER: Unmask RCEC internal errors to enable RCH downstream port error hand...Robert Richter1-0/+57
2023-10-27PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handlerRobert Richter2-2/+100
2023-10-27PCI/AER: Refactor cper_print_aer() for use by CXL driver moduleTerry Bowman1-4/+5
2023-10-26PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()Ilpo Järvinen1-4/+4
2023-10-26Merge branches 'acpi-video', 'acpi-prm', 'acpi-apei' and 'acpi-pcc'Rafael J. Wysocki1-0/+10
2023-10-25PCI/AER: Factor out interrupt toggling into helpersKai-Heng Feng1-18/+27
2023-10-24PCI/portdrv: Use FIELD_GET()Bjorn Helgaas1-3/+4
2023-10-24PCI/PTM: Use FIELD_GET()Bjorn Helgaas1-2/+3
2023-10-24PCI/PME: Use FIELD_GET()Bjorn Helgaas1-1/+3
2023-10-24PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common()Heiner Kallweit1-0/+2
2023-10-24Revert "PCI/ASPM: Disable only ASPM_STATE_L1 when driver, disables L1"Heiner Kallweit1-1/+2
2023-10-24PCI/DPC: Use defines with DPC reason fieldsIlpo Järvinen1-10/+17
2023-10-24PCI/DPC: Use defined fields with DPC_CTL registerIlpo Järvinen1-3/+7
2023-10-24PCI/DPC: Use FIELD_GET()Bjorn Helgaas1-2/+3
2023-10-10PCI/ASPM: Convert printk() to pr_*() and add includeIlpo Järvinen1-2/+3
2023-10-10PCI/ASPM: Remove unnecessary includesIlpo Järvinen1-2/+0
2023-10-10PCI/ASPM: Use FIELD_MAX() instead of literalsIlpo Järvinen1-7/+7
2023-10-10PCI/ASPM: Use time constantsIlpo Järvinen1-6/+8
2023-10-10PCI/ASPM: Return U32_MAX instead of bit magic constructIlpo Järvinen1-2/+3
2023-10-10PCI/ASPM: Use FIELD_GET/PREP() to access PCIe capability fieldsIlpo Järvinen1-13/+18
2023-09-21ACPI: APEI: Fix AER info corruption when error status data has multiple sectionsShiju Jose1-0/+10
2023-09-11PCI/AER: Export pcie_aer_is_native()Smita Koralahalli2-2/+1
2023-08-29Merge branch 'pci/misc'Bjorn Helgaas1-4/+3
2023-08-29Merge branch 'pci/pcie-rmw'Bjorn Helgaas1-17/+13
2023-08-25PCI/AER: Simplify AER_RECOVER_RING_SIZE definitionBjorn Helgaas1-2/+1
2023-08-10PCI/ASPM: Use RMW accessors for changing LNKCTLIlpo Järvinen1-17/+13
2023-08-07PCI/AER: Use pci_dev_id() to simplify the codeXiongfeng Wang1-2/+2
2023-07-13PCI/AER: Unexport pci_enable_pcie_error_reporting()Bjorn Helgaas1-2/+1
2023-07-13PCI/AER: Drop unused pci_disable_pcie_error_reporting()Bjorn Helgaas1-12/+0
2023-06-26Merge branch 'pci/enumeration'Bjorn Helgaas1-52/+1
2023-06-20PCI/ASPM: Avoid link retraining raceIlpo Järvinen1-0/+11
2023-06-20PCI/ASPM: Factor out pcie_wait_for_retrain()Ilpo Järvinen1-12/+18
2023-06-20PCI/ASPM: Return 0 or -ETIMEDOUT from pcie_retrain_link()Bjorn Helgaas1-9/+11
2023-06-20PCI: Add support for polling DLLLA to pcie_retrain_link()Maciej W. Rozycki1-1/+1
2023-06-20PCI: Export pcie_retrain_link() for use outside ASPMMaciej W. Rozycki1-42/+0
2023-06-20PCI: Export PCIe link retrain timeoutMaciej W. Rozycki1-4/+2
2023-06-20PCI/ASPM: Factor out waiting for link training to completeMaciej W. Rozycki1-11/+23
2023-06-20PCI/ASPM: Avoid unnecessary pcie_link_state useMaciej W. Rozycki1-8/+7
2023-06-14PCI/ASPM: Use distinct local vars in pcie_retrain_link()Maciej W. Rozycki1-9/+10
2023-05-19PCI/ASPM: Remove unnecessary ASPM_STATE_L1SS checkAjay Agarwal1-4/+1
2023-05-19PCI/ASPM: Rename L1.2-specific functions from 'l1ss' to 'l12'Ajay Agarwal1-7/+7
2023-05-19PCI/ASPM: Set ASPM_STATE_L1 when driver enables L1.1 or L1.2Ajay Agarwal1-4/+5
2023-05-18PCI/ASPM: Set only ASPM_STATE_L1 when driver enables L1Ajay Agarwal1-2/+1
2023-05-18PCI/ASPM: Disable only ASPM_STATE_L1 when driver disables L1Ajay Agarwal1-2/+1
2023-05-18PCI/ASPM: Disable ASPM on MFD function removal to avoid use-after-freeDing Hui1-9/+12
2023-04-20Merge branch 'pci/reset'Bjorn Helgaas1-2/+1
2023-04-11PCI/PM: Drop pci_bridge_wait_for_secondary_bus() timeout parameterMika Westerberg1-2/+1
2023-04-07PCI/EDR: Add edr_handle_event() commentsBjorn Helgaas1-1/+10
2023-04-07PCI/EDR: Clear Device Status after EDR error recoveryKuppuswamy Sathyanarayanan1-0/+1
2023-02-24Merge tag 'pci-v6.3-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds4-52/+73
2023-02-22Merge branch 'pci/controller/vmd'Bjorn Helgaas1-0/+54
2023-02-22Merge branch 'pci/reset'Bjorn Helgaas1-2/+2
2023-02-22Merge branch 'pci/enumeration'Bjorn Helgaas1-2/+14
2023-02-10Revert "PCI/ASPM: Refactor L1 PM Substates Control Register programming"Bjorn Helgaas1-40/+34
2023-02-10Revert "PCI/ASPM: Save L1 PM Substates Capability for suspend/resume"Bjorn Helgaas1-37/+0
2023-02-09PCI/DPC: Await readiness of secondary bus after resetLukas Wunner1-2/+2
2023-02-02PCI/ASPM: Add pci_enable_link_state()Michael Bottini1-0/+54
2023-02-01PCI/portdrv: Prevent LS7A Bus Master clearing on shutdownHuacai Chen1-2/+14
2023-01-26PCI/AER: Remove redundant Device Control Error Reporting EnableBjorn Helgaas1-48/+0
2023-01-12PCI/AER: Configure ECRC only if AER is nativeVidya Sagar1-0/+3
2022-12-14Merge tag 'pci-v6.2-changes' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds5-286/+264
2022-12-10Merge branch 'pci/portdrv'Bjorn Helgaas4-284/+256
2022-12-10PCI/portdrv: Allow AER service only for Root Ports & RCECsBjorn Helgaas1-1/+3
2022-12-03PCI/AER: Add optional logging callback for correctable errorDave Jiang1-1/+7
2022-11-22PCI/portdrv: Set PCIE_PORT_SERVICE_HP for Root and Downstream Ports onlyRafael J. Wysocki1-0/+2
2022-11-15PCI: pciehp: Enable by default if USB4 enabledAlbert Zhou1-2/+6
2022-10-24PCI/portdrv: Unexport pcie_port_service_register(), pcie_port_service_unregis...Bjorn Helgaas1-2/+0
2022-10-24PCI/portdrv: Move private things to portdrv.cBjorn Helgaas2-9/+9
2022-10-24PCI/portdrv: Squash into portdrv.cBjorn Helgaas4-272/+244
2022-10-05Merge branch 'pci/pm'Bjorn Helgaas1-130/+170
2022-10-05Merge branch 'pci/dpc'Bjorn Helgaas1-5/+10
2022-10-05PCI/ASPM: Correct LTR_L1.2_THRESHOLD computationBjorn Helgaas1-17/+32
2022-10-05PCI/ASPM: Ignore L1 PM Substates if device lacks capabilityBjorn Helgaas1-0/+3
2022-10-05PCI/ASPM: Factor out L1 PM Substates configurationBjorn Helgaas1-48/+55
2022-10-04PCI/ASPM: Save L1 PM Substates Capability for suspend/resumeVidya Sagar1-0/+37
2022-10-04PCI/ASPM: Refactor L1 PM Substates Control Register programmingVidya Sagar1-34/+40
2022-09-27PCI/DPC: Quirk PIO log size for certain Intel Root PortsMika Westerberg1-5/+10
2022-09-12PCI/PTM: Reorder functions in logical orderBjorn Helgaas1-62/+62
2022-09-12PCI/PTM: Preserve RsvdP bits in PTM Control registerBjorn Helgaas1-11/+14
2022-09-12PCI/PTM: Move pci_ptm_info() body into its only callerBjorn Helgaas1-21/+17
2022-09-12PCI/PTM: Add pci_suspend_ptm() and pci_resume_ptm()Bjorn Helgaas1-14/+57
2022-09-12PCI/PTM: Separate configuration and enableBjorn Helgaas1-55/+49
2022-09-12PCI/PTM: Add pci_upstream_ptm() helperBjorn Helgaas1-14/+25
2022-09-12PCI/PTM: Cache PTM Capability offsetBjorn Helgaas1-24/+17
2022-08-04Merge branch 'pci/err'Bjorn Helgaas3-16/+20
2022-07-13PCI/AER: Iterate over error counters instead of error stringsMohamed Khalfella1-1/+6
2022-07-13PCI/AER: Enable error reporting when AER is nativeStefan Roese1-0/+3
2022-07-13PCI/portdrv: Don't disable AER reporting in get_port_device_capability()Stefan Roese1-8/+1
2022-07-12PCI/ASPM: Unexport pcie_aspm_support_enabled()Bjorn Helgaas1-1/+0
2022-07-12PCI/ASPM: Remove pcie_aspm_pm_state_change()Kai-Heng Feng1-19/+0
2022-07-11PCI/AER: Configure ECRC for every deviceStefan Roese1-3/+2
2022-06-08PCI/ERR: Recognize disconnected devices in report_error_detected()Christoph Hellwig1-4/+8
2022-05-31Merge tag 'iommu-updates-v5.19' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+2
2022-05-17PCI/AER: Clear MULTI_ERR_COR/UNCOR_RCV bitsKuppuswamy Sathyanarayanan1-1/+6
2022-04-28PCI: portdrv: Set driver_managed_dmaLu Baolu1-0/+2
2022-03-25Merge tag 'pci-v5.18-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-4/+4
2022-03-22Merge branch 'pci/misc'Bjorn Helgaas2-2/+2
2022-03-02PCI/AER: Update aer-inject URLYicong Yang2-2/+2
2022-02-17PCI: Add defines for normal and subtractive PCI bridgesPali Rohár1-2/+2
2022-02-11Revert "PCI/portdrv: Do not setup up IRQs if there are no users"Bjorn Helgaas1-30/+17
2022-01-13Merge branch 'pci/errors'Bjorn Helgaas2-4/+4
2022-01-13Merge branch 'pci/enumeration'Bjorn Helgaas1-0/+1
2022-01-11PCI: Use DWORD accesses for LTR, L1 SS to avoid erratumRajat Jain1-0/+1
2021-11-19PCI/ASPM: Remove struct aspm_latencySaheed O. Bolarinwa1-19/+13
2021-11-19PCI/ASPM: Stop caching device L0s, L1 acceptable exit latenciesSaheed O. Bolarinwa1-19/+10
2021-11-19PCI/ASPM: Stop caching link L0s, L1 exit latenciesSaheed O. Bolarinwa1-11/+17
2021-11-19PCI/ASPM: Move pci_function_0() upwardBolarinwa O. Saheed1-14/+14
2021-11-18PCI/PME: Use PCI_POSSIBLE_ERROR() to check config readsNaveen Naidu1-2/+2
2021-11-18PCI/DPC: Use PCI_POSSIBLE_ERROR() to check config readsNaveen Naidu1-2/+2
2021-11-11Revert "PCI: Use to_pci_driver() instead of pci_dev->driver"Bjorn Helgaas1-4/+4
2021-11-05Merge branch 'pci/misc'Bjorn Helgaas1-1/+1
2021-11-05Merge branch 'pci/sysfs'Bjorn Helgaas1-2/+2
2021-11-05Merge branch 'pci/portdrv'Bjorn Helgaas1-17/+30
2021-11-05Merge branch 'pci/hotplug'Bjorn Helgaas4-40/+17
2021-10-18PCI: Use to_pci_driver() instead of pci_dev->driverUwe Kleine-König1-4/+4
2021-10-16PCI/ERR: Reduce compile time for CONFIG_PCIEAER=nLukas Wunner1-2/+2
2021-10-15PCI/portdrv: Remove unused pcie_port_bus_{,un}register() declarationsLukas Wunner1-2/+0
2021-10-15PCI/portdrv: Remove unused resume err_handlerLukas Wunner2-27/+0
2021-10-15PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot ResetLukas Wunner2-0/+5
2021-10-15PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()Lukas Wunner2-10/+11
2021-10-12PCI/ERR: Factor out common dev->driver expressionsBjorn Helgaas1-16/+24
2021-10-08PCI: Correct misspelled and remove duplicated wordsKrzysztof Wilczyński1-1/+1
2021-09-28PCI: Use kstrtobool() directly, sans strtobool() wrapperKrzysztof Wilczyński1-2/+2
2021-09-20PCI/portdrv: Do not setup up IRQs if there are no usersJan Kiszka1-17/+30
2021-09-07Merge tag 'pci-v5.15-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds3-12/+13
2021-09-02Merge branch 'pci/misc'Bjorn Helgaas1-3/+1
2021-09-02Merge branch 'pci/reset'Bjorn Helgaas1-7/+5
2021-08-31PCI/portdrv: Enable Bandwidth Notification only if port supports itStuart Hayes1-2/+7
2021-08-24PCI: Add pcie_ptm_enabled()Vinicius Costa Gomes1-0/+9
2021-08-20PCI/PTM: Remove error message at bootJakub Kicinski1-3/+1
2021-08-18PCI: Change the type of probe argument in reset functionsAmey Narkhede1-1/+1
2021-08-17PCI: Add pcie_reset_flr() with 'probe' argumentAmey Narkhede1-7/+5
2021-07-06Merge branch 'pci/sysfs'Bjorn Helgaas2-11/+13
2021-07-06Merge branch 'pci/hotplug'Bjorn Helgaas1-5/+69
2021-06-16PCI: pciehp: Ignore Link Down/Up caused by DPCLukas Wunner1-5/+69
2021-06-03PCI/sysfs: Use sysfs_emit() and sysfs_emit_at() in "show" functionsKrzysztof Wilczyński2-11/+13
2021-05-27PCI/AER: Use consistent format when printing PCI deviceYicong Yang1-2/+2
2021-05-04Merge branch 'pci/kernel-doc'Bjorn Helgaas2-4/+4
2021-03-11PCI: Fix kernel-doc errorsKrzysztof Wilczyński2-4/+4
2021-03-10PCI/RCEC: Fix RCiEP device to RCEC associationQiuxu Zhuo1-1/+1
2021-02-25Merge tag 'pci-v5.12-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds7-166/+12
2021-02-24Merge branch 'pci/link'Bjorn Helgaas5-154/+0
2021-02-23PCI/portdrv: Report reset for frozen channelKeith Busch1-1/+2
2021-02-23PCI/AER: Specify the type of Port that was resetKeith Busch1-1/+2
2021-02-23PCI/ERR: Retain status from error notificationKeith Busch1-2/+1
2021-02-23PCI/AER: Clear AER status from Root Port when resetting Downstream PortKeith Busch1-1/+1
2021-02-23PCI/ERR: Clear status of the reporting deviceKeith Busch1-7/+6
2021-02-02PCI/LINK: Remove bandwidth notificationBjorn Helgaas5-154/+0
2021-01-27Revert "PCI/ASPM: Save/restore L1SS Capability for suspend/resume"Bjorn Helgaas1-44/+0
2020-12-15Merge branch 'pci/ptm'Bjorn Helgaas1-0/+60
2020-12-15Merge branch 'pci/err'Bjorn Helgaas8-68/+363
2020-12-10PCI: Disable PTM during suspend to save powerDavid E. Box1-0/+17
2020-12-10PCI/PTM: Save/restore Precision Time Measurement Capability for suspend/resumeDavid E. Box1-0/+43
2020-12-05PCI/AER: Add RCEC AER error injection supportQiuxu Zhuo1-1/+4
2020-12-05PCI/PME: Add pcie_walk_rcec() to RCEC PME handlingSean V Kelley2-10/+15
2020-12-05PCI/AER: Add pcie_walk_rcec() to RCEC AER handlingSean V Kelley2-4/+48
2020-12-05PCI/ERR: Recover from RCiEP AER errorsQiuxu Zhuo2-12/+27
2020-12-05PCI/ERR: Add pcie_link_rcec() to associate RCiEPsSean V Kelley2-0/+97
2020-12-05PCI/ERR: Recover from RCEC AER errorsSean V Kelley2-21/+56
2020-12-04PCI/ERR: Clear AER status only when we control AERSean V Kelley1-2/+11
2020-12-04PCI/ERR: Add pci_walk_bridge() to pcie_do_recovery()Sean V Kelley1-7/+23
2020-12-04PCI/ERR: Avoid negated conditional for claritySean V Kelley1-4/+4
2020-12-04PCI/ERR: Use "bridge" for clarity in pcie_do_recovery()Sean V Kelley1-17/+20
2020-12-04PCI/ERR: Simplify by computing pci_pcie_type() onceSean V Kelley3-8/+11
2020-12-04PCI/ERR: Simplify by using pci_upstream_bridge()Sean V Kelley1-1/+1
2020-12-04PCI/ERR: Rename reset_link() to reset_subordinates()Sean V Kelley1-4/+4