Skip to content
Commit 26f41062 authored by Kay, Allen M's avatar Kay, Allen M Committed by Jesse Barnes
Browse files

PCI: check for pci bar restore completion and retry



On some OEM systems, pci_restore_state() is called while FLR has not yet
completed.  As a result, PCI BAR register restore is not successful.  This fix
reads back the restored value and compares it with saved value and re-tries 10
times before giving up.

Signed-off-by: default avatarJean Guyader <jean.guyader@eu.citrix.com>
Signed-off-by: default avatarEric Chanudet <eric.chanudet@citrix.com>
Signed-off-by: default avatarAllen Kay <allen.m.kay@intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 2debd928
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