* Re: Question about hibernation on sparc64
[not found] ` <1862521351464447@web28d.yandex.ru>
@ 2012-10-29 9:44 ` marxdenl
0 siblings, 0 replies; only message in thread
From: marxdenl @ 2012-10-29 9:44 UTC (permalink / raw)
To: Kirill Tkhai; +Cc: davem, sparclinux, linux-pm
On Mon, 2012-10-29 at 02:47 +0400, Kirill Tkhai wrote:
>
> 28.10.2012, 19:21, "marxdenl" <marxdenl@gmail.com>:
> > On Thu, 2012-04-12 at 15:48 +0400, Kirill Tkhai wrote:
> >
> >> Hello!
> >>
> >> I bumped on the fact that there is no hibernation support
> >> on sparc64. It's possible that the process of its porting
> >> will become interesting for me in the future, but I'm not
> >> exactly sure at the moment.
> >
> > hi, I'm also intersting to do that. How is that going?
> >
> > Waiting for reply:)
>
> Hi, I did nothing. You may dive into this if you want.
I enabled CONFIG_HIBERNATION, implemented 'swsusp_arch_suspend'
which saves some general registers (%g,%i,%o,%l) and call
'swsusp_save', and 'swsusp_arch_resume' which load 'pblist' and
restore those registers.
Now my T2 can create hibernation images, but after restore the image,
it crashes. If there's something I missed?
Thanks!
--
Linwen Deng
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-29 9:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <80041334231315@web149.yandex.ru>
[not found] ` <1351437674.2747.9.camel@dlw-desktop>
[not found] ` <1862521351464447@web28d.yandex.ru>
2012-10-29 9:44 ` Question about hibernation on sparc64 marxdenl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox