diff options
author | James Gowans <jgowans@amazon.com> | 2023-06-08 14:00:19 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-06-16 12:22:05 +0100 |
commit | 7cc148a32f1e7496e22c0005dd113a31d4a3b3d4 (patch) | |
tree | 27413cdacad164a752d6ed7f0d0bf7eaf4429c10 /kernel/irq | |
parent | 0cfb4a1af386427cdaba98f18f501eb074985cfd (diff) | |
download | linux-7cc148a32f1e7496e22c0005dd113a31d4a3b3d4.tar.gz linux-7cc148a32f1e7496e22c0005dd113a31d4a3b3d4.tar.bz2 linux-7cc148a32f1e7496e22c0005dd113a31d4a3b3d4.zip |
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
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/internals.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h index 5fdc0b557579..c443a0ddc07e 100644 --- a/kernel/irq/internals.h +++ b/kernel/irq/internals.h @@ -47,9 +47,12 @@ enum { * detection * IRQS_POLL_INPROGRESS - polling in progress * IRQS_ONESHOT - irq is not unmasked in primary handler - * IRQS_REPLAY - irq is replayed + * IRQS_REPLAY - irq has been resent and will not be resent + * again until the handler has run and cleared + * this flag. * IRQS_WAITING - irq is waiting - * IRQS_PENDING - irq is pending and replayed later + * IRQS_PENDING - irq needs to be resent and should be resent + * at the next available opportunity. * IRQS_SUSPENDED - irq is suspended * IRQS_NMI - irq line is used to deliver NMIs * IRQS_SYSFS - descriptor has been added to sysfs |