1. 21 9月, 2007 3 次提交
    • M
      sh: intc - mark data structures as __initdata · 5c37e025
      Magnus Damm 提交于
      With the intc core improved it is now possible to put the intc data
      structures in the initdata section.
      
      Version two of this patch puts the __initdata inside DECLARE_INTC_DESC()
      and removes the __initdata included in the board specific r2d code.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5c37e025
    • M
      sh: intc - rework core code · 73505b44
      Magnus Damm 提交于
      This patch reworks the intc core, implementing the following features:
      
      - Support dual priority registers - one set and one clear register
      - All 8/16/32 bit register combinations are now supported
      - Both single mask and single enable bitmap register are supported
      - Add code to set interrupt priority
      - Speedup sense and priority configuration code
      - Allocate data using bootmem, allows intc data structures to be
        __initdata
      - Save memory - allocated memory footprint is smaller than intc
        structures
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      73505b44
    • M
      sh: intc - convert voyagergx code · 48180cab
      Magnus Damm 提交于
      This patch converts the sh-specific voyagergx interrupt code to make use
      of intc. A lot of "interesting" old cruft gets replaced with intc tables
      and some simple demux code.
      
      - All interrupt sources in the sm501 data sheet are now in the header.
      - The number and order of IRQ values are disconnected from register bits.
      - Interrupt sources now start from IRQ 200.
      - set_irq_chained_handler() is now used to hook up the demux function.
      
      In the future it would probably make sense to move the interrupt demuxer
      into into the mfd driver, but this is probably a nice step in the right
      direction until that happens.
      
      Tested on a R2D-1 board using the serial port hooked up to the sm501.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      48180cab
  2. 04 6月, 2007 1 次提交
  3. 15 2月, 2007 1 次提交
  4. 19 10月, 2006 1 次提交
  5. 06 10月, 2006 1 次提交
  6. 27 9月, 2006 3 次提交
  7. 03 7月, 2006 1 次提交
  8. 01 7月, 2006 1 次提交
  9. 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
  10. 02 2月, 2006 1 次提交
  11. 11 9月, 2005 1 次提交
  12. 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