Re: [patch] suspend/resume self-test

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Pavel Machek <pavel@...>, <rjw@...>, <linux-pm@...>, <linux-kernel@...>, Linus Torvalds <torvalds@...>
Date: Monday, February 18, 2008 - 4:16 pm

On Monday 18 February 2008, Ingo Molnar wrote:

I'm all for that, but also I don't want to see it blow up regularly
in the face of people who just enable all the selftest options.  The
other tests have a much better expectation of working "by default".



Thing is, this will catch not just regressions ... but cases where
STR never worked in the first place.  Video problems, etc.  Also
various system startup races, as in the PCMCIA and MMC/SD/SDIO
cases I noted.
 


Until it starts working on a given platform, it *IS* a fact of life.

Once it works, then it's fair to enter "no regressions" mode.  Despite
all the recent improvements, I think it's unwise to pretend that STR
works properly on most systems.



Right, and the best way to ensure that it's only *regressions* that
break things is to expect someone to have configured the kernel command
line appropriately (in grub or whatever).

Another way to achieve that is to include the test code based on one
config option, and change the test *mode* based on another one.  That
way a distro could include that in standard kernels with "no test" mode
as the default, but it would be easy to enable only for oneshot tests
or field troubleshooting ... while developers could turn on the more
dangerous "always test STR" (or standby, or hibernate) mode, if they
were helping to find and fix problems surfaced by such tests.

- Dave
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
sleepy linux self-test, Pavel Machek, (Wed Jan 30, 9:17 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Thu Jan 31, 9:55 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 8:47 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:31 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 2:00 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 3:13 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 3:32 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 3:38 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 10:37 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:05 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:14 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 3:18 am)
Re: [linux-pm] sleepy linux self-test, Sam Ravnborg, (Sun Feb 3, 3:51 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 4:26 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:19 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:35 am)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 1:54 am)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 10, 5:02 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sun Feb 3, 3:05 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 3:32 am)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 8:21 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 9:16 am)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Mon Feb 18, 4:56 am)
[patch] suspend/resume self-test, Ingo Molnar, (Mon Feb 18, 5:46 am)
Re: [patch] suspend/resume self-test, Rafael J. Wysocki, (Mon Feb 18, 7:06 am)
Re: [patch] suspend/resume self-test, Pavel Machek, (Mon Feb 18, 5:53 am)
Re: [patch] suspend/resume self-test, David Brownell, (Mon Feb 18, 6:40 am)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Mon Feb 18, 9:09 am)
Re: [patch] suspend/resume self-test, David Brownell, (Mon Feb 18, 4:16 pm)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Tue Feb 19, 10:40 am)
Re: [patch] suspend/resume self-test, Pavel Machek, (Tue Feb 19, 6:11 am)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Tue Feb 19, 10:43 am)
Re: [patch] suspend/resume self-test, David Brownell, (Tue Feb 19, 3:12 pm)
Re: [patch] suspend/resume self-test, Ingo Molnar, (Wed Feb 20, 6:15 am)
Re: [patch] suspend/resume self-test, Rafael J. Wysocki, (Mon Feb 18, 7:04 am)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 5:29 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 6:42 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 3, 6:48 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sun Feb 3, 7:08 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sun Feb 10, 5:03 pm)
Re: [linux-pm] sleepy linux self-test, Rafael J. Wysocki, (Sun Feb 3, 6:43 pm)
Re: [linux-pm] sleepy linux self-test, Pavel Machek, (Sat Feb 2, 3:59 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:51 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:50 am)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 1:49 pm)
Re: [linux-pm] sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 2:06 pm)
Re: [linux-pm] sleepy linux self-test, David Brownell, (Sat Feb 2, 3:47 pm)
Re: sleepy linux self-test, Ingo Molnar, (Wed Jan 30, 3:36 pm)
Re: sleepy linux self-test, Pavel Machek, (Wed Jan 30, 7:26 pm)
Re: sleepy linux self-test, Ingo Molnar, (Fri Feb 1, 10:22 am)
Re: sleepy linux self-test, Pavel Machek, (Sat Feb 2, 8:45 am)
Re: sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:51 am)
Re: sleepy linux self-test, Ingo Molnar, (Sat Feb 2, 9:49 am)
Re: sleepy linux self-test, Ingo Molnar, (Wed Jan 30, 12:35 pm)
Re: sleepy linux self-test, Pavel Machek, (Wed Jan 30, 12:39 pm)