Thread (11 messages) 11 messages, 4 authors, 2011-08-31
STALE5389d
Revisions (4)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 current

[PATCH 1/3] ARM: cache-l2x0: make the reinitialization possible

From: Barry Song <hidden>
Date: 2011-08-30 23:11:07

2011/8/30 Shawn Guo [off-list ref]:
On Tue, Aug 30, 2011 at 10:08:59PM +0800, Barry Song wrote:
quoted
2011/8/30 Shawn Guo [off-list ref]:
quoted
If ARM core gets powered off during suspend, L2 cache controller
has to be reinitialized by resume procedure.

The patch removes __init annotation from a few initialization
functions to make the reinitialization possible. ?For example,
platform resume function can call l2x0_of_init() to get L2 cache
back to work.
i think it is good. and i have sent a similar patch before:

http://www.spinics.net/lists/arm-kernel/msg137372.html
[PATCH v2 3/4] ARM: L2X0: move l2x0_init out of .init section
Since prima2 supports DT, you may also want to call l2x0_of_init()
instead of l2x0_init(). ?l2x0_of_init() will parse configuration from
DT and sets up tag RAM control for you.
i know that. and rob's patch did some suppport to prima2 and we were
in the loop of that patch and i have acked it if you read the mail.
i sent the patch againest the Linus's tree.
--
Regards,
Shawn


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help