1. 23 9月, 2010 1 次提交
  2. 14 6月, 2010 1 次提交
  3. 02 6月, 2010 1 次提交
    • P
      sh: support for platforms without PIO. · 86e4dd5a
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      86e4dd5a
  4. 09 3月, 2010 1 次提交
  5. 20 1月, 2010 1 次提交
    • P
      sh: machine_ops based reboot support. · fbb82b03
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      fbb82b03
  6. 12 1月, 2010 2 次提交
    • P
      sh: Always provide thread_info allocators. · cbf6b1ba
      Paul Mundt 提交于
      Presently the thread_info allocators are special cased, depending on
      THREAD_SHIFT < PAGE_SHIFT. This provides a sensible definition for them
      regardless of configuration, in preparation for extended CPU state.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      cbf6b1ba
    • P
      sh: Consolidate the sh_bios earlyprintk code. · 776258df
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      776258df
  7. 15 12月, 2009 1 次提交
    • M
      sh: Remove old early serial console code V2 · e76fe574
      Magnus Damm 提交于
      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:
      CONFIG_EARLY_SCIF_CONSOLE
      CONFIG_EARLY_SCIF_CONSOLE_PORT
      CONFIG_EARLY_PRINTK
      
      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:
      CONFIG_SERIAL_SH_SCI_CONSOLE=y
      
      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: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      e76fe574
  8. 08 12月, 2009 1 次提交
    • P
      sh: hw-breakpoints: Add preliminary support for SH-4A UBC. · 09a07294
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      09a07294
  9. 30 11月, 2009 1 次提交
  10. 05 11月, 2009 1 次提交
  11. 28 10月, 2009 1 次提交
    • P
      sh: perf events: Add preliminary support for SH-4A counters. · ac44e669
      Paul Mundt 提交于
      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
      counters.
      
      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: NPaul Mundt <lethal@linux-sh.org>
      ac44e669
  12. 20 10月, 2009 1 次提交
  13. 17 10月, 2009 1 次提交
  14. 13 10月, 2009 2 次提交
    • P
      sh: Don't profile return_address(). · c8afde7f
      Paul Mundt 提交于
      This adds return_address.c to the -pg exclusion list, as this is the
      building block for CALLER_ADDRx we do not want to profile this.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c8afde7f
    • P
      sh: Generalize CALLER_ADDRx support. · ac4fac8c
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      ac4fac8c
  15. 01 9月, 2009 1 次提交
    • P
      sh: nmi_debug support. · 1e1030dc
      Paul Mundt 提交于
      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: NPaul Mundt <lethal@linux-sh.org>
      1e1030dc
  16. 16 8月, 2009 1 次提交
  17. 28 1月, 2008 1 次提交
  18. 07 11月, 2007 1 次提交
  19. 08 6月, 2007 2 次提交
  20. 07 5月, 2007 1 次提交
  21. 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
  22. 10 2月, 2007 1 次提交
  23. 06 12月, 2006 2 次提交
  24. 27 9月, 2006 3 次提交
  25. 02 2月, 2006 1 次提交
  26. 17 1月, 2006 1 次提交
  27. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4