Lines Matching +full:1 +full:gib

41 static struct kvm_s390_gib *gib;  variable
90 new_val.c = 1; in sca_inject_ext_call()
103 new_val.c = 1; in sca_inject_ext_call()
180 return 1; in ckc_interrupts_enabled()
240 * of the GISA if the GISA is not part of the GIB alert list. All three
358 active_mask &= ~(1UL << (isc_to_irq_type(i))); in disable_iscs()
634 rc |= put_guest_lc(vcpu, 1, (u8 __user *) __LC_AR_MODE_ID); in __write_machine_check()
696 deliver = 1; in __deliver_machine_check()
708 deliver = 1; in __deliver_machine_check()
956 /* bit 1+2 of the target are the ilc, so we can directly use ilen */ in __deliver_prog()
1059 fi->counters[FIRQ_CNTR_PFAULT] -= 1; in __deliver_pfault_done()
1109 fi->counters[FIRQ_CNTR_VIRTIO] -= 1; in __deliver_virtio()
1186 inti->io.subchannel_id >> 1 & 0x3, in __deliver_io()
1197 fi->counters[FIRQ_CNTR_IO] -= 1; in __deliver_io()
1219 KVM_S390_INT_IO(1, 0, 0, 0), in __deliver_io()
1244 return 1; in kvm_s390_vcpu_has_irq()
1247 return 1; in kvm_s390_vcpu_has_irq()
1253 return 1; in kvm_s390_vcpu_has_irq()
1256 return 1; in kvm_s390_vcpu_has_irq()
1461 WARN_ONCE(1, "Unknown pending irq type %ld", irq_type); in kvm_s390_deliver_pending_interrupts()
1724 fi->counters[FIRQ_CNTR_IO] -= 1; in get_io_int()
1760 isc = __fls(active_mask) ^ (BITS_PER_LONG - 1); in get_top_gisa_isc()
1808 tmp_inti->type = KVM_S390_INT_IO(1, 0, 0, 0); in kvm_s390_get_io_int()
1861 fi->counters[FIRQ_CNTR_VIRTIO] += 1; in __inject_virtio()
1880 fi->counters[FIRQ_CNTR_PFAULT] += 1; in __inject_pfault_done()
1895 fi->mchk.cr14 |= inti->mchk.cr14 & (1UL << CR_PENDING_SUBCLASS); in __inject_float_mchk()
1920 VM_EVENT(kvm, 4, "%s isc %1u", "inject: I/O (AI/gisa)", isc); in __inject_io()
1932 fi->counters[FIRQ_CNTR_IO] += 1; in __inject_io()
1939 inti->io.subchannel_id >> 1 & 0x3, in __inject_io()
2285 irq->type = KVM_S390_INT_IO(1, 0, 0, 0); in get_all_floating_irqs()
2620 .type = KVM_S390_INT_IO(1, 0, 0, 0), in kvm_s390_inject_airq()
2690 dev->kvm->arch.gmap->pfault_enabled = 1; in flic_set_attr()
2780 return swap ? (bit ^ (BITS_PER_LONG - 1)) : bit; in get_ind_bit()
2788 get_user_pages_remote(kvm->mm, uaddr, 1, FOLL_WRITE, in get_map_page()
2805 return -1; in adapter_indicators_set()
2809 return -1; in adapter_indicators_set()
2829 return summary_set ? 0 : 1; in adapter_indicators_set()
2844 /* We're only interested in the 0->1 transition. */ in set_adapter_int()
2849 return -1; in set_adapter_int()
2854 ret = 1; in set_adapter_int()
3135 origin = xchg(&gib->alert_list_origin, in process_gib_alert_list()
3251 * in case the GISA is not part of the GIB alert list.
3255 * Returns: the nonspecific ISC (NISC) the gib alert mechanism
3271 if (gi->alert.ref_count[gisc] == 1) { in kvm_s390_gisc_register()
3277 return gib->nisc; in kvm_s390_gisc_register()
3289 * in case the GISA is not part of the GIB alert list.
3293 * Returns: the nonspecific ISC (NISC) the gib alert mechanism
3370 if (si == -1UL) { in aen_process_gait()
3415 if (!gib) in kvm_s390_gib_destroy()
3424 free_page((unsigned long)gib); in kvm_s390_gib_destroy()
3425 gib = NULL; in kvm_s390_gib_destroy()
3434 KVM_EVENT(3, "%s", "gib not initialized, no AIV facility"); in kvm_s390_gib_init()
3438 gib = (struct kvm_s390_gib *)get_zeroed_page(GFP_KERNEL_ACCOUNT | GFP_DMA); in kvm_s390_gib_init()
3439 if (!gib) { in kvm_s390_gib_init()
3446 pr_err("Registering the GIB alert interruption handler failed\n"); in kvm_s390_gib_init()
3453 gib->nisc = nisc; in kvm_s390_gib_init()
3454 gib_origin = virt_to_phys(gib); in kvm_s390_gib_init()
3456 pr_err("Associating the GIB with the AIV facility failed\n"); in kvm_s390_gib_init()
3457 free_page((unsigned long)gib); in kvm_s390_gib_init()
3458 gib = NULL; in kvm_s390_gib_init()
3471 KVM_EVENT(3, "gib 0x%pK (nisc=%d) initialized", gib, gib->nisc); in kvm_s390_gib_init()
3477 free_page((unsigned long)gib); in kvm_s390_gib_init()
3478 gib = NULL; in kvm_s390_gib_init()