1. 07 10月, 2010 1 次提交
    • P
      sh: Fix up the SH-3 build. · 06c7a489
      Paul Mundt 提交于
      SH-3 lacks an MMUCR_TI definition for global TLB flushes. As SH-3 parts
      lack a split TLB, the same global flush behaviour is accomplished
      through the flush bit, which just happens to be the same as on SH-4.
      
      This fixes up the build for all SH-3 MMU parts.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      06c7a489
  2. 06 10月, 2010 2 次提交
  3. 05 10月, 2010 2 次提交
    • P
      sh: Wire up INTC subgroup splitting for SH7786 SCIF1. · d91ddc25
      Paul Mundt 提交于
      SH7786 is the big user for subgroup splitting, mostly for the PCIe block,
      but those will follow later. For now we simply split up SCIF1, as used by
      the serial console on SDK7786 and others.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      d91ddc25
    • P
      sh: intc: Support virtual mappings for IRQ subgroups. · c1e30ad9
      Paul Mundt 提交于
      Many interrupts that share a single mask source but are on different
      hardware vectors will have an associated register tied to an INTEVT that
      denotes the precise cause for the interrupt exception being triggered.
      
      This introduces the concept of IRQ subgroups in the intc core, where
      a virtual IRQ map is constructed for each of the pre-defined cause bits,
      and a higher level chained handler takes control of the parent INTEVT.
      This enables CPUs with heavily muxed IRQ vectors (especially across
      disjoint blocks) to break things out in to a series of managed chained
      handlers while being able to dynamically lookup and adopt the IRQs
      created for them.
      
      This is largely an opt-in interface, requiring CPUs to manually submit
      IRQs for subgroup splitting, in addition to providing identifiers in
      their enum maps that can be used for lazy lookup via the radix tree.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      c1e30ad9
  4. 04 10月, 2010 5 次提交
  5. 03 10月, 2010 1 次提交
  6. 02 10月, 2010 4 次提交
  7. 01 10月, 2010 2 次提交
  8. 30 9月, 2010 2 次提交
    • M
      sh: boot kernel with SR.BL set · 68a1aed7
      Magnus Damm 提交于
      Update the SH kernel to keep SR.BL set until the VBR
      register has been initialized. Useful to allow boot
      of the kernel even though exceptions are pending.
      
      Without this patch there is a window of time when
      exceptions such as NMI are enabled but no exception
      handlers are installed.
      
      This patch modifies both the zImage loader and the
      actual kernel to boot with BL=1, but the zImage
      loader is modfied in such a way that the init_sr
      value is unchanged to not break the zImage loader
      provided by kexec.
      
      Tested on sh7724 Ecovec and on the SH4AL-DSP core
      included in sh7372.
      Signed-off-by: NMagnus Damm <damm@opensource.se>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      68a1aed7
    • G
      sh: fix a kfree address in clkdev code · 4c62c595
      Guennadi Liakhovetski 提交于
      kfree() in clkdev_drop() function should actually be called with an address of
      a struct clk_lookup_alloc object, and not struct clk_lookup, as presently done.
      This just happens to work, because "struct clk_lookup cl" is the first
      member in struct clk_lookup_alloc.
      Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      4c62c595
  9. 24 9月, 2010 1 次提交
    • P
      sh: provide generic arch_debugfs_dir. · 3f224f4e
      Paul Mundt 提交于
      While sh previously had its own debugfs root, there now exists a
      common arch_debugfs_dir prototype, so we switch everything over to
      that.  Presumably once more architectures start making use of this
      we'll be able to just kill off the stub kdebugfs wrapper.
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      3f224f4e
  10. 23 9月, 2010 1 次提交
  11. 20 9月, 2010 7 次提交
  12. 19 9月, 2010 3 次提交
  13. 16 9月, 2010 1 次提交
  14. 14 9月, 2010 5 次提交
  15. 07 9月, 2010 3 次提交