All of lore.kernel.org
 help / color / mirror / Atom feed
From: santosh.shilimkar@ti.com (Santosh)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] make reinitialization of ARM core components possible
Date: Tue, 06 Sep 2011 11:31:02 +0530	[thread overview]
Message-ID: <4E65B71E.6060307@ti.com> (raw)
In-Reply-To: <1315288107-14689-1-git-send-email-shawn.guo@linaro.org>

On Tuesday 06 September 2011 11:18 AM, Shawn Guo wrote:
> When ARM core resumes from low-power mode where losing power, for my
> example: CA-9 MPCore resumes from Dormant/Shutdown, we have to
> reinitialize components like L2 Cache, GIC and SCU to bring system
> back to work.
>
I think you mean to drop GIC from above as well.

> The patch set basically removes __init annotation from a bunch of
> initialization functions, so that platform resume procedure can call
> into them again to set those components up.
>
> Changes since v1:
>   * Drop the GIC patch, as it's been handled by [1] nicely.
>   * Drop the change of adding empty l2x0_of_init(), as it's been
>     handled by [2].
>
> Shawn Guo (2):
>        ARM: cache-l2x0: remove __init annotation from initialization functions
Do you really need to do a re-init function for L2.
Look at the OMAP code, You just need to restore the configuration 
registers and that's it. And the save can be done only once because
these are configuration register which won't change in the live system.

>        ARM: smp_scu: remove __init annotation from scu_enable()
>
This init is really small one so should be ok but I still feel a
simple register restore is better.

  parent reply	other threads:[~2011-09-06  6:01 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06  5:48 [PATCH v2 0/2] make reinitialization of ARM core components possible Shawn Guo
2011-09-06  5:48 ` [PATCH v2 1/2] ARM: cache-l2x0: remove __init annotation from initialization functions Shawn Guo
2011-09-06  7:19   ` Linus Walleij
2011-09-12  5:27     ` Shawn Guo
2011-09-14  8:42   ` Russell King - ARM Linux
2011-09-14  8:53     ` Santosh
2011-09-14 19:05       ` Russell King - ARM Linux
2011-09-14  9:59     ` Barry Song
2011-09-15  1:39     ` Shawn Guo
2011-09-15  8:32       ` Russell King - ARM Linux
2011-09-16  3:24         ` Barry Song
2011-09-17 10:45           ` Russell King - ARM Linux
2011-09-17 14:41             ` Barry Song
2011-09-17 14:56               ` Russell King - ARM Linux
2011-09-19  3:36                 ` Barry Song
2011-09-19  5:33                 ` Barry Song
2011-09-23 20:55                   ` Russell King - ARM Linux
2011-09-26  2:43                     ` Barry Song
2011-09-17 15:14             ` Shawn Guo
2011-09-06  5:48 ` [PATCH v2 2/2] ARM: smp_scu: remove __init annotation from scu_enable() Shawn Guo
2011-09-17  8:32   ` Shawn Guo
2011-09-22 15:04     ` Shawn Guo
2011-09-23 20:49       ` Russell King - ARM Linux
2011-09-24 10:39         ` Shawn Guo
2011-09-24 10:38           ` Russell King - ARM Linux
2011-09-06  6:01 ` Santosh [this message]
2011-09-06  7:02   ` [PATCH v2 0/2] make reinitialization of ARM core components possible Santosh
2011-09-12  5:41   ` Shawn Guo
2011-09-14 19:07     ` Russell King - ARM Linux
2011-09-15  1:53       ` Shawn Guo
2011-09-15  8:43         ` Russell King - ARM Linux

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=4E65B71E.6060307@ti.com \
    --to=santosh.shilimkar@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.