09 Oct, 2020

1 commit

  • sysfs-pci and sysfs-tagging were mis-filed: their locations within
    Documentation/ implied that they were related to file systems. Actually,
    each topic is about a very specific *use* of sysfs, and sysfs *happens*
    to be a (virtual) filesystem, so this is not really the right place.

    It's jarring to be reading about filesystems in general and then come
    across these specific details about PCI, and tagging...and then back to
    general filesystems again.

    Move sysfs-pci to PCI, and move sysfs-tagging to networking. (Thanks to
    Jonathan Corbet for coming up with the final locations.)

    Signed-off-by: John Hubbard
    Link: https://lore.kernel.org/r/20201009070128.118639-1-jhubbard@nvidia.com
    Signed-off-by: Jonathan Corbet

    John Hubbard
     

08 Aug, 2020

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration:
    - Fix pci_cfg_wait queue locking problem (Bjorn Helgaas)
    - Convert PCIe capability PCIBIOS errors to errno (Bolarinwa Olayemi
    Saheed)
    - Align PCIe capability and PCI accessor return values (Bolarinwa
    Olayemi Saheed)
    - Fix pci_create_slot() reference count leak (Qiushi Wu)
    - Announce device after early fixups (Tiezhu Yang)

    PCI device hotplug:
    - Make rpadlpar functions static (Wei Yongjun)

    Driver binding:
    - Add device even if driver attach failed (Rajat Jain)

    Virtualization:
    - xen: Remove redundant initialization of irq (Colin Ian King)

    IOMMU:
    - Add pci_pri_supported() to check device or associated PF (Ashok Raj)
    - Release IVRS table in AMD ACS quirk (Hanjun Guo)
    - Mark AMD Navi10 GPU rev 0x00 ATS as broken (Kai-Heng Feng)
    - Treat "external-facing" devices themselves as internal (Rajat Jain)

    MSI:
    - Forward MSI-X error code in pci_alloc_irq_vectors_affinity() (Piotr
    Stankiewicz)

    Error handling:
    - Clear PCIe Device Status errors only if OS owns AER (Jonathan
    Cameron)
    - Log correctable errors as warning, not error (Matt Jolly)
    - Use 'pci_channel_state_t' instead of 'enum pci_channel_state' (Luc
    Van Oostenryck)

    Peer-to-peer DMA:
    - Allow P2PDMA on AMD Zen and newer CPUs (Logan Gunthorpe)

    ASPM:
    - Add missing newline in sysfs 'policy' (Xiongfeng Wang)

    Native PCIe controllers:
    - Convert to devm_platform_ioremap_resource_byname() (Dejin Zheng)
    - Convert to devm_platform_ioremap_resource() (Dejin Zheng)
    - Remove duplicate error message from devm_pci_remap_cfg_resource()
    callers (Dejin Zheng)
    - Fix runtime PM imbalance on error (Dinghao Liu)
    - Remove dev_err() when handing an error from platform_get_irq()
    (Krzysztof Wilczyński)
    - Use pci_host_bridge.windows list directly instead of splicing in a
    temporary list for cadence, mvebu, host-common (Rob Herring)
    - Use pci_host_probe() instead of open-coding all the pieces for
    altera, brcmstb, iproc, mobiveil, rcar, rockchip, tegra, v3,
    versatile, xgene, xilinx, xilinx-nwl (Rob Herring)
    - Default host bridge parent device to the platform device (Rob
    Herring)
    - Use pci_is_root_bus() instead of tracking root bus number
    separately in aardvark, designware (imx6, keystone,
    designware-host), mobiveil, xilinx-nwl, xilinx, rockchip, rcar (Rob
    Herring)
    - Set host bridge bus number in pci_scan_root_bus_bridge() instead of
    each driver for aardvark, designware-host, host-common, mediatek,
    rcar, tegra, v3-semi (Rob Herring)
    - Move DT resource setup into devm_pci_alloc_host_bridge() (Rob
    Herring)
    - Set bridge map_irq and swizzle_irq to default functions; drivers
    that don't support legacy IRQs (iproc) need to undo this (Rob
    Herring)

    ARM Versatile PCIe controller driver:
    - Drop flag PCI_ENABLE_PROC_DOMAINS (Rob Herring)

    Cadence PCIe controller driver:
    - Use "dma-ranges" instead of "cdns,no-bar-match-nbits" property
    (Kishon Vijay Abraham I)
    - Remove "mem" from reg binding (Kishon Vijay Abraham I)
    - Fix cdns_pcie_{host|ep}_setup() error path (Kishon Vijay Abraham I)
    - Convert all r/w accessors to perform only 32-bit accesses (Kishon
    Vijay Abraham I)
    - Add support to start link and verify link status (Kishon Vijay
    Abraham I)
    - Allow pci_host_bridge to have custom pci_ops (Kishon Vijay Abraham I)
    - Add new *ops* for CPU addr fixup (Kishon Vijay Abraham I)
    - Fix updating Vendor ID and Subsystem Vendor ID register (Kishon
    Vijay Abraham I)
    - Use bridge resources for outbound window setup (Rob Herring)
    - Remove private bus number and range storage (Rob Herring)

    Cadence PCIe endpoint driver:
    - Add MSI-X support (Alan Douglas)

    HiSilicon PCIe controller driver:
    - Remove non-ECAM HiSilicon hip05/hip06 driver (Rob Herring)

    Intel VMD host bridge driver:
    - Use Shadow MEMBAR registers for QEMU/KVM guests (Jon Derrick)

    Loongson PCIe controller driver:
    - Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk() (Tiezhu Yang)

    Marvell Aardvark PCIe controller driver:
    - Indicate error in 'val' when config read fails (Pali Rohár)
    - Don't touch PCIe registers if no card connected (Pali Rohár)

    Marvell MVEBU PCIe controller driver:
    - Setup BAR0 in order to fix MSI (Shmuel Hazan)

    Microsoft Hyper-V host bridge driver:
    - Fix a timing issue which causes kdump to fail occasionally (Wei Hu)
    - Make some functions static (Wei Yongjun)

    NVIDIA Tegra PCIe controller driver:
    - Revert tegra124 raw_violation_fixup (Nicolas Chauvet)
    - Remove PLL power supplies (Thierry Reding)

    Qualcomm PCIe controller driver:
    - Change duplicate PCI reset to phy reset (Abhishek Sahu)
    - Add missing ipq806x clocks in PCIe driver (Ansuel Smith)
    - Add missing reset for ipq806x (Ansuel Smith)
    - Add ext reset (Ansuel Smith)
    - Use bulk clk API and assert on error (Ansuel Smith)
    - Add support for tx term offset for rev 2.1.0 (Ansuel Smith)
    - Define some PARF params needed for ipq8064 SoC (Ansuel Smith)
    - Add ipq8064 rev2 variant (Ansuel Smith)
    - Support PCI speed set for ipq806x (Sham Muthayyan)

    Renesas R-Car PCIe controller driver:
    - Use devm_pci_alloc_host_bridge() (Rob Herring)
    - Use struct pci_host_bridge.windows list directly (Rob Herring)
    - Convert rcar-gen2 to use modern host bridge probe functions (Rob
    Herring)

    TI J721E PCIe driver:
    - Add TI J721E PCIe host and endpoint driver (Kishon Vijay Abraham I)

    Xilinx Versal CPM PCIe controller driver:
    - Add Versal CPM Root Port driver and YAML schema (Bharat Kumar
    Gogada)

    MicroSemi Switchtec management driver:
    - Add missing __iomem and __user tags to fix sparse warnings (Logan
    Gunthorpe)

    Miscellaneous:
    - Replace http:// links with https:// (Alexander A. Klimov)
    - Replace lkml.org, spinics, gmane with lore.kernel.org (Bjorn
    Helgaas)
    - Remove unused pci_lost_interrupt() (Heiner Kallweit)
    - Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h (Huacai Chen)
    - Fix kerneldoc warnings (Krzysztof Kozlowski)"

    * tag 'pci-v5.9-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (113 commits)
    PCI: Fix kerneldoc warnings
    PCI: xilinx-cpm: Add Versal CPM Root Port driver
    PCI: xilinx-cpm: Add YAML schemas for Versal CPM Root Port
    PCI: Set bridge map_irq and swizzle_irq to default functions
    PCI: Move DT resource setup into devm_pci_alloc_host_bridge()
    PCI: rcar-gen2: Convert to use modern host bridge probe functions
    PCI: Remove dev_err() when handing an error from platform_get_irq()
    MAINTAINERS: Add Kishon Vijay Abraham I for TI J721E SoC PCIe
    misc: pci_endpoint_test: Add J721E in pci_device_id table
    PCI: j721e: Add TI J721E PCIe driver
    PCI: switchtec: Add missing __iomem tag to fix sparse warnings
    PCI: switchtec: Add missing __iomem and __user tags to fix sparse warnings
    PCI: rpadlpar: Make functions static
    PCI/P2PDMA: Allow P2PDMA on AMD Zen and newer CPUs
    PCI: Release IVRS table in AMD ACS quirk
    PCI: Announce device after early fixups
    PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    PCI: Remove unused pci_lost_interrupt()
    dt-bindings: PCI: Add EP mode dt-bindings for TI's J721E SoC
    dt-bindings: PCI: Add host mode dt-bindings for TI's J721E SoC
    ...

    Linus Torvalds
     

