Lines Matching refs:mchk

395 	   (vcpu->kvm->arch.float_int.mchk.cr14 |  in deliverable_irqs()
396 vcpu->arch.local_int.irq.mchk.cr14))) in deliverable_irqs()
548 struct kvm_s390_mchk_info *mchk) in __write_machine_check() argument
556 mci.val = mchk->mcic; in __write_machine_check()
636 rc |= put_guest_lc(vcpu, mchk->ext_damage_code, in __write_machine_check()
638 rc |= put_guest_lc(vcpu, mchk->failing_storage_address, in __write_machine_check()
640 rc |= write_guest_lc(vcpu, __LC_PSW_SAVE_AREA, &mchk->fixed_logout, in __write_machine_check()
641 sizeof(mchk->fixed_logout)); in __write_machine_check()
649 struct kvm_s390_mchk_info mchk = {}; in __deliver_machine_check() local
663 mchk = li->irq.mchk; in __deliver_machine_check()
666 memset(&li->irq.mchk, 0, sizeof(mchk)); in __deliver_machine_check()
676 mchk.mcic |= fi->mchk.mcic; in __deliver_machine_check()
677 mchk.cr14 |= fi->mchk.cr14; in __deliver_machine_check()
678 memset(&fi->mchk, 0, sizeof(mchk)); in __deliver_machine_check()
686 mchk.mcic); in __deliver_machine_check()
689 mchk.cr14, mchk.mcic); in __deliver_machine_check()
691 rc = __write_machine_check(vcpu, &mchk); in __deliver_machine_check()
1517 struct kvm_s390_mchk_info *mchk = &li->irq.mchk; in __inject_mchk() local
1521 irq->u.mchk.mcic); in __inject_mchk()
1523 irq->u.mchk.mcic); in __inject_mchk()
1533 mchk->cr14 |= irq->u.mchk.cr14; in __inject_mchk()
1534 mchk->mcic |= irq->u.mchk.mcic; in __inject_mchk()
1535 mchk->ext_damage_code |= irq->u.mchk.ext_damage_code; in __inject_mchk()
1536 mchk->failing_storage_address = irq->u.mchk.failing_storage_address; in __inject_mchk()
1537 memcpy(&mchk->fixed_logout, &irq->u.mchk.fixed_logout, in __inject_mchk()
1538 sizeof(mchk->fixed_logout)); in __inject_mchk()
1539 if (mchk->mcic & MCHK_EX_MASK) in __inject_mchk()
1541 else if (mchk->mcic & MCHK_REP_MASK) in __inject_mchk()
1759 fi->mchk.cr14 |= inti->mchk.cr14 & (1UL << CR_PENDING_SUBCLASS); in __inject_float_mchk()
1760 fi->mchk.mcic |= inti->mchk.mcic; in __inject_float_mchk()
1907 inti->mchk.cr14 = s390int->parm; /* upper bits are not used */ in kvm_s390_inject_vm()
1908 inti->mchk.mcic = s390int->parm64; in kvm_s390_inject_vm()
1962 irq->u.mchk.mcic = s390int->parm64; in s390int_to_s390irq()
2087 memset(&fi->mchk, 0, sizeof(fi->mchk)); in kvm_s390_clear_float_irqs()
2169 irq->u.mchk = fi->mchk; in get_all_floating_irqs()
2252 target = (void *) &inti->mchk; in copy_irq_from_user()
2253 source = &uptr->u.mchk; in copy_irq_from_user()
2254 size = sizeof(inti->mchk); in copy_irq_from_user()
2788 struct kvm_s390_mchk_info *mchk; in kvm_s390_reinject_machine_check() local
2801 mchk = mci.ck ? &inti.mchk : &irq.u.mchk; in kvm_s390_reinject_machine_check()
2802 mchk->cr14 = cr14; in kvm_s390_reinject_machine_check()
2803 mchk->mcic = mcck_info->mcic; in kvm_s390_reinject_machine_check()
2804 mchk->ext_damage_code = mcck_info->ext_damage_code; in kvm_s390_reinject_machine_check()
2805 mchk->failing_storage_address = mcck_info->failing_storage_address; in kvm_s390_reinject_machine_check()
2895 irq->u.mchk = li->irq.mchk; in store_local_irq()