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

Gerd Hoffmann kraxel at redhat.com
Mon Jan 13 11:00:43 CET 2014


On Do, 2014-01-02 at 19:00 +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 <marcel.a at redhat.com>

Patch looks good to me.

cheers,
  Gerd





More information about the SeaBIOS mailing list