Skip to content
  1. Aug 30, 2023
    • Bjorn Helgaas's avatar
      Merge branch 'pci/misc' · 43cc31da
      Bjorn Helgaas authored
      - Reorder struct pci_dev to avoid holes and reduce size (Christophe
        JAILLET)
      
      - Change pdev->rom_attr_enabled to single bit since it's only a boolean
        value (Christophe JAILLET)
      
      - Use struct_size() in pirq_convert_irt_table() instead of hand-writing it
        (Christophe JAILLET)
      
      - Explicitly include correct DT includes to untangle headers (Rob Herring)
      
      - Fix a DOE race between destroy_work_on_stack() and the stack-allocated
        task->work struct going out of scope in pci_doe() (Ira Weiny)
      
      - Use pci_dev_id() when possible instead of manually composing ID from
        dev->bus->number and dev->devfn (Xiongfeng Wang, Zheng Zengkai)
      
      - Move pci_create_resource_files() declarations to linux/pci.h for alpha
        build warnings (Arnd Bergmann)
      
      - Remove unused hotplug function declarations (Yue Haibing)
      
      - Remove unused mvebu struct mvebu_pcie.busn (Pali Rohár)
      
      - Unexport pcie_port_bus_type (Bjorn Helgaas)
      
      - Remove unnecessary sysfs ID local variable initialization (Bjorn Helgaas)
      
      - Fix BAR value printk formatting to accommodate 32-bit values (Bjorn
        Helgaas)
      
      - Use consistent pointer types for config access syscall get_user() and
        put_user() uses (Bjorn Helgaas)
      
      - Simplify AER_RECOVER_RING_SIZE definition (Bjorn Helgaas)
      
      - Simplify pci_pio_to_address() (Bjorn Helgaas)
      
      - Simplify pci_dev_driver() (Bjorn Helgaas)
      
      - Fix pci_bus_resetable(), pci_slot_resetable() name typos (Bjorn Helgaas)
      
      - Fix code and doc typos and code formatting (Bjorn Helgaas)
      
      - Tidy config space save/restore messages (Bjorn Helgaas)
      
      * pci/misc:
        PCI: Tidy config space save/restore messages
        PCI: Fix code formatting inconsistencies
        PCI: Fix typos in docs and comments
        PCI: Fix pci_bus_resetable(), pci_slot_resetable() name typos
        PCI: Simplify pci_dev_driver()
        PCI: Simplify pci_pio_to_address()
        PCI/AER: Simplify AER_RECOVER_RING_SIZE definition
        PCI: Use consistent put_user() pointer types
        PCI: Fix printk field formatting
        PCI: Remove unnecessary initializations
        PCI: Unexport pcie_port_bus_type
        PCI: mvebu: Remove unused busn member
        PCI: Remove unused function declarations
        PCI/sysfs: Move declarations to linux/pci.h
        PCI/P2PDMA: Use pci_dev_id() to simplify the code
        PCI/IOV: Use pci_dev_id() to simplify the code
        PCI/AER: Use pci_dev_id() to simplify the code
        PCI: apple: Use pci_dev_id() to simplify the code
        PCI/DOE: Fix destroy_work_on_stack() race
        PCI: Explicitly include correct DT includes
        x86/PCI: Use struct_size() in pirq_convert_irt_table()
        PCI: Change pdev->rom_attr_enabled to single bit
        PCI: Reorder pci_dev fields to reduce holes
      43cc31da
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/switchtec' · c3ed70f4
      Bjorn Helgaas authored
      - Add support for Switechtec PCIe Gen5 devices (Kelvin Cao)
      
      * pci/controller/switchtec:
        PCI: switchtec: Add support for PCIe Gen5 devices
        PCI: switchtec: Use normal comment style
      c3ed70f4
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/resources' · b7fa64ec
      Bjorn Helgaas authored
      - Use Use devm_platform_get_and_ioremap_resource() instead of open-coding
        platform_get_resource() followed by devm_ioremap_resource() (Yang Li)
      
      * pci/controller/resources:
        PCI: imx6: Use devm_platform_get_and_ioremap_resource()
        PCI: xgene-msi: Use devm_platform_get_and_ioremap_resource()
        PCI: v3: Use devm_platform_get_and_ioremap_resource()
        PCI: rcar-gen2: Use devm_platform_get_and_ioremap_resource()
      b7fa64ec
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/remove-void-cast' · 6cef1263
      Bjorn Helgaas authored
      - Add stubs for devm action functions that call clk_disable_unprepare() to
        avoid casts between incompatible function types (Krzysztof Wilczyński)
      
      * pci/controller/remove-void-cast:
        PCI: microchip: Remove cast between incompatible function type
        PCI: keembay: Remove cast between incompatible function type
        PCI: meson: Remove cast between incompatible function type
      6cef1263
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/vmd' · 663544b5
      Bjorn Helgaas authored
      - Fix disable of bridge windows during domain reset; previously we cleared
        the base/limit registers, which left the windows enabled (Nirmal Patel)
      
      * pci/controller/vmd:
        PCI: vmd: Disable bridge window for domain reset
      663544b5
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/tegra194' · 5ffe43c0
      Bjorn Helgaas authored
      - Revert "PCI: tegra194: Enable support for 256 Byte payload" because Linux
        doesn't know how to reduce MPS from to 256 to 128 bytes for Endpoints
        below a Switch (because other devices below the Switch might already be
        operating), which leads to Malformed TLP errors (Vidya Sagar)
      
      * pci/controller/tegra194:
        Revert "PCI: tegra194: Enable support for 256 Byte payload"
      5ffe43c0
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/rockchip' · a7dfca1a
      Bjorn Helgaas authored
      - Use 64-bit mask on MSI 64-bit PCI address to avoid zeroing out the upper
        32 bits (Rick Wertenbroek)
      
      * pci/controller/rockchip:
        PCI: rockchip: Use 64-bit mask on MSI 64-bit PCI address
      a7dfca1a
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/qcom-ep' · 2195c163
      Bjorn Helgaas authored
      - Log unknown Qcom Endpoint IRQ events at error level, not debug level
        (Manivannan Sadhasivam)
      
      - Add DT and driver support for qcom interconnect bandwidth voting for
        "pcie-mem" and "cpu-pcie" interconnects (Krishna chaitanya chundru)
      
      * pci/controller/qcom-ep:
        PCI: qcom-ep: Add ICC bandwidth voting support
        dt-bindings: PCI: qcom: ep: Add interconnects path
        PCI: qcom-ep: Treat unknown IRQ events as an error
      2195c163
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/qcom-edma' · e8ce465f
      Bjorn Helgaas authored
      - Pass the Qcom Endpoint 4K alignment requirement for outbound windows to
        the EPF core so EPF drivers can use it (Manivannan Sadhasivam)
      
      - Use alignment restriction from EPF core in Qcom EPF MHI driver
        (Manivannan Sadhasivam)
      
      - Add Qcom Endpoint eDMA support by enabling the eDMA IRQ (Manivannan
        Sadhasivam)
      
      - Add Qcom MHI eDMA support (Manivannan Sadhasivam)
      
      - Add Qcom Snapdragon SM8450 support to the EPF MHI driver (Manivannan
        Sadhasivam)
      
      - Use iATU for EPF MHI transfers smaller than 4K to avoid eDMA setup
        latency (Manivannan Sadhasivam)
      
      - Add pci_epc_mem_init() kernel-doc (Manivannan Sadhasivam)
      
      * pci/controller/qcom-edma:
        PCI: endpoint: Add kernel-doc for pci_epc_mem_init() API
        PCI: epf-mhi: Use iATU for small transfers
        PCI: epf-mhi: Add support for SM8450
        PCI: epf-mhi: Add eDMA support
        PCI: qcom-ep: Add eDMA support
        PCI: epf-mhi: Make use of the alignment restriction from EPF core
        PCI: qcom-ep: Pass alignment restriction to the EPF core
      e8ce465f
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/qcom' · fa8805ad
      Bjorn Helgaas authored
      - Configure controller so MHI bus master clock will be switched off while
        in ASPM L1.x states (Manivannan Sadhasivam)
      
      - Add sa8775p DT binding and driver support (Mrinmay Sarkar)
      
      - Fix broken DT SDX65 "compatible" property (Krzysztof Kozlowski)
      
      * pci/controller/qcom:
        dt-bindings: PCI: qcom: Fix SDX65 compatible
        PCI: qcom: Add support for sa8775p SoC
        dt-bindings: PCI: qcom: Add sa8775p compatible
        PCI: qcom-ep: Switch MHI bus master clock off during L1SS
      fa8805ad
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/microchip' · 26d74926
      Bjorn Helgaas authored
      - Fix DED and SEC interrupt bit offsets so interrupt handlers work
        correctly (Daire McNamara)
      
      - Make driver buildable as a module (Daire McNamara)
      
      - Reorganize register #defines to align with hardware docs (Daire McNamara)
      
      - Tweak register accessors to simplify callers (Daire McNamara)
      
      - Refactor interrupt initialisation (Daire McNamara)
      
      - Read FPGA MSI configuration parameters from hardware instead of
        hard-coding them (Daire McNamara)
      
      - Re-partition code between probe() and init() (Daire McNamara)
      
      * pci/controller/microchip:
        PCI: microchip: Re-partition code between probe() and init()
        PCI: microchip: Gather MSI information from hardware config registers
        PCI: microchip: Clean up initialisation of interrupts
        PCI: microchip: Enable event handlers to access bridge and control pointers
        PCI: microchip: Align register, offset, and mask names with HW docs
        PCI: microchip: Enable building driver as a module
        PCI: microchip: Correct the DED and SEC interrupt bit offsets
      26d74926
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/layerscape' · aa5a239c
      Bjorn Helgaas authored
      - Add support for link-down notification so the endpoint driver can process
        LINK_DOWN events (Frank Li)
      
      - Save Link Capabilities during probe so they can be restored when handling
        a link-up event, since the controller loses the Link Width and Link Speed
        values during reset (Xiaowei Bao)
      
      * pci/controller/layerscape:
        PCI: layerscape: Add workaround for lost link capabilities during reset
        PCI: layerscape: Add support for link-down notification
      aa5a239c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/iproc' · d4218e2a
      Bjorn Helgaas authored
      - Use of_property_read_bool() instead of low-level accessors for boolean
        properties (Rob Herring)
      
      * pci/controller/iproc:
        PCI: iproc: Use of_property_read_bool() for boolean properties
      d4218e2a
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/hv' · 59a2b16d
      Bjorn Helgaas authored
      - To avoid a NULL pointer dereference, skip MSI restore after hibernate if
        MSI/MSI-X hasn't been enabled (Dexuan Cui)
      
      * pci/controller/hv:
        PCI: hv: Fix a crash in hv_pci_restore_msi_msg() during hibernation
      59a2b16d
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/fu740' · 9190819c
      Bjorn Helgaas authored
      - Set the supported number of MSI vectors so we can use all available MSI
        interrupts (Yong-Xuan Wang)
      
      * pci/controller/fu740:
        PCI: fu740: Set the number of MSI vectors
      9190819c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/dwc' · f38176d6
      Bjorn Helgaas authored
      - Add an imx6 .host_deinit() callback so we can clean up things like
        regulators on probe failure or driver unload (Mark Brown)
      
      - Add PCIE_PME_TO_L2_TIMEOUT_US value for controller drivers that need to
        manually synchronize power removal (Frank Li)
      
      - Add generic dwc suspend/resume APIs (dw_pcie_suspend_noirq() and
        dw_pcie_resume_noirq()) to be called by controller driver suspend/resume
        ops, and a controller callback to send PME_Turn_Off (Frank Li)
      
      - Add layerscape suspend/resume support, including manual
        PME_Turn_off/PME_TO_Ack handshake (Hou Zhiqiang, Frank Li)
      
      * pci/controller/dwc:
        PCI: layerscape: Add power management support for ls1028a
        PCI: dwc: Implement generic suspend/resume functionality
        PCI: Add PCIE_PME_TO_L2_TIMEOUT_US L2 ready timeout value
        PCI: dwc: Provide deinit callback for i.MX
      f38176d6
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/brcmstb' · 4b3f481c
      Bjorn Helgaas authored
      - Assert PERST# when probing BCM2711 because some bootloaders don't do it
        (Jim Quinlan)
      
      * pci/controller/brcmstb:
        PCI: brcmstb: Remove stale comment
        PCI: brcmstb: Assert PERST# on BCM2711
      4b3f481c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/controller/apple' · 98072e31
      Bjorn Helgaas authored
      - Initialize pcie->nvecs (number of available MSIs) before use (Sven Peter)
      
      * pci/controller/apple:
        PCI: apple: Initialize pcie->nvecs before use
      98072e31
    • Bjorn Helgaas's avatar
      Merge branch 'pci/vpd' · 3c298b84
      Bjorn Helgaas authored
      - Ensure device is accessible before VPD access via sysfs (Alex Williamson)
      
      - Ensure device doesn't go to a low-power state while we're polling for PME
        (Alex Williamson)
      
      * pci/vpd:
        PCI: Fix runtime PM race with PME polling
        PCI/VPD: Add runtime power management to sysfs interface
      3c298b84
    • Bjorn Helgaas's avatar
      Merge branch 'pci/vga' · 93a3241d
      Bjorn Helgaas authored
      - Correct parameter types for vga_str_to_iostate() and
        vga_update_device_decodes() (Sui Jingfeng)
      
      - Simplify vga_arbiter_notify_clients() (Sui Jingfeng)
      
      - Simplify vga_client_register() (Sui Jingfeng)
      
      - Replace MIT license text with SPDX identifier (Sui Jingfeng)
      
      - Fix lots of comment typos (Sui Jingfeng)
      
      * pci/vga:
        PCI/VGA: Fix typos
        PCI/VGA: Replace full MIT license text with SPDX identifier
        PCI/VGA: Simplify vga_client_register()
        PCI/VGA: Simplify vga_arbiter_notify_clients()
        PCI/VGA: Correct vga_update_device_decodes() parameter type
        PCI/VGA: Correct vga_str_to_iostate() io_state parameter type
      93a3241d
    • Bjorn Helgaas's avatar
      Merge branch 'pci/virtualization' · 9ad56b7c
      Bjorn Helgaas authored
      - Avoid bus resets on NVIDIA T4 GPUs because they don't seem to recover (Wu
        Zongyong)
      
      * pci/virtualization:
        PCI: Mark NVIDIA T4 GPUs to avoid bus reset
      9ad56b7c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/pm' · 95cddeae
      Bjorn Helgaas authored
      - Only read PCI_PM_CTRL register when available, to avoid reading the wrong
        register and corrupting dev->current_state (Feiyang Chen)
      
      * pci/pm:
        PCI/PM: Only read PCI_PM_CTRL register when available
      95cddeae
    • Bjorn Helgaas's avatar
      Merge branch 'pci/pcie-rmw' · 8b524514
      Bjorn Helgaas authored
      - Add locking for read/modify/write PCIe Capability Register accessors for
        Link Control and Root Control (Ilpo Järvinen)
      
      - Use PCIe RMW accessors for Link Control updates in PCI core, pciehp,
        amdgpu, radeon, mlx5, ath10k, ath11k, ath12k (Ilpo Järvinen)
      
      - Convert PCIBIOS error values in mlx5 to generic errnos (Ilpo Järvinen)
      
      - Simplify pcie_capability_clear_and_set_word() control flow (Bjorn
        Helgaas)
      
      * pci/pcie-rmw:
        PCI: Simplify pcie_capability_clear_and_set_word() control flow
        net/mlx5: Convert PCI error values to generic errnos
        PCI: Document the Capability accessor RMW improvements
        wifi: ath10k: Use RMW accessors for changing LNKCTL
        wifi: ath12k: Use RMW accessors for changing LNKCTL
        wifi: ath11k: Use RMW accessors for changing LNKCTL
        net/mlx5: Use RMW accessors for changing LNKCTL
        drm/radeon: Use RMW accessors for changing LNKCTL
        drm/amdgpu: Use RMW accessors for changing LNKCTL
        PCI/ASPM: Use RMW accessors for changing LNKCTL
        PCI: pciehp: Use RMW accessors for changing LNKCTL
        PCI: Make link retraining use RMW accessors for changing LNKCTL
        PCI: Add locking to RMW PCI Express Capability Register accessors
      8b524514
    • Bjorn Helgaas's avatar
      Merge branch 'pci/ioport' · d4a0f52c
      Bjorn Helgaas authored
      - Make I/O resources depend on CONFIG_HAS_IOPORT so inw() and friends can
        be completely omitted on architectures without I/O port support (Niklas
        Schnelle)
      
      * pci/ioport:
        PCI/sysfs: Make I/O resource depend on HAS_IOPORT
        PCI: Make quirk using inw() depend on HAS_IOPORT
      d4a0f52c
    • Bjorn Helgaas's avatar
      Merge branch 'pci/hotplug' · 6ab23de2
      Bjorn Helgaas authored
      - Make ibmphp read-only arrays static instead of putting them on the stack
        (Colin Ian King)
      
      * pci/hotplug:
        PCI: ibmphp: Make read-only arrays static
      6ab23de2
    • Bjorn Helgaas's avatar
      Merge branch 'pci/aer' · 3e2a87a0
      Bjorn Helgaas authored
      - Remove pci_disable_pcie_error_reporting() (unused) and unexport
        pci_enable_pcie_error_reporting().  This all done by the PCI core now
        (Bjorn Helgaas)
      
      * pci/aer:
        PCI/AER: Unexport pci_enable_pcie_error_reporting()
        PCI/AER: Drop unused pci_disable_pcie_error_reporting()
      3e2a87a0
  2. Aug 29, 2023
  3. Aug 28, 2023
  4. Aug 27, 2023
  5. Aug 26, 2023