From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 3/4] ARM: EXYNOS4: Add support AFTR mode cpuidle state on EXYNOS4210
Date: Sun, 21 Aug 2011 18:18:51 +0100 [thread overview]
Message-ID: <20110821171851.GG28546@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1313759400-31347-3-git-send-email-amit.kachhap@linaro.org>
On Fri, Aug 19, 2011 at 06:39:59PM +0530, Amit Daniel Kachhap wrote:
> +ENTRY(exynos4_enter_lp)
> + stmfd sp!, { r3 - r12, lr }
> +
> + adr r0, sleep_save_misc
> +
> + mrc p15, 0, r2, c15, c0, 0 @ read power control register
> + str r2, [r0], #4
> +
> + mrc p15, 0, r2, c15, c0, 1 @ read diagnostic register
> + str r2, [r0], #4
> +
> + ldr r3, =resume_with_mmu
> + bl cpu_suspend
> +
> + mov r0, sp
> + bl exynos4_cpu_lp
> +
> + /* Restore original sp */
> + mov r0, sp
> + add r0, r0, #4
> + ldr sp, [r0]
> +
> + mov r0, #0
> + b early_wakeup
This is based upon old kernel code. Clearly hasn't been tested with
anything later than 3.0.
next prev parent reply other threads:[~2011-08-21 17:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 13:09 [RFC PATCH 0/4] ARM: EXYNOS4: Use cpuidle common save/restore framework code Amit Daniel Kachhap
2011-08-19 13:09 ` [RFC PATCH 1/4] ARM: kernel: Small fixes in save/restore common code Amit Daniel Kachhap
2011-08-19 14:33 ` Amit Kucheria
2011-08-26 15:56 ` Lorenzo Pieralisi
2011-08-19 13:09 ` [RFC PATCH 2/4] ARM: EXYNOS4: Fix to work with origen boards Amit Daniel Kachhap
2011-08-19 13:59 ` Kyungmin Park
2011-08-22 17:01 ` Amit Kachhap
2011-08-19 13:09 ` [RFC PATCH 3/4] ARM: EXYNOS4: Add support AFTR mode cpuidle state on EXYNOS4210 Amit Daniel Kachhap
2011-08-21 17:18 ` Russell King - ARM Linux [this message]
2011-08-22 16:55 ` Amit Kachhap
2011-08-19 13:10 ` [RFC PATCH 4/4] ARM: EXYNOS4: Modify cpuidle code to adapt to save/restore common code Amit Daniel Kachhap
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=20110821171851.GG28546@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--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).