From: Kay, Allen M Date: Thu, 26 Jan 2012 18:25:53 +0000 (-0800) Subject: PCI: check for pci bar restore completion and retry X-Git-Tag: v3.4-rc1~114^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26f41062f28de65e11d3cf353e52d0be73442be1;p=pandora-kernel.git 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: Jean Guyader Signed-off-by: Eric Chanudet Signed-off-by: Allen Kay Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed