Centos-kernel-stream-9/drivers/pci/controller
Myron Stowe 267eda472c PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2188822
Upstream Status: cdce67099117ece371582f706c6eff7d3a65326d

commit cdce67099117ece371582f706c6eff7d3a65326d
Author: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Date:   Fri Mar 10 21:34:58 2023 +0900

    PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled

    If CDM_CHECK is enabled (by the DT "snps,enable-cdm-check" property), 'val'
    is overwritten by PCIE_PL_CHK_REG_CONTROL_STATUS initialization.  Commit
    ec7b952f453c ("PCI: dwc: Always enable CDM check if "snps,enable-cdm-check"
    exists") did not account for further usage of 'val', so we wrote improper
    values to PCIE_PORT_LINK_CONTROL when the CDM check is enabled.

    Move the PCIE_PORT_LINK_CONTROL update to be completely after the
    PCIE_PL_CHK_REG_CONTROL_STATUS register initialization.

    [bhelgaas: commit log adapted from Serge's version]
    Fixes: ec7b952f453c ("PCI: dwc: Always enable CDM check if "snps,enable-cdm-check" exists")
    Link: https://lore.kernel.org/r/20230310123510.675685-2-yoshihiro.shimoda.uh@renesas.com
    Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
    Reviewed-by: Serge Semin <fancer.lancer@gmail.com>

Signed-off-by: Myron Stowe <mstowe@redhat.com>
2023-04-22 09:28:42 -06:00
..
cadence PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
dwc PCI: dwc: Fix PORT_LINK_CONTROL update when CDM check enabled 2023-04-22 09:28:42 -06:00
mobiveil PCI: Remove MODULE_LICENSE so boolean drivers don't look like modules 2023-03-29 08:56:44 -06:00
Kconfig PCI: mvebu: Mark driver as BROKEN 2023-03-29 08:56:54 -06:00
Makefile
pci-aardvark.c PCI: aardvark: Switch to using devm_gpiod_get_optional() 2023-03-07 18:02:03 -07:00
pci-ftpci100.c PCI: Drop of_match_ptr() to avoid unused variables 2023-03-07 18:02:03 -07:00
pci-host-common.c
pci-host-generic.c
pci-hyperv-intf.c
pci-hyperv.c genirq: Return a const cpumask from irq_data_get_affinity_mask 2023-04-07 07:31:47 -04:00
pci-ixp4xx.c
pci-loongson.c PCI: loongson: Add more devices that need MRRS quirk 2023-03-29 08:56:43 -06:00
pci-mvebu.c PCI: mvebu: Include <linux/irqdomain.h> explicitly 2023-03-07 18:02:03 -07:00
pci-rcar-gen2.c
pci-tegra.c PCI: Remove MODULE_LICENSE so boolean drivers don't look like modules 2023-03-29 08:56:44 -06:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c PCI: Drop of_match_ptr() to avoid unused variables 2023-03-07 18:02:03 -07:00
pci-versatile.c PCI: Remove MODULE_LICENSE so boolean drivers don't look like modules 2023-03-29 08:56:44 -06:00
pci-xgene-msi.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pci-xgene.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-altera-msi.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-altera.c
pcie-brcmstb.c PCI: brcmstb: Set RCB_{MPS,64B}_MODE bits 2023-03-07 18:00:00 -07:00
pcie-hisi-error.c PCI: Remove MODULE_LICENSE so boolean drivers don't look like modules 2023-03-29 08:56:44 -06:00
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-iproc.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-iproc.h
pcie-mediatek-gen3.c PCI: mediatek-gen3: Change driver name to mtk-pcie-gen3 2022-11-06 09:09:46 -07:00
pcie-mediatek.c PCI: Convert to new *_PM_OPS macros 2022-10-02 09:36:13 -06:00
pcie-microchip-host.c PCI: Remove MODULE_LICENSE so boolean drivers don't look like modules 2023-03-29 08:56:44 -06:00
pcie-mt7621.c PCI: mt7621: Delay phy ports initialization 2023-03-29 08:56:54 -06:00
pcie-rcar-ep.c
pcie-rcar-host.c PCI: Convert to new *_PM_OPS macros 2022-10-02 09:36:13 -06:00
pcie-rcar.c
pcie-rcar.h
pcie-rockchip-ep.c
pcie-rockchip-host.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-rockchip.c
pcie-rockchip.h
pcie-xilinx-cpm.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-xilinx-nwl.c PCI: Remove unnecessary <linux/of_irq.h> includes 2023-03-07 18:02:03 -07:00
pcie-xilinx.c
vmd.c PCI: vmd: Add quirk to configure PCIe ASPM and LTR 2023-03-29 09:01:28 -06:00