[Intel-gfx] [PATCH i-g-t 2/4] lib: Skip suspend/hibernate tests if the system doesn't support them

David Weinehall david.weinehall at linux.intel.com
Wed Oct 28 02:08:10 PDT 2015

On Tue, Oct 27, 2015 at 10:02:09AM -0700, Jesse Barnes wrote:
> > Depending on what the hardware supports, for hibernate to disk there's ipmi power-on.
> > 
> > ipmi-power -h $hostname --stat will show the status of the machine,
> > ipmi-power -h $hostname --on will power it on.
> > 
> > Maybe wake-on-lan could be an option too?
> If there's some way to automate these into the tests, that would be
> ideal, otherwise including them in the Jenkins setup for platforms that
> don't have RTC wake would be good so we can get full test coverage.

I don't think it can buy us full coverage; there are embedded devices
that lack RTC, and it's rather rare that they have IPMI support
(dunno if they typically have wol support).

Devices that have USB host mode could possibly be wakened by simulating
an USB HID-device, at least for devices that can be configured to wake
on keypress.

Other than that though, guess the options are either to hardwire the
devices to wake on power-on and do hard power-cycle using a fake-battery
(if testing battery powered devices) or a remote controlled power

Regards, David

More information about the Intel-gfx mailing list