[SeaBIOS] [Seabios] [PATCH v2] seabios: restore piix pm config registers after resume

2014-01-15 Thread Marcel Apfelbaum
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

Re: [SeaBIOS] [Seabios] [PATCH v2] seabios: restore piix pm config registers after resume

2014-01-15 Thread Michael S. Tsirkin
On Wed, Jan 15, 2014 at 02:20:06PM +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