Searched hist:b6873807a7143b7d6d8b06809295e559d07d7deb (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | irqdesc.h | diff b6873807a7143b7d6d8b06809295e559d07d7deb Mon Jul 11 05:17:31 CDT 2011 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> irq: Track the owner of irq descriptor
Interrupt descriptors can be allocated from modules. The interrupts are used by other modules, but we have no refcount on the module which provides the interrupts and there is no way to establish one on the device level as the interrupt using module is agnostic to the fact that the interrupt is provided by a module rather than by some builtin interrupt controller.
To prevent removal of the interrupt providing module, we can track the owner of the interrupt descriptor, which also provides the relevant irq chip functions in the irq descriptor.
request/setup_irq() can now acquire a refcount on the owner module to prevent unloading. free_irq() drops the refcount.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Link: http://lkml.kernel.org/r/20110711101731.GA13804@Chamillionaire.breakpoint.cc Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
H A D | irq.h | diff b6873807a7143b7d6d8b06809295e559d07d7deb Mon Jul 11 05:17:31 CDT 2011 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> irq: Track the owner of irq descriptor
Interrupt descriptors can be allocated from modules. The interrupts are used by other modules, but we have no refcount on the module which provides the interrupts and there is no way to establish one on the device level as the interrupt using module is agnostic to the fact that the interrupt is provided by a module rather than by some builtin interrupt controller.
To prevent removal of the interrupt providing module, we can track the owner of the interrupt descriptor, which also provides the relevant irq chip functions in the irq descriptor.
request/setup_irq() can now acquire a refcount on the owner module to prevent unloading. free_irq() drops the refcount.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Link: http://lkml.kernel.org/r/20110711101731.GA13804@Chamillionaire.breakpoint.cc Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
/openbmc/linux/kernel/irq/ |
H A D | irqdesc.c | diff b6873807a7143b7d6d8b06809295e559d07d7deb Mon Jul 11 05:17:31 CDT 2011 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> irq: Track the owner of irq descriptor
Interrupt descriptors can be allocated from modules. The interrupts are used by other modules, but we have no refcount on the module which provides the interrupts and there is no way to establish one on the device level as the interrupt using module is agnostic to the fact that the interrupt is provided by a module rather than by some builtin interrupt controller.
To prevent removal of the interrupt providing module, we can track the owner of the interrupt descriptor, which also provides the relevant irq chip functions in the irq descriptor.
request/setup_irq() can now acquire a refcount on the owner module to prevent unloading. free_irq() drops the refcount.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Link: http://lkml.kernel.org/r/20110711101731.GA13804@Chamillionaire.breakpoint.cc Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
H A D | manage.c | diff b6873807a7143b7d6d8b06809295e559d07d7deb Mon Jul 11 05:17:31 CDT 2011 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> irq: Track the owner of irq descriptor
Interrupt descriptors can be allocated from modules. The interrupts are used by other modules, but we have no refcount on the module which provides the interrupts and there is no way to establish one on the device level as the interrupt using module is agnostic to the fact that the interrupt is provided by a module rather than by some builtin interrupt controller.
To prevent removal of the interrupt providing module, we can track the owner of the interrupt descriptor, which also provides the relevant irq chip functions in the irq descriptor.
request/setup_irq() can now acquire a refcount on the owner module to prevent unloading. free_irq() drops the refcount.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Link: http://lkml.kernel.org/r/20110711101731.GA13804@Chamillionaire.breakpoint.cc Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|