1. 12 5月, 2009 1 次提交
  2. 08 5月, 2009 1 次提交
  3. 03 5月, 2009 1 次提交
  4. 10 3月, 2009 1 次提交
    • M
      sh: hibernation support · 2ef7f0da
      Magnus Damm 提交于
      Add Suspend-to-disk / swsusp / CONFIG_HIBERNATION support
      to the SuperH architecture.
      
      To suspend, use "swapon /dev/sda2; echo disk > /sys/power/state"
      To resume, pass "resume=/dev/sda2" on the kernel command line.
      
      The patch "pm: rework includes, remove arch ifdefs V2" is
      needed to allow the generic swsusp code to build properly.
      
      Hibernation is not enabled with this patch though, a patch
      setting ARCH_HIBERNATION_POSSIBLE will be submitted later.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      2ef7f0da
  5. 27 1月, 2009 2 次提交
  6. 22 12月, 2008 7 次提交
  7. 20 10月, 2008 2 次提交
  8. 12 9月, 2008 1 次提交
    • P
      sh: Tidy up ELF core dumps. · 0e660d2d
      Paul Mundt 提交于
      These have been using overrides for ELF_CORE_COPY_TASK_REGS and
      ELF_CORE_COPY_FPREGS while the generic versions can be used instead.
      Presently the pt_regs are also duplicated across elf_core_copy_regs()
      and elf_core_copy_task_regs(), this switches to simply copying out
      through elf_core_copy_regs() instead.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      0e660d2d
  9. 08 9月, 2008 1 次提交
  10. 28 7月, 2008 1 次提交
  11. 17 4月, 2008 1 次提交
  12. 14 2月, 2008 1 次提交
    • M
      sh: trapped io support V2 · e7cc9a73
      Magnus Damm 提交于
      The idea is that we want to get rid of the in/out/readb/writeb callbacks from
      the machvec and replace that with simple inline read and write operations to
      memory. Fast and simple for most hardware devices (think pci).
      
      Some devices require special treatment though - like 16-bit only CF devices -
      so we need to have some method to hook in callbacks.
      
      This patch makes it possible to add a per-device trap generating filter. This
      way we can get maximum performance of sane hardware - which doesn't need this
      filter - and crappy hardware works but gets punished by a performance hit.
      
      V2 changes things around a bit and replaces io access callbacks with a
      simple minimum_bus_width value. In the future we can add stride as well.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e7cc9a73
  13. 28 1月, 2008 12 次提交
  14. 07 11月, 2007 1 次提交
  15. 08 6月, 2007 2 次提交
  16. 07 5月, 2007 1 次提交
  17. 13 2月, 2007 1 次提交
    • P
      sh: Use a jump call table for debug trap handlers. · f413d0d9
      Paul Mundt 提交于
      This rips out most of the needlessly complicated sh_bios and kgdb
      trap handling, and forces it all through a common fast dispatch path.
      As more debug traps are inserted, it's important to keep them in sync
      for all of the parts, not just SH-3/4.
      
      As the SH-2 parts are unable to do traps in the >= 0x40 range, we
      restrict the debug traps to the 0x30-0x3f range on all parts, and
      also bump the kgdb breakpoint trap down in to this range (from 0xff
      to 0x3c) so it's possible to use for nommu.
      
      Optionally, this table can be padded out to catch spurious traps for
      SH-3/4, but we don't do that yet..
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      f413d0d9
  18. 10 2月, 2007 1 次提交
  19. 06 12月, 2006 2 次提交