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

Shawn Guo shawn.guo at linaro.org
Tue Sep 6 01:48:25 EDT 2011


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.

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
      ARM: smp_scu: remove __init annotation from scu_enable()

 arch/arm/include/asm/hardware/cache-l2x0.h |    2 +-
 arch/arm/kernel/smp_scu.c                  |    2 +-
 arch/arm/mm/cache-l2x0.c                   |   10 +++++-----
 3 files changed, 7 insertions(+), 7 deletions(-)

[1] [PATCH v2 0/5] CPU PM notifiers
http://thread.gmane.org/gmane.linux.ports.arm.kernel/131212/focus=131353

[2] [PATCH 1/7] ARM: l2x0: add empty l2x0_of_init
http://article.gmane.org/gmane.linux.ports.arm.kernel/130878



More information about the linux-arm-kernel mailing list