1. 13 5月, 2012 2 次提交
    • M
      ARM / mach-shmobile: Use preset_lpj with calibrate_delay() · 173bf69a
      Magnus Damm 提交于
      Update the mach-shmobile shared delay calibration code for late
      timers. All existing in-tree non-DT socs are however using early
      timers today and they are unaffected by this change.
      
      The patch modifies shmobile_setup_delay() from using lpj_fine
      to preset_lpj. This change allows us to preset the worst case
      loops-per-jiffy value to all CPU cores on the system.
      
      The old code which made use of lpj_fine did not affect the
      secondary CPU cores which made it impossible to boot on SMP
      without early timers.
      
      Needed for SMP SoCs using late timers like EMEV2 or any other
      mach-shmobile SMP SoC that makes use of late timers via DT.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      173bf69a
    • K
      ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix · d6720003
      Kuninori Morimoto 提交于
      Fix SMP TWD boot regression on sh73a0 based platforms caused by:
      
      4200b16d ARM: shmobile: convert to twd_local_timer_register() interface
      
      After the merge of the above commit it has been impossible to boot
      sh73a0 based SoCs with SMP enabled and CONFIG_HAVE_ARM_TWD=y. The
      kernel crashes at smp_init_cpus() timing which is before the console
      has been initialized, so to the user this looks like a kernel lock up
      without any particular error message.
      
      This patch fixes the regression on sh73a0 by moving the TWD
      registration code from smp_init_cpus() to sys_timer->init() time.
      
      This patch removed shmobile_twd_init() which is no longer needed
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      d6720003
  2. 11 4月, 2012 1 次提交
  3. 13 3月, 2012 3 次提交
  4. 08 2月, 2010 1 次提交
    • M
      ARM: mach-shmobile: SH-Mobile G3 support. · c793c1b0
      Magnus Damm 提交于
      This adds preliminary support for the SH-Mobile G-series.
      
      The SH-Mobile G-series is a series of ARM/SH multi-core CPUs that aside
      from the ARM MPU are primarily composed of existing SH IP blocks.
      
      This includes initial support for the SH7367 (SH-Mobile G3) CPU and
      the G3EVM reference board.
      
      Only timer, serial console, and NOR flash are supported at this point.
      Patches for the interrupt controller, pinmux support, clock framework
      and runtime pm will be submitted as feature patches on top of this.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c793c1b0