Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-28 10:09:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Interrupts which are not explicitly requested as threaded* interrupts rely on the implicit bh/preempt disable of the hard irq* context. So we need to disable bh here to avoid deadlocks and other* side effects.

Proto:static irqreturn_t irq_forced_thread_fn(struct irq_desc *desc, struct irqaction *action)

Type:irqreturn_t

Parameter:

TypeParameterName
struct irq_desc *desc
struct irqaction *action
984  local_bh_disable()
985  ret = thread_fn(irq, dev_id)
986  If ret == IRQ_HANDLED Then atomic_inc( & threads_handled)
989  Oneshot interrupts keep the irq line masked until the threaded* handler finished. unmask if the interrupt has not been disabled and* is marked MASKED.
990  local_bh_enable()
991  Return ret