]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: brcmstb: Set generation limit before PCIe link up
authorJim Quinlan <james.quinlan@broadcom.com>
Fri, 14 Feb 2025 17:39:29 +0000 (12:39 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:15 +0000 (14:39 +0200)
commit4557922dbfcafc829b9c3a25495ea6d20bc120f0
tree58a0c005de883c1dc7f9729eeec4652e3b5c7af7
parentb23b73ea4c214ea91e1fef9b837295fcda7f15f4
PCI: brcmstb: Set generation limit before PCIe link up

[ Upstream commit 72d36589c6b7bef6b30eb99fcb7082f72faca37f ]

When the user elects to limit the PCIe generation via the appropriate
devicetree property, apply the settings before the PCIe link up, not
after.

Fixes: c0452137034b ("PCI: brcmstb: Add Broadcom STB PCIe host controller driver")
Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20250214173944.47506-2-james.quinlan@broadcom.com
[kwilczynski: commit log]
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/pcie-brcmstb.c