Lines Matching refs:gic_kvm_info
529 static struct gic_kvm_info *gic_kvm_info; variable
531 void __init vgic_set_kvm_info(const struct gic_kvm_info *info) in vgic_set_kvm_info()
533 BUG_ON(gic_kvm_info != NULL); in vgic_set_kvm_info()
534 gic_kvm_info = kmalloc(sizeof(*info), GFP_KERNEL); in vgic_set_kvm_info()
535 if (gic_kvm_info) in vgic_set_kvm_info()
536 *gic_kvm_info = *info; in vgic_set_kvm_info()
569 if (!gic_kvm_info) in kvm_vgic_hyp_init()
572 has_mask = !gic_kvm_info->no_maint_irq_mask; in kvm_vgic_hyp_init()
574 if (has_mask && !gic_kvm_info->maint_irq) { in kvm_vgic_hyp_init()
583 if (gic_kvm_info->no_hw_deactivation) { in kvm_vgic_hyp_init()
589 switch (gic_kvm_info->type) { in kvm_vgic_hyp_init()
591 ret = vgic_v2_probe(gic_kvm_info); in kvm_vgic_hyp_init()
594 ret = vgic_v3_probe(gic_kvm_info); in kvm_vgic_hyp_init()
604 kvm_vgic_global_state.maint_irq = gic_kvm_info->maint_irq; in kvm_vgic_hyp_init()
606 kfree(gic_kvm_info); in kvm_vgic_hyp_init()
607 gic_kvm_info = NULL; in kvm_vgic_hyp_init()