Lines Matching refs:mchk

408 	   (vcpu->kvm->arch.float_int.mchk.cr14 |  in deliverable_irqs()
409 vcpu->arch.local_int.irq.mchk.cr14))) in deliverable_irqs()
569 struct kvm_s390_mchk_info *mchk) in __write_machine_check() argument
585 vcpu->arch.sie_block->mcic = mchk->mcic; in __write_machine_check()
586 vcpu->arch.sie_block->faddr = mchk->failing_storage_address; in __write_machine_check()
587 vcpu->arch.sie_block->edc = mchk->ext_damage_code; in __write_machine_check()
591 mci.val = mchk->mcic; in __write_machine_check()
671 rc |= put_guest_lc(vcpu, mchk->ext_damage_code, in __write_machine_check()
673 rc |= put_guest_lc(vcpu, mchk->failing_storage_address, in __write_machine_check()
675 rc |= write_guest_lc(vcpu, __LC_PSW_SAVE_AREA, &mchk->fixed_logout, in __write_machine_check()
676 sizeof(mchk->fixed_logout)); in __write_machine_check()
684 struct kvm_s390_mchk_info mchk = {}; in __deliver_machine_check() local
698 mchk = li->irq.mchk; in __deliver_machine_check()
701 memset(&li->irq.mchk, 0, sizeof(mchk)); in __deliver_machine_check()
711 mchk.mcic |= fi->mchk.mcic; in __deliver_machine_check()
712 mchk.cr14 |= fi->mchk.cr14; in __deliver_machine_check()
713 memset(&fi->mchk, 0, sizeof(mchk)); in __deliver_machine_check()
721 mchk.mcic); in __deliver_machine_check()
724 mchk.cr14, mchk.mcic); in __deliver_machine_check()
726 rc = __write_machine_check(vcpu, &mchk); in __deliver_machine_check()
1643 struct kvm_s390_mchk_info *mchk = &li->irq.mchk; in __inject_mchk() local
1647 irq->u.mchk.mcic); in __inject_mchk()
1649 irq->u.mchk.mcic); in __inject_mchk()
1659 mchk->cr14 |= irq->u.mchk.cr14; in __inject_mchk()
1660 mchk->mcic |= irq->u.mchk.mcic; in __inject_mchk()
1661 mchk->ext_damage_code |= irq->u.mchk.ext_damage_code; in __inject_mchk()
1662 mchk->failing_storage_address = irq->u.mchk.failing_storage_address; in __inject_mchk()
1663 memcpy(&mchk->fixed_logout, &irq->u.mchk.fixed_logout, in __inject_mchk()
1664 sizeof(mchk->fixed_logout)); in __inject_mchk()
1665 if (mchk->mcic & MCHK_EX_MASK) in __inject_mchk()
1667 else if (mchk->mcic & MCHK_REP_MASK) in __inject_mchk()
1887 fi->mchk.cr14 |= inti->mchk.cr14 & (1UL << CR_PENDING_SUBCLASS); in __inject_float_mchk()
1888 fi->mchk.mcic |= inti->mchk.mcic; in __inject_float_mchk()
2042 inti->mchk.cr14 = s390int->parm; /* upper bits are not used */ in kvm_s390_inject_vm()
2043 inti->mchk.mcic = s390int->parm64; in kvm_s390_inject_vm()
2097 irq->u.mchk.mcic = s390int->parm64; in s390int_to_s390irq()
2233 memset(&fi->mchk, 0, sizeof(fi->mchk)); in kvm_s390_clear_float_irqs()
2316 irq->u.mchk = fi->mchk; in get_all_floating_irqs()
2399 target = (void *) &inti->mchk; in copy_irq_from_user()
2400 source = &uptr->u.mchk; in copy_irq_from_user()
2401 size = sizeof(inti->mchk); in copy_irq_from_user()
2859 struct kvm_s390_mchk_info *mchk; in kvm_s390_reinject_machine_check() local
2872 mchk = mci.ck ? &inti.mchk : &irq.u.mchk; in kvm_s390_reinject_machine_check()
2873 mchk->cr14 = cr14; in kvm_s390_reinject_machine_check()
2874 mchk->mcic = mcck_info->mcic; in kvm_s390_reinject_machine_check()
2875 mchk->ext_damage_code = mcck_info->ext_damage_code; in kvm_s390_reinject_machine_check()
2876 mchk->failing_storage_address = mcck_info->failing_storage_address; in kvm_s390_reinject_machine_check()
2970 irq->u.mchk = li->irq.mchk; in store_local_irq()