Skip to content
Commit c93e072c authored by Jonathan Bell's avatar Jonathan Bell Committed by Dom Cobley
Browse files

PCI: brcmstb: Enable CRS software visibility after linkup



It appears that bits in the Root Control Register are reset with
perst_n, which means the PCI layer's call to enable CRS prior to
adding/scanning the bus has no effect. Open-code the enable in
brcm_pcie_start_link as a workaround.

Without CRS visibility, configuration reads issued by the CPU don't
retire if the endpoint returns a CRS response - the RC will poll until a
(large) timeout is reached. This means the core can stall for a long
time during boot.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent cef54814
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment