On Thu, 29 May 2008 13:33:41 -0700 David Brownell <david-b@xxxxxxxxxxx> wrote: > Boot-time test for system suspend states (STR or standby). The generic > RTC framework triggers wakeup alarms, which are used to exit those states. > > - Measures some aspects of suspend time ... this uses "jiffies" until > someone converts it to use a timebase that works properly even while > timer IRQs are disabled. > > - Triggered by a command line parameter. By default nothing even > vaguely troublesome will happen, but "test_suspend=mem" will give > you a brief STR test during system boot. (Or you may need to use > "test_suspend=standby" instead, if your hardware needs that.) > > This isn't without problems. It fires early enough during boot that for > example both PCMCIA and MMC stacks have misbehaved. The workaround in > those cases was to boot without such media cards inserted. mips allmodconfig: kernel/built-in.o(.init.text+0x5b30): In function `test_suspend': : undefined reference to `rtc_class' kernel/built-in.o(.init.text+0x5b38): In function `test_suspend': : undefined reference to `rtc_class' kernel/built-in.o(.init.text+0x5ba4): In function `test_suspend': : undefined reference to `rtc_class_open' kernel/built-in.o(.init.text+0x5c30): In function `test_suspend': : undefined reference to `rtc_read_time' kernel/built-in.o(.init.text+0x5d50): In function `test_suspend': : undefined reference to `rtc_set_alarm' kernel/built-in.o(.init.text+0x5f6c): In function `test_suspend': : undefined reference to `rtc_class_close' some of these are already exported, so something else went wrong. _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm