]> git.samba.org - sfrench/cifs-2.6.git/commitdiff
genirq/debugfs: Add missing irqchip flags
authorMarc Zyngier <maz@kernel.org>
Sat, 25 Jul 2020 12:30:55 +0000 (13:30 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Jul 2020 14:20:40 +0000 (16:20 +0200)
Recently introduced irqchip flags lack the corresponding printouts in
debugfs. Add them.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/874kpvydxc.wl-maz@kernel.org
kernel/irq/debugfs.c

index 4f9f844074db1510fe33c4d58a93f91407597fc6..b95ff5d5f4bde497075ff1d243dc9231a252d833 100644 (file)
@@ -112,6 +112,7 @@ static const struct irq_bit_descr irqdata_states[] = {
        BIT_MASK_DESCR(IRQD_AFFINITY_SET),
        BIT_MASK_DESCR(IRQD_SETAFFINITY_PENDING),
        BIT_MASK_DESCR(IRQD_AFFINITY_MANAGED),
+       BIT_MASK_DESCR(IRQD_AFFINITY_ON_ACTIVATE),
        BIT_MASK_DESCR(IRQD_MANAGED_SHUTDOWN),
        BIT_MASK_DESCR(IRQD_CAN_RESERVE),
        BIT_MASK_DESCR(IRQD_MSI_NOMASK_QUIRK),
@@ -120,6 +121,10 @@ static const struct irq_bit_descr irqdata_states[] = {
 
        BIT_MASK_DESCR(IRQD_WAKEUP_STATE),
        BIT_MASK_DESCR(IRQD_WAKEUP_ARMED),
+
+       BIT_MASK_DESCR(IRQD_DEFAULT_TRIGGER_SET),
+
+       BIT_MASK_DESCR(IRQD_HANDLE_ENFORCE_IRQCTX),
 };
 
 static const struct irq_bit_descr irqdesc_states[] = {