Lines Matching refs:mchk
406 (vcpu->kvm->arch.float_int.mchk.cr14 | in deliverable_irqs()
407 vcpu->arch.local_int.irq.mchk.cr14))) in deliverable_irqs()
567 struct kvm_s390_mchk_info *mchk) in __write_machine_check() argument
583 vcpu->arch.sie_block->mcic = mchk->mcic; in __write_machine_check()
584 vcpu->arch.sie_block->faddr = mchk->failing_storage_address; in __write_machine_check()
585 vcpu->arch.sie_block->edc = mchk->ext_damage_code; in __write_machine_check()
589 mci.val = mchk->mcic; in __write_machine_check()
669 rc |= put_guest_lc(vcpu, mchk->ext_damage_code, in __write_machine_check()
671 rc |= put_guest_lc(vcpu, mchk->failing_storage_address, in __write_machine_check()
673 rc |= write_guest_lc(vcpu, __LC_PSW_SAVE_AREA, &mchk->fixed_logout, in __write_machine_check()
674 sizeof(mchk->fixed_logout)); in __write_machine_check()
682 struct kvm_s390_mchk_info mchk = {}; in __deliver_machine_check() local
696 mchk = li->irq.mchk; in __deliver_machine_check()
699 memset(&li->irq.mchk, 0, sizeof(mchk)); in __deliver_machine_check()
709 mchk.mcic |= fi->mchk.mcic; in __deliver_machine_check()
710 mchk.cr14 |= fi->mchk.cr14; in __deliver_machine_check()
711 memset(&fi->mchk, 0, sizeof(mchk)); in __deliver_machine_check()
719 mchk.mcic); in __deliver_machine_check()
722 mchk.cr14, mchk.mcic); in __deliver_machine_check()
724 rc = __write_machine_check(vcpu, &mchk); in __deliver_machine_check()
1640 struct kvm_s390_mchk_info *mchk = &li->irq.mchk; in __inject_mchk() local
1644 irq->u.mchk.mcic); in __inject_mchk()
1646 irq->u.mchk.mcic); in __inject_mchk()
1656 mchk->cr14 |= irq->u.mchk.cr14; in __inject_mchk()
1657 mchk->mcic |= irq->u.mchk.mcic; in __inject_mchk()
1658 mchk->ext_damage_code |= irq->u.mchk.ext_damage_code; in __inject_mchk()
1659 mchk->failing_storage_address = irq->u.mchk.failing_storage_address; in __inject_mchk()
1660 memcpy(&mchk->fixed_logout, &irq->u.mchk.fixed_logout, in __inject_mchk()
1661 sizeof(mchk->fixed_logout)); in __inject_mchk()
1662 if (mchk->mcic & MCHK_EX_MASK) in __inject_mchk()
1664 else if (mchk->mcic & MCHK_REP_MASK) in __inject_mchk()
1884 fi->mchk.cr14 |= inti->mchk.cr14 & (1UL << CR_PENDING_SUBCLASS); in __inject_float_mchk()
1885 fi->mchk.mcic |= inti->mchk.mcic; in __inject_float_mchk()
2040 inti->mchk.cr14 = s390int->parm; /* upper bits are not used */ in kvm_s390_inject_vm()
2041 inti->mchk.mcic = s390int->parm64; in kvm_s390_inject_vm()
2095 irq->u.mchk.mcic = s390int->parm64; in s390int_to_s390irq()
2224 memset(&fi->mchk, 0, sizeof(fi->mchk)); in kvm_s390_clear_float_irqs()
2307 irq->u.mchk = fi->mchk; in get_all_floating_irqs()
2390 target = (void *) &inti->mchk; in copy_irq_from_user()
2391 source = &uptr->u.mchk; in copy_irq_from_user()
2392 size = sizeof(inti->mchk); in copy_irq_from_user()
2850 struct kvm_s390_mchk_info *mchk; in kvm_s390_reinject_machine_check() local
2863 mchk = mci.ck ? &inti.mchk : &irq.u.mchk; in kvm_s390_reinject_machine_check()
2864 mchk->cr14 = cr14; in kvm_s390_reinject_machine_check()
2865 mchk->mcic = mcck_info->mcic; in kvm_s390_reinject_machine_check()
2866 mchk->ext_damage_code = mcck_info->ext_damage_code; in kvm_s390_reinject_machine_check()
2867 mchk->failing_storage_address = mcck_info->failing_storage_address; in kvm_s390_reinject_machine_check()
2961 irq->u.mchk = li->irq.mchk; in store_local_irq()