KVM: arm64: vgic-v3: Expose GICR_CTLR.RWP when disabling LPIs
[sfrench/cifs-2.6.git] / include / kvm / arm_vgic.h
index bb30a6803d9f04770490fb2fec39ef58a7c8dde9..fdf1c2c322e53275af9fe1d99644f797c8cfebb4 100644 (file)
@@ -347,8 +347,8 @@ struct vgic_cpu {
 
        /* Contains the attributes and gpa of the LPI pending tables. */
        u64 pendbaser;
-
-       bool lpis_enabled;
+       /* GICR_CTLR.{ENABLE_LPIS,RWP} */
+       atomic_t ctlr;
 
        /* Cache guest priority bits */
        u32 num_pri_bits;