Skip to content

Commit 7d6ca84

Browse files
committed
KVM: arm64: vgic: Drop stale comment on IRQ active state
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/[email protected] Signed-off-by: Oliver Upton <[email protected]>
1 parent da2e743 commit 7d6ca84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/kvm/arm_vgic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct vgic_irq {
139139
bool pending_latch; /* The pending latch state used to calculate
140140
* the pending state for both level
141141
* and edge triggered IRQs. */
142-
bool active; /* not used for LPIs */
142+
bool active;
143143
bool enabled;
144144
bool hw; /* Tied to HW IRQ */
145145
struct kref refcount; /* Used for LPIs */

0 commit comments

Comments
 (0)