Skip to content
Commit e599180a authored by Jeremy Linton's avatar Jeremy Linton Committed by Ard Biesheuvel
Browse files

Silicon/Broadcom/Bcm27xx: Move linkup check into the cfg accessor



The existing code fails to create/finish configuring the
pcie subsystem if it fails to get a linkup. This is reasonable
on the RPi4 because it generally won't happen, and the OS
could not see the root port. Now that the OS can see the
root port, its a bit odd if it only shows up when
something is plugged into the first slot. Lets move the
link up check into the config accessor where it will be used
to restrict sending CFG TLP's out the port when nothing is
plugged in. Thus avoiding a SERROR during probe.

Signed-off-by: Jeremy Linton's avatarJeremy Linton <jeremy.linton@arm.com>
Reviewed-by: default avatarAndrei Warkentin <awarkentin@vmware.com>
Tested-by: default avatarJared McNeill <jmcneill@invisible.ca>
parent 4e9ab2f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment