Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rk3588PciHostBridgeLib: Try to avoid a potential bus hang up
Some devices that appear to have working CFG0 filtering (my VIA VL805) do not actually like config cycles at B/D/F 01:01.0 and may screw up further accesses (e.g. read 0xFFFFFFFF at valid locations) + eventually hang up the bus after a few more attempts. Checking for mirroring in this case is asking for trouble, but it seems that trying 01:01.0 first and then 01:00.0 avoids the problem in UEFI. OSes that rely on single device ECAM mode in ACPI are still going to hang up the system, since they scan the entire affected bus. Signed-off-by: Mario Bălănică <[email protected]>
- Loading branch information