1. 04 Oct, 2010 1 commit
    • Paul Mundt's avatar
      sh: intc: Implement reverse mapping for IRQs to per-controller IDs. · 44629f57
      Paul Mundt authored
      This implements a scheme roughly analogous to the PowerPC virtual to
      hardware IRQ mapping, which we use for IRQ to per-controller ID mapping.
      This makes it possible for drivers to use the IDs directly for lookup
      instead of hardcoding the vector.
      
      The main motivation for this work is as a building block for dynamically
      allocating virtual IRQs for demuxing INTC events sharing a single INTEVT
      in addition to a common masking source.
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      44629f57
  2. 03 Oct, 2010 7 commits
  3. 02 Oct, 2010 4 commits
  4. 01 Oct, 2010 3 commits
  5. 30 Sep, 2010 2 commits
    • Magnus Damm's avatar
      sh: boot kernel with SR.BL set · 68a1aed7
      Magnus Damm authored
      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: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      68a1aed7
    • Guennadi Liakhovetski's avatar
      sh: fix a kfree address in clkdev code · 4c62c595
      Guennadi Liakhovetski authored
      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: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      4c62c595
  6. 23 Sep, 2010 2 commits
  7. 20 Sep, 2010 7 commits
  8. 19 Sep, 2010 3 commits
  9. 16 Sep, 2010 3 commits
  10. 14 Sep, 2010 5 commits
  11. 07 Sep, 2010 3 commits