Skip to content

Commit 7cc148a

Browse files
jgowansMarc Zyngier
authored andcommitted
genirq: Expand doc for PENDING and REPLAY flags
Adding a bit more info about what the flags are used for may help future code readers. Signed-off-by: James Gowans <jgowans@amazon.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Marc Zyngier <maz@kernel.org> Cc: Liao Chang <liaochang1@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230608120021.3273400-2-jgowans@amazon.com
1 parent 0cfb4a1 commit 7cc148a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

kernel/irq/internals.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,12 @@ enum {
4747
* detection
4848
* IRQS_POLL_INPROGRESS - polling in progress
4949
* IRQS_ONESHOT - irq is not unmasked in primary handler
50-
* IRQS_REPLAY - irq is replayed
50+
* IRQS_REPLAY - irq has been resent and will not be resent
51+
* again until the handler has run and cleared
52+
* this flag.
5153
* IRQS_WAITING - irq is waiting
52-
* IRQS_PENDING - irq is pending and replayed later
54+
* IRQS_PENDING - irq needs to be resent and should be resent
55+
* at the next available opportunity.
5356
* IRQS_SUSPENDED - irq is suspended
5457
* IRQS_NMI - irq line is used to deliver NMIs
5558
* IRQS_SYSFS - descriptor has been added to sysfs

0 commit comments

Comments
 (0)