From: kgene@kernel.org (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9] ARM: EXYNOS: Use MCPM call-backs to support S2R on Exynos5420
Date: Tue, 28 Oct 2014 19:12:01 +0900 [thread overview]
Message-ID: <03ae01cff297$9d5dd6f0$d81984d0$@kernel.org> (raw)
In-Reply-To: <CABxcv=kh9F3nNDUFMv9CDCDch+A2wAE+bStegKGVbte9-Yu-wQ@mail.gmail.com>
Javier Martinez Canillas wrote:
>
> Hello Abhilash,
>
> On Wed, Oct 8, 2014 at 7:41 AM, Abhilash Kesavan <a.kesavan@samsung.com> wrote:
> > Use the MCPM layer to handle core suspend/resume on Exynos5420.
> > Also, restore the entry address setup code post-resume.
> >
> > Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> > Acked-by: Nicolas Pitre <nico@linaro.org>
> > ---
> > Changes in v2:
> > - Made use of the MCPM suspend/powered_up call-backs
> > Changes in v3:
> > - Used the residency value to indicate the entered state
> > Changes in v4:
> > - Checked if MCPM has been enabled to prevent build error
> > Changes in v5:
> > - Removed the MCPM flags and just used a local flag to
> > indicate that we are suspending.
> > Changes in v6:
> > - Read the SYS_PWR_REG value to decide if we are suspending
> > the system.
> > - Restore the SYS_PWR_REG value post-resume.
> > - Modified the comments to reflect the first change.
> > Changes in v7:
> > - Add the suspend check in exynos_cpu_power_down() rather
> > than the MCPM back-end.
> > - Clean-up unnecessary changes related to earlier versions.
> > Changes in v8:
> > - Rebased on the latest exynos PMU/PM support patches.
> > Changes in v9:
> > - Fixed rebasing issues in v8
> > - Used pmu_raw_readl instead of __raw_readl
> >
> > This patch is based on kgene's for-next branch.
> > http://git.kernel.org/cgit/linux/kernel/git/kgene/linux-samsung.git/log/?h=for-next
> >
> > Here are the dependencies:
> > 1) Decouple syscon interface from platform devices - v7
> > http://lkml.org/lkml/2014/9/30/156
> >
> > 2) ARM: Exynos: Convert PMU implementation into a platform driver - v9
> > https://lkml.org/lkml/2014/10/6/89
> >
> > 3) Exynos5420 PMU/S2R Series - v9
> > http://www.spinics.net/lists/arm-kernel/msg368207.html
> >
> > arch/arm/mach-exynos/mcpm-exynos.c | 32 +++++++++++++++--------
> > arch/arm/mach-exynos/platsmp.c | 12 +++++++++
> > arch/arm/mach-exynos/suspend.c | 49 ++++++++++++++++++++++++++++++++----
> > 3 files changed, 78 insertions(+), 15 deletions(-)
[...]
> > --
>
> Patch looks good to me and also I tested on my Exynos5420 Peach Pit
> and Suspend-to-Ram and resume is working correctly, so:
>
> Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>
Thanks for your review and test.
- Kukjin
next prev parent reply other threads:[~2014-10-28 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 5:41 [PATCH v9] ARM: EXYNOS: Use MCPM call-backs to support S2R on Exynos5420 Abhilash Kesavan
2014-10-08 9:08 ` Javier Martinez Canillas
2014-10-28 10:12 ` Kukjin Kim [this message]
2014-10-28 9:03 ` Javier Martinez Canillas
2014-10-28 10:10 ` Kukjin Kim
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='03ae01cff297$9d5dd6f0$d81984d0$@kernel.org' \
--to=kgene@kernel.org \
--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