1. 11 9月, 2007 1 次提交
    • R
      [MIPS] BCM1480: Fix computation of interrupt mask address register. · fbd0ed37
      Ralf Baechle 提交于
        CC      arch/mips/sibyte/bcm1480/irq.o
      arch/mips/sibyte/bcm1480/irq.c: In function 'bcm1480_mask_irq':
      arch/mips/sibyte/bcm1480/irq.c:112: warning: cast to pointer from integer of different size
      arch/mips/sibyte/bcm1480/irq.c:114: warning: cast to pointer from integer of different size
      arch/mips/sibyte/bcm1480/irq.c: In function 'bcm1480_unmask_irq':
      arch/mips/sibyte/bcm1480/irq.c:130: warning: cast to pointer from integer of different size
      arch/mips/sibyte/bcm1480/irq.c:132: warning: cast to pointer from integer of different size
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fbd0ed37
  2. 27 8月, 2007 1 次提交
  3. 30 3月, 2007 1 次提交
  4. 05 3月, 2007 1 次提交
  5. 07 2月, 2007 1 次提交
  6. 30 11月, 2006 1 次提交
    • A
      [MIPS] IRQ cleanups · 1603b5ac
      Atsushi Nemoto 提交于
      This is a big irq cleanup patch.
      
      * Use set_irq_chip() to register irq_chip.
      * Initialize .mask, .unmask, .mask_ack field.  Functions for these
        method are already exist in most case.
      * Do not initialize .startup, .shutdown, .enable, .disable fields if
        default routines provided by irq_chip_set_defaults() were suitable.
      * Remove redundant irq_desc initializations.
      * Remove unnecessary local_irq_save/local_irq_restore, spin_lock.
      
      With this cleanup, it would be easy to switch to slightly lightwait
      irq flow handlers (handle_level_irq(), etc.) instead of __do_IRQ().
      
      Though whole this patch is quite large, changes in each irq_chip are
      not quite simple.  Please review and test on your platform.  Thanks.
      Signed-off-by: NAtsushi Nemoto <anemo@mba.ocn.ne.jp>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      1603b5ac
  7. 09 10月, 2006 1 次提交
  8. 08 10月, 2006 1 次提交
  9. 04 10月, 2006 1 次提交
  10. 27 9月, 2006 1 次提交
  11. 14 7月, 2006 3 次提交
  12. 01 7月, 2006 1 次提交
  13. 30 6月, 2006 1 次提交
    • I
      [PATCH] genirq: rename desc->handler to desc->chip · d1bef4ed
      Ingo Molnar 提交于
      This patch-queue improves the generic IRQ layer to be truly generic, by adding
      various abstractions and features to it, without impacting existing
      functionality.
      
      While the queue can be best described as "fix and improve everything in the
      generic IRQ layer that we could think of", and thus it consists of many
      smaller features and lots of cleanups, the one feature that stands out most is
      the new 'irq chip' abstraction.
      
      The irq-chip abstraction is about describing and coding and IRQ controller
      driver by mapping its raw hardware capabilities [and quirks, if needed] in a
      straightforward way, without having to think about "IRQ flow"
      (level/edge/etc.) type of details.
      
      This stands in contrast with the current 'irq-type' model of genirq
      architectures, which 'mixes' raw hardware capabilities with 'flow' details.
      The patchset supports both types of irq controller designs at once, and
      converts i386 and x86_64 to the new irq-chip design.
      
      As a bonus side-effect of the irq-chip approach, chained interrupt controllers
      (master/slave PIC constructs, etc.) are now supported by design as well.
      
      The end result of this patchset intends to be simpler architecture-level code
      and more consolidation between architectures.
      
      We reused many bits of code and many concepts from Russell King's ARM IRQ
      layer, the merging of which was one of the motivations for this patchset.
      
      This patch:
      
      rename desc->handler to desc->chip.
      
      Originally i did not want to do this, because it's a big patch.  But having
      both "desc->handler", "desc->handle_irq" and "action->handler" caused a
      large degree of confusion and made the code appear alot less clean than it
      truly is.
      
      I have also attempted a dual approach as well by introducing a
      desc->chip alias - but that just wasnt robust enough and broke
      frequently.
      
      So lets get over with this quickly.  The conversion was done automatically
      via scripts and converts all the code in the kernel.
      
      This renaming patch is the first one amongst the patches, so that the
      remaining patches can stay flexible and can be merged and split up
      without having some big monolithic patch act as a merge barrier.
      
      [akpm@osdl.org: build fix]
      [akpm@osdl.org: another build fix]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d1bef4ed
  14. 19 4月, 2006 1 次提交
    • R
      [MIPS] Rewrite all the assembler interrupt handlers to C. · e4ac58af
      Ralf Baechle 提交于
      Saves like 1,600 lines of code, is way easier to debug, compilers
      frequently do a better job than the cut and paste type of handlers many
      boards had.  And finally having all the stuff done in a single place
      also means alot of bug potencial for the MT ASE is gone.
      
      The only surviving handler in assembler is the DECstation one; I hope
      Maciej will rewrite it.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e4ac58af
  15. 22 2月, 2006 1 次提交
  16. 30 10月, 2005 1 次提交