On Sun, Apr 15, 2012 at 11:32 AM, Rafael J. Wysocki <rjw@xxxxxxx> wrote: > > To fix the regression, make pci_restore_state() only retry the > writes for BAR registers and only wait if the first read from > the register doesn't return the written value. Additionally, make > it use msleep() instead of mdelay() for waiting. WHAT? msleep() is the one that can sleep. So that part of the change is just crazy. There's no way you can sleep during PCI register restore. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html