Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

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 <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Liao Chang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
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)