lkml.org 
[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 04/28] ARM: mm: cache-l2x0: Add support for re-enabling l2x0
From
Date
On Tue, 2011-01-25 at 15:41 +0000, Russell King - ARM Linux wrote:
> I think we need to come up with some proper way to deal with cpuidle
> which doesn't involve adding lots of globally visible functions to all
> sorts of bits of code and having platforms call them individually,
> otherwise this is going to get _really_ messy in the future.
>
> Maybe we need a notifier list which can be told when cpuidle events
> happen, so that parts of the system such as VFP and L2 cache support
> can do the right thing without having platforms add lots of stuff like
>
> gic_secondary_init();
> gic_restore_interrupt_types();
> vfp_enable();
> l2x0_enable();
> twd_enable();
> ... etc ...
>
> in their SoC specific code.

But do we need a strict order between such operations? The notifier call
chain isn't too flexible.

--
Catalin




\
 
 \ /
  Last update: 2011-01-25 19:17    [W:0.077 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site