Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__synchronize_hardirq

Proto:static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip)

Type:void

Parameter:

TypeParameterName
struct irq_desc *desc
boolsync_chip
40  irqd = irq_desc_get_irq_data(desc)
43  Do
50  When irqd_irq_inprogress( & irq_data) cycle
51  cpu_relax()
54  raw_spin_lock_irqsave( & lock, flags)
55  inprogress = irqd_irq_inprogress( & irq_data)
62  If Not inprogress && sync_chip Then
70  raw_spin_unlock_irqrestore( & lock, flags)
73  When inprogress cycle
Caller
NameDescribe
synchronize_hardirqsynchronize_hardirq - wait for pending hard IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending hard IRQ handlers for this* interrupt to complete before returning
synchronize_irqsynchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while
__free_irqInternal function to unregister an irqaction - used to free* regular and special interrupts that are part of the architecture.