1. 02 6月, 2009 1 次提交
  2. 01 6月, 2009 1 次提交
    • P
      sh: Tidy up SH-4A boot_cpu_data.flags probing. · 0bf8513e
      Paul Mundt 提交于
      This tidies up the boot_cpu_data.flags probing on SH-4A. All of them have
      a few things in common, which we can blindly set, rather than having each
      subtype have to set the same flags. We can also make assumptions about
      cache ways and the validity of PTEA, so this also kills off CPU_HAS_PTEA
      as a config option. There was also a bug in the FPU probing, which is now
      tidied up.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0bf8513e
  3. 22 5月, 2009 1 次提交
    • P
      sh: clkfwk: Make clock-cpg usable for non-legacy platforms. · 36aa1e32
      Paul Mundt 提交于
      This adds a new SH_CLK_CPG for parts that have CPG support.
      SH_CLK_CPG_LEGACY is made to depend on this, and still needs to be set
      for platforms that want clock-cpg to register the legacy clocks. With
      this new config item in place, it is now possible to start layering more
      generic CPG code in place while other platforms transition off of the
      legacy clocks.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      36aa1e32
  4. 13 5月, 2009 2 次提交
  5. 12 5月, 2009 3 次提交
  6. 10 5月, 2009 1 次提交
  7. 09 5月, 2009 1 次提交
  8. 08 5月, 2009 5 次提交
  9. 07 5月, 2009 1 次提交
  10. 03 5月, 2009 7 次提交
  11. 30 4月, 2009 1 次提交
    • M
      sh: remove old CMT driver · f425752f
      Magnus Damm 提交于
      This patch removes the old CMT driver (CONFIG_SH_CMT/timer-cmt.c)
      
      As replacement, select the sh_cmt driver with CONFIG_SH_TIMER_CMT
      and configure timer channel using platform data.
      
      If multiple CMT channels are enabled using platform data, use the
      earlytimer parameter on the kernel command line to select channel.
      For instance, use "earlytimer=sh_cmt.0" to select the first channel.
      
      To verify which timer is being used, look at printouts or the timer
      irq count in /proc/interrupts.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f425752f
  12. 27 4月, 2009 2 次提交
  13. 16 4月, 2009 2 次提交
  14. 11 4月, 2009 1 次提交
  15. 10 4月, 2009 1 次提交
  16. 02 4月, 2009 2 次提交
  17. 31 3月, 2009 1 次提交
  18. 30 3月, 2009 1 次提交
  19. 18 3月, 2009 1 次提交
    • M
      sh: add kexec jump support · b7cf6ddc
      Magnus Damm 提交于
      Add kexec jump support to the SuperH architecture.
      
      Similar to the x86 implementation, with the following
      exceptions:
      
      - Instead of separating the assembly code flow into
      two parts for regular kexec and kexec jump we use a
      single code path. In the assembly snippet regular
      kexec is just kexec jump that never comes back.
      
      - Instead of using a swap page when moving data between
      pages the page copy assembly routine has been modified
      to exchange the data between the pages using registers.
      
      - We walk the page list twice in machine_kexec() to
      do and undo physical to virtual address conversion.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      b7cf6ddc
  20. 17 3月, 2009 1 次提交
    • P
      sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores. · 8263a67e
      Paul Mundt 提交于
      This adds support for extended ASIDs (up to 16-bits) on newer SH-X3 cores
      that implement the PTAEX register and respective functionality. Presently
      only the 65nm SH7786 (90nm only supports legacy 8-bit ASIDs).
      
      The main change is in how the PTE is written out when loading the entry
      in to the TLB, as well as in how the TLB entry is selectively flushed.
      
      While SH-X2 extended mode splits out the memory-mapped U and I-TLB data
      arrays for extra bits, extended ASID mode splits out the address arrays.
      While we don't use the memory-mapped data array access, the address
      array accesses are necessary for selective TLB flushes, so these are
      implemented newly and replace the generic SH-4 implementation.
      
      With this, TLB flushes in switch_mm() are almost non-existent on newer
      parts.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      8263a67e
  21. 16 3月, 2009 1 次提交
    • M
      sh: SuperH Mobile suspend support · 77594912
      Magnus Damm 提交于
      This patch contains CONFIG_SUSPEND support to the SuperH
      architecture. If enabled, SuperH Mobile processors will
      register their suspend callbacks during boot.
      
      To suspend, use "echo mem > /sys/power/state". To allow
      wakeup, make sure "/sys/device/platform/../power/wakeup"
      contains "enabled". Additional per-device driver patches
      are most likely needed.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      77594912
  22. 10 3月, 2009 1 次提交
  23. 05 3月, 2009 1 次提交
  24. 03 3月, 2009 1 次提交