1. 24 3月, 2009 3 次提交
    • A
      genirq: add support for threaded interrupts to devres · 935bd5b9
      Arjan van de Ven 提交于
      Some devices use devres_request_irq() for to install their interrupt
      handler. Add support for threaded interrupts to devres as well.
      
      [tglx - simplified and adapted to latest threadirq version]
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      935bd5b9
    • T
      genirq: add threaded interrupt handler support · 3aa551c9
      Thomas Gleixner 提交于
      Add support for threaded interrupt handlers:
      
      A device driver can request that its main interrupt handler runs in a
      thread. To achive this the device driver requests the interrupt with
      request_threaded_irq() and provides additionally to the handler a
      thread function. The handler function is called in hard interrupt
      context and needs to check whether the interrupt originated from the
      device. If the interrupt originated from the device then the handler
      can either return IRQ_HANDLED or IRQ_WAKE_THREAD. IRQ_HANDLED is
      returned when no further action is required. IRQ_WAKE_THREAD causes
      the genirq code to invoke the threaded (main) handler. When
      IRQ_WAKE_THREAD is returned handler must have disabled the interrupt
      on the device level. This is mandatory for shared interrupt handlers,
      but we need to do it as well for obscure x86 hardware where disabling
      an interrupt on the IO_APIC level redirects the interrupt to the
      legacy PIC interrupt lines.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: NIngo Molnar <mingo@elte.hu>
      3aa551c9
    • T
      Merge branch 'cpus4096' into irq/threaded · 80c55208
      Thomas Gleixner 提交于
      Conflicts:
      	arch/parisc/kernel/irq.c
      	kernel/irq/handle.c
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      80c55208
  2. 23 3月, 2009 7 次提交
  3. 20 3月, 2009 8 次提交
  4. 19 3月, 2009 9 次提交
  5. 18 3月, 2009 13 次提交