From: jszhang@marvell.com (Jisheng Zhang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] how to implement suspend to ram for arm64?
Date: Thu, 8 Jan 2015 21:55:08 +0800 [thread overview]
Message-ID: <20150108215508.71e95b7b@xhacker> (raw)
In-Reply-To: <20150108125921.GB1823@red-moon>
Dear Lorenzo,
On Thu, 8 Jan 2015 05:49:26 -0800
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> wrote:
> Hi Jisheng,
>
> On Thu, Jan 08, 2015 at 11:54:08AM +0000, Jisheng Zhang wrote:
> > Hi list,
> >
> > we need the suspend to ram feature on arm64. And I think the fundamental
> > code is ready, for example __cpu_suspend() etc.
> >
> > However, there are several issues need to be resolved...
> >
> > 1. where to put platform_suspend_ops implementation? drivers/power?
> >
> > 2. If the "put ddr to self refresh" code must be in EL3 or secure EL1, how
> > linux tell the firmware to trigger it? extend PSCI or use the context_id
> > of PSCI CPU_SUSPEND function?
> >
> > 3. where to put the cod of invoke suspend_to_ram psci call?
>
> We are working on all the items you mentioned above, inclusive of a PSCI
> spec update.
>
> I will make sure we post the required code on the lists shortly, and keep
> you in the loop.
>
Wow, great! Thank you very much. I have an ugly hack in private repo to support
this feature. I'm sure the hack will be definitely rejected :D
Looking forward to the beautiful standard solution!
Thanks,
Jisheng
prev parent reply other threads:[~2015-01-08 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-08 11:54 [RFC] how to implement suspend to ram for arm64? Jisheng Zhang
2015-01-08 13:49 ` Lorenzo Pieralisi
2015-01-08 13:55 ` Jisheng Zhang [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=20150108215508.71e95b7b@xhacker \
--to=jszhang@marvell.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).