Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Recovery handler for misrouted interrupts.

Proto:static int try_one_irq(struct irq_desc *desc, bool force)

Type:int

Parameter:

TypeParameterName
struct irq_desc *desc
boolforce
63  ret = IRQ_NONE
66  raw_spin_lock( & lock)
72  If irq_settings_is_per_cpu(desc) || irq_settings_is_nested_thread(desc) || irq_settings_is_polled(desc) Then Go to out
81  If irqd_irq_disabled( & irq_data) && Not force Then Go to out
88  action = IRQ action list
89  If Not action || Not (flags & allow sharing the irq among several devices) || flags & Flag to mark this interrupt as timer interrupt Then Go to out
94  If irqd_irq_inprogress( & irq_data) Then
99  istate |= IRQS_PENDING
100  Go to out
104  istate |= IRQS_POLL_INPROGRESS
105  Do
106  If handle_irq_event(desc) == IRQ_HANDLED Then ret = IRQ_HANDLED
109  action = IRQ action list
110  When istate & IRQS_PENDING && action cycle
111  istate &= ~IRQS_POLL_INPROGRESS
112  out :
113  raw_spin_unlock( & lock)
114  Return ret == IRQ_HANDLED
Caller
NameDescribe
misrouted_irq
poll_spurious_irqs