06 Aug, 2020

1 commit

  • - Convert PCIe capability PCIBIOS errors to errno (Bolarinwa Olayemi
    Saheed)

    - Align PCIe capability and PCI accessor return values (Bolarinwa Olayemi
    Saheed)

    - Replace http:// links with https:// (Alexander A. Klimov)

    - Replace lkml.org, spinics, gmane with lore.kernel.org (Bjorn Helgaas)

    - Update panic message to mention kzalloc(), not kmalloc() (Liao Pingfang)

    - Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h (Huacai Chen)

    - Remove unused pci_lost_interrupt() (Heiner Kallweit)

    * pci/misc:
    PCI: Remove unused pci_lost_interrupt()
    PCI: Move PCI_VENDOR_ID_REDHAT definition to pci_ids.h
    PCI: Fix error in panic message
    PCI: Replace lkml.org, spinics, gmane with lore.kernel.org
    PCI: Replace http:// links with https://
    PCI: Align PCIe capability and PCI accessor return values
    PCI: Convert PCIe capability PCIBIOS errors to errno

    Bjorn Helgaas
     

08 Jul, 2020

1 commit

  • The method struct pci_error_handlers.error_detected() is defined and
    documented as taking an 'enum pci_channel_state' for the second argument,
    but most drivers use 'pci_channel_state_t' instead.

    This 'pci_channel_state_t' is not a typedef for the enum but a typedef for
    a bitwise type in order to have better/stricter typechecking.

    Consolidate everything by using 'pci_channel_state_t' in the method's
    definition, in the related helpers and in the drivers.

    Enforce use of 'pci_channel_state_t' by replacing 'enum pci_channel_state'
    with an anonymous 'enum'.

    Note: Currently, from a typechecking point of view this patch changes
    nothing because only the constants defined by the enum are bitwise, not the
    enum itself (sparse doesn't have the notion of 'bitwise enum'). This may
    change in some not too far future, hence the patch.

    [bhelgaas: squash in
    https://lore.kernel.org/r/20200702162651.49526-3-luc.vanoostenryck@gmail.com
    https://lore.kernel.org/r/20200702162651.49526-4-luc.vanoostenryck@gmail.com]
    Link: https://lore.kernel.org/r/20200702162651.49526-2-luc.vanoostenryck@gmail.com
    Signed-off-by: Luc Van Oostenryck
    Signed-off-by: Bjorn Helgaas

    Luc Van Oostenryck
     

06 Jul, 2020

4 commits

  • Drop the doubled word "when".

    Signed-off-by: Randy Dunlap
    Acked-by: Mike Rapoport
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Bjorn Helgaas
    Cc: linux-pci@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703212156.30453-5-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Drop the doubled word "the".

    Signed-off-by: Randy Dunlap
    Acked-by: Mike Rapoport
    Acked-by: Linas Vepstas
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Bjorn Helgaas
    Cc: Linas Vepstas
    Cc: linux-pci@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703212156.30453-4-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Drop the doubled word "the".

    Signed-off-by: Randy Dunlap
    Acked-by: Mike Rapoport
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Bjorn Helgaas
    Cc: Kishon Vijay Abraham I
    Cc: Lorenzo Pieralisi
    Cc: linux-pci@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703212156.30453-3-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     
  • Drop the doubled word "and".

    Signed-off-by: Randy Dunlap
    Acked-by: Mike Rapoport
    Cc: Jonathan Corbet
    Cc: linux-doc@vger.kernel.org
    Cc: Bjorn Helgaas
    Cc: Kishon Vijay Abraham I
    Cc: Lorenzo Pieralisi
    Cc: linux-pci@vger.kernel.org
    Link: https://lore.kernel.org/r/20200703212156.30453-2-rdunlap@infradead.org
    Signed-off-by: Jonathan Corbet

    Randy Dunlap
     

01 Jul, 2020

2 commits

  • The lkml.org, spinics.net, and gmane.org archives are not very reliable
    and, in some cases, not even easily accessible. Replace links to them with
    links to lore.kernel.org, the archives hosted by kernel.org.

    I found the gmane items via the Wayback Machine archive at
    https://web.archive.org/.

    Signed-off-by: Bjorn Helgaas

    Bjorn Helgaas
     
  • Replace http:// links with https:// links. This reduces the likelihood of
    man-in-the-middle attacks when developers open these links.

    Deterministic algorithm:
    For each file:
    If not .svg:
    For each line:
    If doesn't contain `\bxmlns\b`:
    For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
    If both the HTTP and HTTPS versions
    return 200 OK and serve the same content:
    Replace HTTP with HTTPS.

    [bhelgaas: also update samsung.com links, drop sourceforge link]
    Link: https://lore.kernel.org/r/20200627103050.71712-1-grandmaster@al2klimov.de
    Signed-off-by: Alexander A. Klimov
    Signed-off-by: Bjorn Helgaas

    Alexander A. Klimov
     

27 Jun, 2020

1 commit


20 Jun, 2020

1 commit


07 Jun, 2020

1 commit

  • Pull PCI updates from Bjorn Helgaas:
    "Enumeration:

    - Program MPS for RCiEP devices (Ashok Raj)

    - Fix pci_register_host_bridge() device_register() error handling
    (Rob Herring)

    - Fix pci_host_bridge struct device release/free handling (Rob
    Herring)

    Resource management:

    - Allow resizing BARs for devices on root bus (Ard Biesheuvel)

    Power management:

    - Reduce Thunderbolt resume time by working around devices that don't
    support DLL Link Active reporting (Mika Westerberg)

    - Work around a Pericom USB controller OHCI/EHCI PME# defect
    (Kai-Heng Feng)

    Virtualization:

    - Add ACS quirk for Intel Root Complex Integrated Endpoints (Ashok
    Raj)

    - Avoid FLR for AMD Starship USB 3.0 (Kevin Buettner)

    - Avoid FLR for AMD Matisse HD Audio & USB 3.0 (Marcos Scriven)

    Error handling:

    - Use only _OSC (not HEST FIRMWARE_FIRST) to determine AER ownership
    (Alexandru Gagniuc, Kuppuswamy Sathyanarayanan)

    - Reduce verbosity by logging only ACPI_NOTIFY_DISCONNECT_RECOVER
    events (Kuppuswamy Sathyanarayanan)

    - Don't enable AER by default in Kconfig (Bjorn Helgaas)

    Peer-to-peer DMA:

    - Add AMD Zen Raven and Renoir Root Ports to whitelist (Alex Deucher)

    ASPM:

    - Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges (Kai-Heng Feng)

    Endpoint framework:

    - Fix DMA channel release in test (Kunihiko Hayashi)

    - Add page size as argument to pci_epc_mem_init() (Lad Prabhakar)

    - Add support to handle multiple base for mapping outbound memory
    (Lad Prabhakar)

    Generic host bridge driver:

    - Support building as module (Rob Herring)

    - Eliminate pci_host_common_probe wrappers (Rob Herring)

    Amlogic Meson PCIe controller driver:

    - Don't use FAST_LINK_MODE to set up link (Marc Zyngier)

    Broadcom STB PCIe controller driver:

    - Disable ASPM L0s if 'aspm-no-l0s' in DT (Jim Quinlan)

    - Fix clk_put() error (Jim Quinlan)

    - Fix window register offset (Jim Quinlan)

    - Assert fundamental reset on initialization (Nicolas Saenz Julienne)

    - Add notify xHCI reset property (Nicolas Saenz Julienne)

    - Add init routine for Raspberry Pi 4 VL805 USB controller (Nicolas
    Saenz Julienne)

    - Sync with Raspberry Pi 4 firmware for VL805 initialization (Nicolas
    Saenz Julienne)

    Cadence PCIe controller driver:

    - Remove "cdns,max-outbound-regions" DT property (replaced by
    "ranges") (Kishon Vijay Abraham I)

    - Read 32-bit (not 16-bit) Vendor ID/Device ID property from DT
    (Kishon Vijay Abraham I)

    Marvell Aardvark PCIe controller driver:

    - Improve link training (Marek Behún)

    - Add PHY support (Marek Behún)

    - Add "phys", "max-link-speed", "reset-gpios" to dt-binding (Marek
    Behún)

    - Train link immediately after enabling training to work around
    detection issues with some cards (Pali Rohár)

    - Issue PERST via GPIO to work around detection issues (Pali Rohár)

    - Don't blindly enable ASPM L0s (Pali Rohár)

    - Replace custom macros by standard linux/pci_regs.h macros (Pali
    Rohár)

    Microsoft Hyper-V host bridge driver:

    - Fix probe failure path to release resource (Wei Hu)

    - Retry PCI bus D0 entry on invalid device state for kdump (Wei Hu)

    Renesas R-Car PCIe controller driver:

    - Fix incorrect programming of OB windows (Andrew Murray)

    - Add suspend/resume (Kazufumi Ikeda)

    - Rename pcie-rcar.c to pcie-rcar-host.c (Lad Prabhakar)

    - Add endpoint controller driver (Lad Prabhakar)

    - Fix PCIEPAMR mask calculation (Lad Prabhakar)

    - Add r8a77961 to DT binding (Yoshihiro Shimoda)

    Socionext UniPhier Pro5 controller driver:

    - Add endpoint controller driver (Kunihiko Hayashi)

    Synopsys DesignWare PCIe controller driver:

    - Program outbound ATU upper limit register (Alan Mikhak)

    - Fix inner MSI IRQ domain registration (Marc Zyngier)

    Miscellaneous:

    - Check for platform_get_irq() failure consistently (negative return
    means failure) (Aman Sharma)

    - Fix several runtime PM get/put imbalances (Dinghao Liu)

    - Use flexible-array and struct_size() helpers for code cleanup
    (Gustavo A. R. Silva)

    - Update & fix issues in bridge emulation of PCIe registers (Jon
    Derrick)

    - Add macros for bridge window names (PCI_BRIDGE_IO_WINDOW, etc)
    (Krzysztof Wilczyński)

    - Work around Intel PCH MROMs that have invalid BARs (Xiaochun Lee)"

    * tag 'pci-v5.8-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (100 commits)
    PCI: uniphier: Add Socionext UniPhier Pro5 PCIe endpoint controller driver
    PCI: Add ACS quirk for Intel Root Complex Integrated Endpoints
    PCI/DPC: Print IRQ number used by port
    PCI/AER: Use "aer" variable for capability offset
    PCI/AER: Remove redundant dev->aer_cap checks
    PCI/AER: Remove redundant pci_is_pcie() checks
    PCI/AER: Remove HEST/FIRMWARE_FIRST parsing for AER ownership
    PCI: tegra: Fix runtime PM imbalance on error
    PCI: vmd: Filter resource type bits from shadow register
    PCI: tegra194: Fix runtime PM imbalance on error
    dt-bindings: PCI: Add UniPhier PCIe endpoint controller description
    PCI: hv: Use struct_size() helper
    PCI: Rename _DSM constants to align with spec
    PCI: Avoid FLR for AMD Starship USB 3.0
    PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
    x86/PCI: Drop unused xen_register_pirq() gsi_override parameter
    PCI: dwc: Use private data pointer of "struct irq_domain" to get pcie_port
    PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
    PCI: dwc: Fix inner MSI IRQ domain registration
    PCI: dwc: pci-dra7xx: Use devm_platform_ioremap_resource_byname()
    ...

    Linus Torvalds
     

12 May, 2020

1 commit

  • Make subsection labels more specific to avoid sphinx warnings.

    Exact warning:
    Documentation/PCI/endpoint/pci-endpoint.rst:208: WARNING: duplicate label
    pci/endpoint/pci-endpoint:other apis, other instance in Documentation/PCI/endpoint/pci-endpoint.rst

    Link: https://lore.kernel.org/r/20200503214926.23748-1-bryce.steven.willey@gmail.com
    Signed-off-by: Bryce Willey
    [lorenzo.pieralisi@arm.com: commit log]
    Signed-off-by: Lorenzo Pieralisi
    Acked-by: Bjorn Helgaas
    Acked-by: Rob Herring

    Bryce Willey
     

21 Apr, 2020

1 commit

  • There are some warnings with this file:

    /Documentation/PCI/boot-interrupts.rst:42: WARNING: Unexpected indentation.
    /Documentation/PCI/boot-interrupts.rst:52: WARNING: Block quote ends without a blank line; unexpected unindent.
    /Documentation/PCI/boot-interrupts.rst:92: WARNING: Unexpected indentation.
    /Documentation/PCI/boot-interrupts.rst:98: WARNING: Unexpected indentation.
    /Documentation/PCI/boot-interrupts.rst:136: WARNING: Unexpected indentation.

    It turns that this file conversion to ReST could be improved,
    in order to remove the warnings and provide a better output.

    So, fix the warnings by adjusting blank lines, add a table and
    some list markups. Also, mark endnodes as such.

    Acked-by: Bjorn Helgaas
    Signed-off-by: Mauro Carvalho Chehab
    Link: https://lore.kernel.org/r/a6a9eb16eede10731bcce69a600ab12d92e6ba47.1586881715.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

04 Apr, 2020

1 commit

  • Pull pci updates from Bjorn Helgaas:
    "Enumeration:

    - Revert sysfs "rescan" renames that broke apps (Kelsey Skunberg)

    - Add more 32 GT/s link speed decoding and improve the implementation
    (Yicong Yang)

    Resource management:

    - Add support for sizing programmable host bridge apertures and fix a
    related alpha Nautilus regression (Ivan Kokshaysky)

    Interrupts:

    - Add boot interrupt quirk mechanism for Xeon chipsets and document
    boot interrupts (Sean V Kelley)

    PCIe native device hotplug:

    - When possible, disable in-band presence detect and use PDS
    (Alexandru Gagniuc)

    - Add DMI table for devices that don't use in-band presence detection
    but don't advertise that correctly (Stuart Hayes)

    - Fix hang when powering slots up/down via sysfs (Lukas Wunner)

    - Fix an MSI interrupt race (Stuart Hayes)

    Virtualization:

    - Add ACS quirks for Zhaoxin devices (Raymond Pang)

    Error handling:

    - Add Error Disconnect Recover (EDR) support so firmware can report
    devices disconnected via DPC and we can try to recover (Kuppuswamy
    Sathyanarayanan)

    Peer-to-peer DMA:

    - Add Intel Sky Lake-E Root Ports B, C, D to the whitelist (Andrew
    Maier)

    ASPM:

    - Reduce severity of common clock config message (Chris Packham)

    - Clear the correct bits when enabling L1 substates, so we don't go
    to the wrong state (Yicong Yang)

    Endpoint framework:

    - Replace EPF linkup ops with notifier call chain and improve locking
    (Kishon Vijay Abraham I)

    - Fix concurrent memory allocation in OB address region (Kishon Vijay
    Abraham I)

    - Move PF function number assignment to EPC core to support multiple
    function creation methods (Kishon Vijay Abraham I)

    - Fix issue with clearing configfs "start" entry (Kunihiko Hayashi)

    - Fix issue with endpoint MSI-X ignoring BAR Indicator and Table
    Offset (Kishon Vijay Abraham I)

    - Add support for testing DMA transfers (Kishon Vijay Abraham I)

    - Add support for testing > 10 endpoint devices (Kishon Vijay Abraham I)

    - Add support for tests to clear IRQ (Kishon Vijay Abraham I)

    - Add common DT schema for endpoint controllers (Kishon Vijay Abraham I)

    Amlogic Meson PCIe controller driver:

    - Add DT bindings for AXG PCIe PHY, shared MIPI/PCIe analog PHY (Remi
    Pommarel)

    - Add Amlogic AXG PCIe PHY, AXG MIPI/PCIe analog PHY drivers (Remi
    Pommarel)

    Cadence PCIe controller driver:

    - Add Root Complex/Endpoint DT schema for Cadence PCIe (Kishon Vijay
    Abraham I)

    Intel VMD host bridge driver:

    - Add two VMD Device IDs that require bus restriction mode (Sushma
    Kalakota)

    Mobiveil PCIe controller driver:

    - Refactor and modularize mobiveil driver (Hou Zhiqiang)

    - Add support for Mobiveil GPEX Gen4 host (Hou Zhiqiang)

    Microsoft Hyper-V host bridge driver:

    - Add support for Hyper-V PCI protocol version 1.3 and
    PCI_BUS_RELATIONS2 (Long Li)

    - Refactor to prepare for virtual PCI on non-x86 architectures (Boqun
    Feng)

    - Fix memory leak in hv_pci_probe()'s error path (Dexuan Cui)

    NVIDIA Tegra PCIe controller driver:

    - Use pci_parse_request_of_pci_ranges() (Rob Herring)

    - Add support for endpoint mode and related DT updates (Vidya Sagar)

    - Reduce -EPROBE_DEFER error message log level (Thierry Reding)

    Qualcomm PCIe controller driver:

    - Restrict class fixup to specific Qualcomm devices (Bjorn Andersson)

    Synopsys DesignWare PCIe controller driver:

    - Refactor core initialization code for endpoint mode (Vidya Sagar)

    - Fix endpoint MSI-X to use correct table address (Kishon Vijay
    Abraham I)

    TI DRA7xx PCIe controller driver:

    - Fix MSI IRQ handling (Vignesh Raghavendra)

    TI Keystone PCIe controller driver:

    - Allow AM654 endpoint to raise MSI-X interrupt (Kishon Vijay Abraham I)

    Miscellaneous:

    - Quirk ASMedia XHCI USB to avoid "PME# from D0" defect (Kai-Heng
    Feng)

    - Use ioremap(), not phys_to_virt(), for platform ROM to fix video
    ROM mapping with CONFIG_HIGHMEM (Mikel Rychliski)"

    * tag 'pci-v5.7-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (96 commits)
    misc: pci_endpoint_test: remove duplicate macro PCI_ENDPOINT_TEST_STATUS
    PCI: tegra: Print -EPROBE_DEFER error message at debug level
    misc: pci_endpoint_test: Use full pci-endpoint-test name in request_irq()
    misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
    tools: PCI: Add 'e' to clear IRQ
    misc: pci_endpoint_test: Add ioctl to clear IRQ
    misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
    PCI: keystone: Allow AM654 PCIe Endpoint to raise MSI-X interrupt
    PCI: dwc: Fix dw_pcie_ep_raise_msix_irq() to get correct MSI-X table address
    PCI: endpoint: Fix ->set_msix() to take BIR and offset as arguments
    misc: pci_endpoint_test: Add support to get DMA option from userspace
    tools: PCI: Add 'd' command line option to support DMA
    misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation
    PCI: endpoint: functions/pci-epf-test: Print throughput information
    PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer data
    PCI: pciehp: Fix MSI interrupt race
    PCI: pciehp: Fix indefinite wait on sysfs requests
    PCI: endpoint: Fix clearing start entry in configfs
    PCI: tegra: Add support for PCIe endpoint mode in Tegra194
    PCI: sysfs: Revert "rescan" file renames
    ...

    Linus Torvalds
     

03 Apr, 2020

1 commit

  • - Extend boot interrupt quirk to cover several Xeon chipsets (Sean V
    Kelley)

    - Add documentation about boot interrupts (Sean V Kelley)

    * pci/interrupts:
    Documentation: PCI: Add background on Boot Interrupts
    PCI: Add boot interrupt quirk mechanism for Xeon chipsets

    Bjorn Helgaas
     

29 Mar, 2020

2 commits

  • The AER interfaces to clear error status registers were a confusing mess:

    - pci_cleanup_aer_uncorrect_error_status() cleared non-fatal errors
    from the Uncorrectable Error Status register.

    - pci_aer_clear_fatal_status() cleared fatal errors from the
    Uncorrectable Error Status register.

    - pci_cleanup_aer_error_status_regs() cleared the Root Error Status
    register (for Root Ports), the Uncorrectable Error Status register,
    and the Correctable Error Status register.

    Rename them to make them consistent:

    From To
    ---------------------------------------- -------------------------------
    pci_cleanup_aer_uncorrect_error_status() pci_aer_clear_nonfatal_status()
    pci_aer_clear_fatal_status() pci_aer_clear_fatal_status()
    pci_cleanup_aer_error_status_regs() pci_aer_clear_status()

    Since pci_cleanup_aer_error_status_regs() (renamed to
    pci_aer_clear_status()) is only used within drivers/pci/, move the
    declaration from to drivers/pci/pci.h.

    [bhelgaas: commit log, add renames]
    Link: https://lore.kernel.org/r/d1310a75dc3d28f7e8da4e99c45fbd3e60fe238e.1585000084.git.sathyanarayanan.kuppuswamy@linux.intel.com
    Signed-off-by: Kuppuswamy Sathyanarayanan
    Signed-off-by: Bjorn Helgaas

    Kuppuswamy Sathyanarayanan
     
  • Previously we passed the PCIe service type parameter to pcie_do_recovery(),
    where reset_link() looked up the underlying pci_port_service_driver and its
    .reset_link() function pointer. Instead of using this roundabout way, we
    can just pass the driver-specific .reset_link() callback function when
    calling pcie_do_recovery() function.

    This allows us to call pcie_do_recovery() from code that is not a PCIe port
    service driver, e.g., Error Disconnect Recover (EDR) support.

    Remove pcie_port_find_service() and pcie_port_service_driver.reset_link
    since they are now unused.

    Link: https://lore.kernel.org/r/60e02b87b526cdf2930400059d98704bf0a147d1.1585000084.git.sathyanarayanan.kuppuswamy@linux.intel.com
    Signed-off-by: Kuppuswamy Sathyanarayanan
    Signed-off-by: Bjorn Helgaas

    Kuppuswamy Sathyanarayanan
     

12 Mar, 2020

1 commit

  • Those files got moved, but cross-references still point to the
    wrong places.

    Fixes: fcd680727157 ("Documentation: Add io-mapping.rst to driver-api manual")
    Fixes: d1ce350015d8 ("Documentation: Add io_ordering.rst to driver-api manual")
    Signed-off-by: Mauro Carvalho Chehab
    Reviewed-by: Alex Shi
    Reviewed-by: Andy Shevchenko
    Link: https://lore.kernel.org/r/c0205119db4fef536272cb0a183b6c14c2c8bf4c.1583927470.git.mchehab+huawei@kernel.org
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

10 Mar, 2020

1 commit


30 Dec, 2019

1 commit


28 Aug, 2019

1 commit


23 Aug, 2019

1 commit


16 Aug, 2019

1 commit


07 Aug, 2019

1 commit


24 Jul, 2019

1 commit


17 Jul, 2019

1 commit

  • Convert docs to ReST and add them to the arch-specific
    book.

    The conversion here was trivial, as almost every file there
    was already using an elegant format close to ReST standard.

    The changes were mostly to mark literal blocks and add a few
    missing section title identifiers.

    One note with regards to "--": on Sphinx, this can't be used
    to identify a list, as it will format it badly. This can be
    used, however, to identify a long hyphen - and "---" is an
    even longer one.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Andrew Donnellan # cxl

    Mauro Carvalho Chehab
     

31 May, 2019

11 commits


30 May, 2019

1 commit