From: Ralf Baechle <ralf@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
linux-mips@linux-mips.org, Pavel Machek <pavel@ucw.cz>
Subject: Re: [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work
Date: Thu, 2 Jul 2009 11:50:24 +0100 [thread overview]
Message-ID: <20090702105024.GD14804@linux-mips.org> (raw)
In-Reply-To: <1246496647.9660.46.camel@falcon>
On Thu, Jul 02, 2009 at 09:04:07AM +0800, Wu Zhangjin wrote:
> > > hi, ralf, in the latest master branch of linux-mips git repo, seems
> > > there is a need to select the SYS_SUPPORTS_HOTPLUG_CPU option in every
> > > uni-processor board, otherwise, the suspend/hibernation can not be used,
> > > because you have set:
> > >
> > > config ARCH_HIBERNATION_POSSIBLE
> > > def_bool y
> > > depends on SYS_SUPPORTS_HOTPLUG_CPU
> > >
> > > config ARCH_SUSPEND_POSSIBLE
> > > def_bool y
> > > depends on SYS_SUPPORTS_HOTPLUG_CPU
> > >
> > > so, the board-specific patch must be pushed by the maintainers of
> > > boards. and if the board support SMP, they must implement the
> > > mips-specific hotplug support, is this right? I have selected
> > > SYS_SUPPORTS_HOTPLUG_CPU in LEMOTE_FULONG and will push a relative patch
> > > later.
> >
> > I think below patch should take care of this problem. It simply assumes
> > that all uniprocessor systems support suspend and hibernate. That's an
> > assumption that I'm not to unhappy with though it may force us to fix a
> > few systems.
> >
>
> This patch is better.
>
> Thanks!
> Wu Zhangjin
Thanks, patch applied.
You're welcome!
Ralf
next prev parent reply other threads:[~2009-07-02 10:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-30 14:41 [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work Wu Zhangjin
2009-06-30 14:45 ` Ralf Baechle
2009-06-30 15:11 ` Wu Zhangjin
2009-07-01 18:07 ` Ralf Baechle
2009-07-02 1:04 ` Wu Zhangjin
2009-07-02 10:50 ` Ralf Baechle [this message]
2009-07-02 6:46 ` Pavel Machek
2009-07-01 7:16 ` Wu Zhangjin
2009-07-01 14:55 ` Wu Zhangjin
2009-07-01 0:19 ` yanhua
2009-07-01 0:37 ` Wu Zhangjin
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=20090702105024.GD14804@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=pavel@ucw.cz \
--cc=wuzhangjin@gmail.com \
/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