1. 22 4月, 2013 1 次提交
  2. 18 3月, 2013 1 次提交
    • M
      ARM: shmobile: INTC External IRQ pin driver on r8a7779 · 8e56e6d5
      Magnus Damm 提交于
      Update the r8a7779 IRQ code to make use of the
      INTC External IRQ pin driver for external
      interrupt pins IRQ0 -> IRQ3.
      
      The r8a7779 SoC can like older SH SoCs configure
      to use the IRQ0 -> IRQ3 signals as individual
      interrupts or a combined IRL mode.
      
      Without this patch the r8a7779 SoC code does
      not fully support external IRQ pins in individual
      IRQ mode. The r8a7779 PFC code does not yet have
      gpio_to_irq() support so no need to update such
      code.
      
      At this point the DT reference implementations
      are not covered. In the future such code shall
      tie in the INTC External IRQ pin driver via
      DT, so this kind of verbose code is not needed
      for the long term DT case.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Tested-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      8e56e6d5
  3. 13 3月, 2013 8 次提交
  4. 30 1月, 2013 1 次提交
  5. 25 1月, 2013 6 次提交
  6. 25 12月, 2012 1 次提交
  7. 06 11月, 2012 2 次提交
  8. 09 10月, 2012 1 次提交
    • A
      ARM: shmobile: mark shmobile_init_late as __init · b3796d92
      Arnd Bergmann 提交于
      Patch 35f2b0bd "ARM: shmobile: Move definition of shmobile_init_late()
      to header" moved the definition of the shmobile_init_late function, but
      dropped the __init annotation, which is now causing warnings because
      the function calls shmobile_suspend_init, which is also marked init.
      
      Without this patch, building kota2_defconfig results in:
      
      WARNING: vmlinux.o(.text+0xb7c8): Section mismatch in reference from the function shmobile_init_late() to the function .init.text:shmobile_suspend_init()
      The function shmobile_init_late() references
      the function __init shmobile_suspend_init().
      This is often because shmobile_init_late lacks a __init
      annotation or the annotation of shmobile_suspend_init is wrong.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Magnus Damm <damm@opensource.se>
      Cc: Simon Horman <horms@verge.net.au>
      b3796d92
  9. 14 9月, 2012 1 次提交
  10. 04 9月, 2012 2 次提交
    • R
      ARM: shmobile: Make sh7372 cpuidle handling more straightforward · 5b41147c
      Rafael J. Wysocki 提交于
      The sh7372 cpuidle code uses the same artificially designed routine
      shmobile_cpuidle_enter() as the .enter() callback for all of its
      cpuidle states.  However, shmobile_cpuidle_enter() calls a different
      "enter" function for each state using an array of function pointers
      populated by the sh7372 PM initialization code.  Moreover, the
      states[] array of the shmobile cpuidle driver is populated by that
      code as well, although in principle it just might have been filled
      with static data.
      
      All of that complexity goes away if the sh7372 cpuidle code is
      allowed to define its own cpuidle driver structure that can be passed
      for registration to the common shmobile cpuidle initialization
      routine, so modify the code accordingly.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      5b41147c
    • R
      ARM: shmobile: Move definition of shmobile_init_late() to header · 35f2b0bd
      Rafael J. Wysocki 提交于
      The role of the only function in the common.c file in
      arch/arm/mach-shmobile, shmobile_init_late(), is to call two
      initializers whose definitions depend on kernel configuration
      options.  Those initializers may very well be called from a static
      inline function in arm/mach-shmobile/include/mach/common.h,
      though, in which makes the code a bit easier to read.  Moreover,
      the common.c may be dropped entirely then.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NMagnus Damm <damm@opensource.se>
      35f2b0bd
  11. 20 6月, 2012 1 次提交
  12. 13 5月, 2012 2 次提交
  13. 08 5月, 2012 1 次提交
  14. 11 4月, 2012 1 次提交
  15. 13 3月, 2012 9 次提交
  16. 12 1月, 2012 1 次提交
    • M
      ARM: mach-shmobile: r8a7779 SMP support V3 · f40aaf6d
      Magnus Damm 提交于
      This patch contains r8a7779 SMP support V3 - now including
      CPU hotplug offine and online support. The r8a7779 power
      domain code is tied together with SMP glue code which allows
      us to control the power domains via CPU hotplug.
      
      At this point the kernel boots with the 4 Cortex-A9 cores in
      SMP mode and all CPU cores except CPU0 can be hotplugged.
      
      The code in platsmp.c is quite far from pretty, but it is
      kept like that intentionally to avoid creating layers of
      code that will go away in the near future anyway. The code
      needs to be updated when some per-SoC handling code will be
      added to the ARM architecture, see the following patch for
      more information:
       "[RFC PATCH 0/3] Per SoC descriptor"
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f40aaf6d
  17. 10 1月, 2012 1 次提交