lkml.org 
[lkml]   [2009]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work
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


\
 
 \ /
  Last update: 2009-07-02 12:53    [W:0.718 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site