linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: sophian.yoma@gmail.com (yoma sophian)
To: linux-arm-kernel@lists.infradead.org
Subject: how to enable suspend to ram for arm-64 bits
Date: Thu, 18 Aug 2016 10:07:59 +0800	[thread overview]
Message-ID: <CADUS3onUDk_=UpRoZy1m0hV1VGZYSf22ea8D10MpDbqJCfTkqw@mail.gmail.com> (raw)
In-Reply-To: <06a4f0d7-9022-578d-99e0-ddcde31ed895@arm.com>

hi Sudeep

> Correct. What's the cpu enable method on your platform ? Is it PSCI ?
No, the enable method is "spin-table"

> If yes, does you PSCI implementation support SYSTEM_SUSPEND ? If yes,
> it should work. Check your PSCI implementation otherwise.

if so, there are 2 things make me curious:
a. I trace arch/arm64/kernel/psci.c even arch/arm64/*, but I sill
cannot find where it create global suspend method table with
suspend_set_ops.
# grep -rnw 'suspend_set_ops' ../linux-4.1/arch/arm64/
#
except arch/xxx folder, there are
../linux-4.1/drivers/macintosh/via-pmu.c:2276:    suspend_set_ops(&pmu_pm_ops);
../linux-4.1/drivers/acpi/sleep.c:666:    suspend_set_ops(old_suspend_ordering ?
Does that mean aarch64 register suspend_set_ops by apci flow when
adopt PSCI implementation?

b. in arm64, if some platform has its own suspend flow,  couldn't it
adopts arm/match-xxx to register its own global suspend method?

appreciate your kind help,

  reply	other threads:[~2016-08-18  2:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 17:26 how to enable suspend to ram for arm-64 bits yoma sophian
2016-08-17 17:49 ` Sudeep Holla
2016-08-18  2:07   ` yoma sophian [this message]
2016-08-18  8:47     ` Sudeep Holla
2016-08-18 10:43       ` yoma sophian
2016-08-18 10:52         ` Sudeep Holla
2016-08-22 14:41           ` yoma sophian
2016-08-22 15:00             ` Sudeep Holla
2016-10-18 10:00       ` Pavel Machek
2016-10-18 10:21         ` Sudeep Holla
2016-10-18 10:28         ` Lorenzo Pieralisi
2016-10-18 10:45         ` Mark Rutland
2016-10-18 10:59           ` Sudeep Holla
2016-10-19  7:18             ` yoma sophian
2016-10-19  9:42           ` Pavel Machek
2016-10-19 13:11             ` Mark Rutland
2016-11-03  9:57               ` Pavel Machek

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='CADUS3onUDk_=UpRoZy1m0hV1VGZYSf22ea8D10MpDbqJCfTkqw@mail.gmail.com' \
    --to=sophian.yoma@gmail.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).