From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/5] ARM: restart: only perform setup for restart when soft-restarting
Date: Wed, 2 Nov 2011 12:12:00 +0000 [thread overview]
Message-ID: <20111102121159.GF645@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <E1RLGuL-0005If-Od@rmk-PC.arm.linux.org.uk>
Hi Russell,
On Tue, Nov 01, 2011 at 04:09:49PM +0000, Russell King - ARM Linux wrote:
> We only need to set the system up for a soft-restart if we're going to
> be doing a soft-restart. Provide a new function (soft_restart()) which
> does the setup and final call for this, and make platforms use it.
> Eliminate the call to setup_restart() from the default handler.
>
> This means that platforms arch_reset() function is no longer called with
> the page tables prepared for a soft-restart, and caches will still be
> enabled.
>
> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
> ---
> arch/arm/include/asm/system.h | 1 +
> arch/arm/kernel/process.c | 10 +++++++---
> arch/arm/mach-clps711x/include/mach/system.h | 2 +-
> arch/arm/mach-ebsa110/include/mach/system.h | 2 +-
> arch/arm/mach-footbridge/include/mach/system.h | 2 +-
> arch/arm/mach-iop32x/include/mach/system.h | 2 +-
> arch/arm/mach-iop33x/include/mach/system.h | 2 +-
> arch/arm/mach-ixp4xx/include/mach/system.h | 2 +-
> arch/arm/mach-ks8695/include/mach/system.h | 2 +-
> arch/arm/mach-mmp/include/mach/system.h | 4 ++--
> arch/arm/mach-mxs/system.c | 2 +-
> arch/arm/mach-nuc93x/include/mach/system.h | 2 +-
> arch/arm/mach-pnx4008/include/mach/system.h | 2 +-
> arch/arm/mach-pxa/reset.c | 2 +-
> arch/arm/mach-rpc/include/mach/system.h | 2 +-
> arch/arm/mach-s3c2410/include/mach/system-reset.h | 4 ++--
> arch/arm/mach-s3c64xx/include/mach/system.h | 2 +-
> arch/arm/mach-sa1100/include/mach/system.h | 2 +-
> arch/arm/mach-shmobile/include/mach/system.h | 2 +-
> arch/arm/mach-w90x900/include/mach/system.h | 2 +-
> arch/arm/plat-mxc/system.c | 2 +-
> arch/arm/plat-spear/include/plat/system.h | 2 +-
> 22 files changed, 30 insertions(+), 25 deletions(-)
Which branch is this patch taken against? I'm getting conflicts if I try to
apply it against mainline, next, 3.1 or your devel branch.
Thanks,
Will
next prev parent reply other threads:[~2011-11-02 12:12 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 16:07 [RFC 0/5] restart cleanups Russell King - ARM Linux
2011-11-01 16:08 ` [PATCH 1/5] ARM: restart: remove argument to setup_mm_for_reboot() Russell King - ARM Linux
2011-11-01 22:27 ` Ryan Mallon
2011-11-02 14:48 ` Russell King - ARM Linux
2011-11-01 16:08 ` [PATCH 2/5] ARM: restart: get rid of needless at91_arch_reset additional indirection Russell King - ARM Linux
2011-11-01 16:09 ` [PATCH 3/5] ARM: restart: remove local_irq_disable() from within arch_reset() Russell King - ARM Linux
2011-11-01 16:36 ` H Hartley Sweeten
2011-11-01 17:56 ` Russell King - ARM Linux
2011-11-01 16:09 ` [PATCH 4/5] ARM: restart: turn reboot setup code into a library function Russell King - ARM Linux
2011-11-01 16:09 ` [PATCH 5/5] ARM: restart: only perform setup for restart when soft-restarting Russell King - ARM Linux
2011-11-02 12:12 ` Will Deacon [this message]
2011-11-02 12:37 ` Russell King - ARM Linux
2011-11-02 13:11 ` Will Deacon
2011-11-01 16:38 ` [RFC 0/5] restart cleanups Russell King - ARM Linux
2011-11-03 9:12 ` Russell King - ARM Linux
2011-11-03 9:24 ` Kukjin Kim
2011-11-03 9:57 ` Russell King - ARM Linux
2011-11-01 17:02 ` Russell King - ARM Linux
2011-11-02 13:49 ` Richard Purdie
2011-11-02 14:49 ` Russell King - ARM Linux
2011-11-04 13:58 ` Andrea Adami
2011-11-04 14:01 ` Russell King - ARM Linux
2011-11-04 14:22 ` Andrea Adami
2011-11-01 19:23 ` Will Deacon
2011-11-01 19:41 ` Russell King - ARM Linux
2011-11-01 21:19 ` Will Deacon
2011-11-01 23:09 ` Russell King - ARM Linux
2011-11-02 21:33 ` Robert Jarzmik
2011-11-02 23:31 ` Russell King - ARM Linux
2011-11-02 13:35 ` Nicolas Pitre
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=20111102121159.GF645@mudshark.cambridge.arm.com \
--to=will.deacon@arm.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).