aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc/pcie-qcom-ep.c
diff options
context:
space:
mode:
authorSiddharth Vadapalli <[email protected]>2024-03-28 08:50:41 +0000
committerBjorn Helgaas <[email protected]>2024-05-28 16:15:15 +0000
commit9ffa0e70b2daf9b0271e4960b7c8a2350e2cda08 (patch)
tree2477d77a291505be83be42f829e2b2de657fc0b4 /drivers/pci/controller/dwc/pcie-qcom-ep.c
parentPCI: keystone: Relocate ks_pcie_set/clear_dbi_mode() (diff)
downloadkernel-9ffa0e70b2daf9b0271e4960b7c8a2350e2cda08.tar.gz
kernel-9ffa0e70b2daf9b0271e4960b7c8a2350e2cda08.zip
PCI: keystone: Don't enable BAR 0 for AM654x
After 6ab15b5e7057 ("PCI: dwc: keystone: Convert .scan_bus() callback to use add_bus"), ks_pcie_v3_65_add_bus() enabled BAR 0 for both v3.65a and v4.90a devices. On the AM654x SoC, which uses v4.90a, enabling BAR 0 causes Completion Timeouts when setting up MSI-X. These timeouts delay boot of the AM654x by about 45 seconds. Move the BAR 0 initialization to ks_pcie_msi_host_init(), which is only used for v3.65a devices, and remove ks_pcie_v3_65_add_bus(). [bhelgaas: commit log] Fixes: 6ab15b5e7057 ("PCI: dwc: keystone: Convert .scan_bus() callback to use add_bus") Link: https://lore.kernel.org/linux-pci/[email protected] Suggested-by: Bjorn Helgaas <[email protected]> Suggested-by: Niklas Cassel <[email protected]> Suggested-by: Serge Semin <[email protected]> Signed-off-by: Siddharth Vadapalli <[email protected]> Signed-off-by: Krzysztof WilczyƄski <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions