From: marxdenl <marxdenl@gmail.com>
To: Kirill Tkhai <tkhai@yandex.ru>
Cc: davem@davemloft.net, sparclinux@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: Question about hibernation on sparc64
Date: Mon, 29 Oct 2012 17:44:23 +0800 [thread overview]
Message-ID: <1351503863.6005.15.camel@dlw-desktop> (raw)
In-Reply-To: <1862521351464447@web28d.yandex.ru>
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
parent reply other threads:[~2012-10-29 9:44 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1862521351464447@web28d.yandex.ru>]
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=1351503863.6005.15.camel@dlw-desktop \
--to=marxdenl@gmail.com \
--cc=davem@davemloft.net \
--cc=linux-pm@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=tkhai@yandex.ru \
/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