On Wed, 2014-01-15 at 11:04 -0500, Kevin O'Connor wrote:
On Wed, Jan 15, 2014 at 02:24:40PM +0200, Marcel Apfelbaum wrote:
On Wed, 2014-01-15 at 14:20 +0200, Marcel Apfelbaum wrote:
On resume, the OS queries the power management event that caused it. In order to complete this task, it executes some reads to the piix pm io space. This all happens before the OS has a chance to restore the PCI config space for devices, so it is bios's responsibility to make sure the pm IO space is configured correctly. (During suspend, the piix pm configuration space is lost).
Note: For 'ordinary' pci devices the config space is saved by the OS on sleep and restored on resume.
Signed-off-by: Marcel Apfelbaum email@example.com
Ooops! I put a [Qemu-devel] prefix, it is going to be a problem?
I fixed it up. The patch also had two header files declaring pci_resume() - I fixed that up as well. It's been committed.
Thanks! And sorry for the mess, I'll be more careful next time... Marcel