public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: David Brownell <david-b@pacbell.net>
Cc: lkml <linux-kernel@vger.kernel.org>,
	linux-pm@lists.linux-foundation.org, Ingo Molnar <mingo@elte.hu>,
	Pavel Machek <pavel@suse.cz>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [patch 2.6.26-rc4-git] PM: boot time suspend selftest
Date: Wed, 23 Jul 2008 01:19:54 -0700	[thread overview]
Message-ID: <20080723011954.aa7bf26e.akpm@linux-foundation.org> (raw)
In-Reply-To: <200805291333.42057.david-b@pacbell.net>

On Thu, 29 May 2008 13:33:41 -0700 David Brownell <david-b@pacbell.net> 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.

      parent reply	other threads:[~2008-07-23  8:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 20:33 [patch 2.6.26-rc4-git] PM: boot time suspend selftest David Brownell
2008-05-29 21:01 ` Rafael J. Wysocki
2008-05-29 21:26   ` David Brownell
2008-05-29 21:29     ` Rafael J. Wysocki
2008-05-29 23:06       ` Andrew Morton
2008-05-30  4:34         ` David Brownell
2008-05-29 23:22 ` Andrew Morton
2008-05-30 10:59   ` Ingo Molnar
2008-05-30 19:04     ` Andrew Morton
2008-06-03  9:27   ` [PATCH] add a printk_init variant storing format strings in __initdata Andy Whitcroft
2008-06-03 16:41     ` Johannes Weiner
2008-06-03 17:49     ` [linux-pm] " Johannes Berg
2008-06-04  8:16     ` Andrew Morton
2008-06-04  8:32       ` MinChan Kim
2008-06-04  8:59       ` David Woodhouse
2008-06-04  9:10         ` [linux-pm] " Johannes Berg
2008-06-04  9:17           ` David Woodhouse
2008-06-04 10:51             ` Johannes Berg
2008-06-04 11:43       ` Alan Cox
2008-06-04  8:56     ` David Woodhouse
2008-06-03 10:45   ` [patch 2.6.26-rc4-git] PM: boot time suspend selftest Andy Whitcroft
2008-07-07  4:12   ` David Brownell
2008-07-23  8:19 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080723011954.aa7bf26e.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=david-b@pacbell.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mingo@elte.hu \
    --cc=pavel@suse.cz \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox