]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
KVM: arm64: vgic: Drop stale comment on IRQ active state
authorOliver Upton <oliver.upton@linux.dev>
Fri, 5 Sep 2025 10:05:26 +0000 (03:05 -0700)
committerOliver Upton <oliver.upton@linux.dev>
Wed, 10 Sep 2025 09:56:19 +0000 (02:56 -0700)
While LPIs lack an active state, KVM unconditionally folds the active
state from the LR into the vgic_irq struct meaning this field cannot be
'creatively' reused for something else.

Drop the misleading comment to reflect this.

Link: https://lore.kernel.org/r/20250905100531.282980-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
include/kvm/arm_vgic.h

index 404883c7af6e83523d24f59c3031045e9df8cad8..9f8a116925ca35abb1fc18de7f5c4b1c24dd5b59 100644 (file)
@@ -139,7 +139,7 @@ struct vgic_irq {
        bool pending_latch;             /* The pending latch state used to calculate
                                         * the pending state for both level
                                         * and edge triggered IRQs. */
-       bool active;                    /* not used for LPIs */
+       bool active;
        bool enabled;
        bool hw;                        /* Tied to HW IRQ */
        struct kref refcount;           /* Used for LPIs */