Thread (31 messages) 31 messages, 6 authors, 2011-09-26
STALE5379d

[PATCH v2 0/2] make reinitialization of ARM core components possible

From: Santosh <hidden>
Date: 2011-09-06 06:01:02

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help