1. 17 Mar, 2016 1 commit
  2. 07 Apr, 2014 1 commit
  3. 10 Apr, 2013 1 commit
  4. 22 Oct, 2012 1 commit
  5. 05 May, 2012 1 commit
  6. 26 Nov, 2010 1 commit
  7. 01 Nov, 2010 1 commit
    • Paul Mundt's avatar
      sh: machvec IO death. · 37b7a978
      Paul Mundt authored
      This takes a bit of a sledgehammer to the machvec I/O routines. The
      iomem case requires no special casing and so can just be dropped
      outright. This only leaves the ioport casing for PCI and SuperIO
      mangling. With the SuperIO case going through the standard ioport
      mapping, it's possible to replace everything with generic routines.
      With this done the standard I/O routines are tidied up and NO_IOPORT
      now gets default-enabled for the vast majority of boards.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  8. 23 Sep, 2010 2 commits
  9. 14 Jun, 2010 1 commit
  10. 02 Jun, 2010 1 commit
    • Paul Mundt's avatar
      sh: support for platforms without PIO. · 86e4dd5a
      Paul Mundt authored
      This extends some of the existing special casing for HAS_IOPORT
      platforms and gets it to the point where platforms can begin to
      conditionally select it.
      The major changes here are that the PIO routines themselves go away
      completely, including all of the machvec port mapping wrappers. With this
      in place it's possible for any non-machvec abusing platform to disable
      PIO completely. At present this is left as an opt-in until the abusers
      are the odd ones out instead of the majority.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  11. 08 Mar, 2010 1 commit
  12. 20 Jan, 2010 1 commit
    • Paul Mundt's avatar
      sh: machine_ops based reboot support. · fbb82b03
      Paul Mundt authored
      This provides a machine_ops-based reboot interface loosely cloned from
      x86, and converts the native sh32 and sh64 cases over to it.
      Necessary both for tying in SMP support and also enabling platforms like
      SDK7786 to add support for their microcontroller-based power managers.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  13. 12 Jan, 2010 1 commit
  14. 11 Jan, 2010 1 commit
    • Paul Mundt's avatar
      sh: Consolidate the sh_bios earlyprintk code. · 776258df
      Paul Mundt authored
      Now that the sh-sci earlyprintk is taken care of by the sh-sci driver
      directly, there's no longer any reason for having a split-out
      early_printk framework. sh_bios is the only other thing that uses it, so
      we just migrate the leftovers in to there. As it's possible to have
      multiple early_param()'s for the same string, there's not much point in
      having this split out anymore anyways, particularly since the sh_bios
      dependencies are still special-cased within sh-sci itself.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  15. 14 Dec, 2009 1 commit
    • Magnus Damm's avatar
      sh: Remove old early serial console code V2 · e76fe574
      Magnus Damm authored
      Now when the sh-sci driver can do early serial output,
      get rid of the old duplicated code. This patch is V2 and
      removes support for "earlyprintk=serial" together with
      the following kconfig options:
      With this patch applied "earlyprintk=" support is always
      built-in the SuperH kernel. For this to work the serial
      driver must have early platform support and in the case
      of sh-sci the serial console needs to be enabled:
      So after enabling the SuperH SCI console kconfig option
      you also need to point out port using the kernel command
      line: "earlyprintk=sh-sci.N[,baudrate][,keep]"
      Remember that clocks may be disabled by the boot loader
      so you may have to do some board specific static clock
      setup before earlyprintk will work on your platform.
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  16. 07 Dec, 2009 1 commit
    • Paul Mundt's avatar
      sh: hw-breakpoints: Add preliminary support for SH-4A UBC. · 09a07294
      Paul Mundt authored
      This adds preliminary support for the SH-4A UBC to the hw-breakpoints API.
      Presently only a single channel is implemented, and the ptrace interface
      still needs to be converted. This is the first step to cleaning up the
      long-standing UBC mess, making the UBC more generally accessible, and
      finally making it SMP safe.
      An additional abstraction will be layered on top of this as with the perf
      events code to permit the various CPU families to wire up support for
      their own specific UBCs, as many variations exist.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  17. 29 Nov, 2009 1 commit
  18. 05 Nov, 2009 1 commit
  19. 28 Oct, 2009 1 commit
    • Paul Mundt's avatar
      sh: perf events: Add preliminary support for SH-4A counters. · ac44e669
      Paul Mundt authored
      This adds in preliminary support for the SH-4A performance counters.
      Presently only the first 2 counters are supported, as these are the ones
      of the most interest to the perf tool and end users. Counter chaining is
      not presently handled, so these are simply implemented as 32-bit
      This also establishes a perf event support framework for other hardware
      counters, which the existing SH-4 oprofile code will migrate over to as
      the SH-4A support evolves.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  20. 19 Oct, 2009 1 commit
  21. 17 Oct, 2009 1 commit
  22. 13 Oct, 2009 1 commit
  23. 12 Oct, 2009 1 commit
    • Paul Mundt's avatar
      sh: Generalize CALLER_ADDRx support. · ac4fac8c
      Paul Mundt authored
      This splits out the unwinder implementation and adds a new
      return_address() abstraction modelled after the ARM code. The DWARF
      unwinder is tied in to this, returning NULL otherwise in the case of
      being unable to support arbitrary depths.
      This enables us to get correct behaviour with the unwinder enabled,
      as well as disabling the arbitrary depth support when frame pointers are
      enabled, as arbitrary depths with __builtin_return_address() are not
      supported regardless.
      With this abstraction it's also possible to layer on a simplified
      implementation with frame pointers in the event that the unwinder isn't
      enabled, although this is left as a future exercise.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  24. 01 Sep, 2009 1 commit
    • Paul Mundt's avatar
      sh: nmi_debug support. · 1e1030dc
      Paul Mundt authored
      This implements support for NMI debugging that was shamelessly copied
      from the avr32 port. A bit of special magic is needed in the interrupt
      exception path given that the NMI exception handler is stubbed in to the
      regular exception handling table despite being reported in INTEVT. So we
      mangle the lookup and kick off an EXPEVT-style exception dispatch from
      the INTEVT path for exceptions that do_IRQ() has no chance of handling.
      As a result, we also drop the evt2irq() conversion from the do_IRQ() path
      and just do it in assembly.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
  25. 15 Aug, 2009 1 commit
  26. 27 Jan, 2008 1 commit
  27. 06 Nov, 2007 1 commit
  28. 07 Jun, 2007 2 commits
  29. 06 May, 2007 1 commit
  30. 12 Feb, 2007 1 commit
    • Paul Mundt's avatar
      sh: Use a jump call table for debug trap handlers. · f413d0d9
      Paul Mundt authored
      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: default avatarPaul Mundt <lethal@linux-sh.org>
  31. 09 Feb, 2007 1 commit
  32. 05 Dec, 2006 2 commits
  33. 27 Sep, 2006 2 commits
  34. 26 Sep, 2006 1 commit
  35. 01 Feb, 2006 1 commit
  36. 17 Jan, 2006 1 commit