1. 18 11月, 2011 4 次提交
  2. 11 11月, 2011 2 次提交
    • P
      d03299ee
    • P
      drivers: sh: Generalize runtime PM platform stub. · 750a7eee
      Paul Mundt 提交于
      The runtime PM platform support stub in use by ARM-based SH/R-Mobile
      platforms contains nothing that's specifically ARM-related and instead of
      wholly generic to anything using the clock framework.
      
      The recent runtime PM changes interact rather badly with the lazy
      disabling of clocks late in the boot process through the clock framework,
      leading to situations where the runtime suspend/resume paths are entered
      without a clock being actively driven due to having been lazily gated
      off.
      
      In order to correct this we can trivially tie in the aforementioned stub
      as a general fallback for all SH platforms that don't presently have
      their own runtime PM implementations (the corner case being SH-based
      SH-Mobile platforms, which have their own stub through the hwblk API --
      which in turn has bitrotted and will be subsequently adapted to use the
      same stub as everyone else), regardless of whether the platforms choose
      to define power domains of their own or not.
      
      This fixes up regressions for clock framework users who also build in
      runtime PM support without any specific power domains of their own, which
      was previously causing the serial console to be lost when warring with
      lazy clock disabling.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      750a7eee
  3. 04 11月, 2011 1 次提交
  4. 01 11月, 2011 4 次提交
  5. 28 10月, 2011 4 次提交
  6. 21 7月, 2011 2 次提交
  7. 24 6月, 2011 2 次提交
  8. 14 6月, 2011 1 次提交
  9. 27 4月, 2011 1 次提交
  10. 18 4月, 2011 1 次提交
  11. 30 3月, 2011 1 次提交
  12. 29 3月, 2011 2 次提交
  13. 23 3月, 2011 1 次提交
    • R
      sh: Use struct syscore_ops instead of sysdevs · a696b89c
      Rafael J. Wysocki 提交于
      Convert the SuperH clocks framework and shared interrupt handling
      code to using struct syscore_ops instead of a sysdev classes and
      sysdevs for power managment.
      
      This reduces the code size significantly and simplifies it.  The
      optimizations causing things not to be restored after creating a
      hibernation image are removed, but they might lead to undesirable
      effects during resume from hibernation (e.g. the clocks would be left
      as the boot kernel set them, which might be not the same way as the
      hibernated kernel had seen them before the hibernation).
      
      This also is necessary for removing sysdevs from the kernel entirely
      in the future.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      a696b89c
  14. 19 1月, 2011 1 次提交
  15. 11 1月, 2011 1 次提交
  16. 24 12月, 2010 1 次提交
    • P
      sh: intc: Initialize radix tree gfp mask explicitly. · 30f2ba38
      Paul Mundt 提交于
      Presently the root node is initialized by way of kzalloc on the parent
      data structure, which by chance happens to do the bulk of what an
      explicit initialization does with GFP_NOWAIT semantics. This however is
      more by luck than by design, and as we ideally want to permit radix node
      allocations access to the emergency pools anyways, add in the proper
      initializer with the desired mask.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      30f2ba38
  17. 19 11月, 2010 1 次提交
  18. 15 11月, 2010 3 次提交
  19. 10 11月, 2010 1 次提交
    • P
      sh: clkfwk: fix up compiler warnings. · ed10b490
      Paul Mundt 提交于
        CC      drivers/sh/clk/core.o
      drivers/sh/clk/core.c: In function 'clk_round_parent':
      drivers/sh/clk/core.c:574: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
      drivers/sh/clk/core.c:594: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'unsigned int'
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ed10b490
  20. 08 11月, 2010 2 次提交
  21. 02 11月, 2010 2 次提交
  22. 28 10月, 2010 1 次提交
  23. 27 10月, 2010 1 次提交