Home
last modified time | relevance | path

Searched refs:gcr (Results 1 – 5 of 5) sorted by relevance

/arch/s390/kvm/
Dintercept.c46 rc = get_guest(vcpu, vcpu->arch.sie_block->gcr[reg], in handle_lctlg()
82 vcpu->arch.sie_block->gcr[reg] &= 0xffffffff00000000ul; in handle_lctl()
83 vcpu->arch.sie_block->gcr[reg] |= val; in handle_lctl()
Dinterrupt.c72 if (vcpu->arch.sie_block->gcr[0] & 0x2000ul) in __interrupt_is_deliverable()
77 if (vcpu->arch.sie_block->gcr[0] & 0x4000ul) in __interrupt_is_deliverable()
83 if (vcpu->arch.sie_block->gcr[0] & 0x200ul) in __interrupt_is_deliverable()
89 if (vcpu->arch.sie_block->gcr[0] & 0x200ul) in __interrupt_is_deliverable()
100 if (vcpu->arch.sie_block->gcr[14] & inti->mchk.cr14) in __interrupt_is_deliverable()
106 if (vcpu->arch.sie_block->gcr[6] & in __interrupt_is_deliverable()
345 if (!(vcpu->arch.sie_block->gcr[0] & 0x800ul)) in __try_deliver_ckc_interrupt()
390 (vcpu->arch.sie_block->gcr[0] & 0x800ul)) in kvm_cpu_has_interrupt()
423 (!(vcpu->arch.sie_block->gcr[0] & 0x800ul))) { in kvm_s390_handle_wait()
Dkvm-s390.c358 memset(vcpu->arch.sie_block->gcr, 0, 16 * sizeof(__u64)); in kvm_s390_vcpu_initial_reset()
359 vcpu->arch.sie_block->gcr[0] = 0xE0UL; in kvm_s390_vcpu_initial_reset()
360 vcpu->arch.sie_block->gcr[14] = 0xC2000000UL; in kvm_s390_vcpu_initial_reset()
544 memcpy(&vcpu->arch.sie_block->gcr, &sregs->crs, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_set_sregs()
553 memcpy(&sregs->crs, &vcpu->arch.sie_block->gcr, sizeof(sregs->crs)); in kvm_arch_vcpu_ioctl_get_sregs()
684 memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128); in kvm_arch_vcpu_ioctl_run()
736 memcpy(&kvm_run->s.regs.crs, &vcpu->arch.sie_block->gcr, 128); in kvm_arch_vcpu_ioctl_run()
825 &vcpu->arch.sie_block->gcr, 128, prefix)) in kvm_s390_vcpu_store_status()
/arch/powerpc/kvm/
Dmpic.c215 uint32_t gcr; /* Global configuration register */ member
520 opp->gcr = GCR_RESET; in openpic_reset()
561 opp->gcr = 0; in openpic_reset()
687 opp->gcr &= ~opp->mpic_mode_mask; in openpic_gcr_write()
688 opp->gcr |= val & opp->mpic_mode_mask; in openpic_gcr_write()
764 retval = opp->gcr; in openpic_gbl_read()
1187 if ((opp->gcr & opp->mpic_mode_mask) == GCR_MODE_PROXY) in kvmppc_mpic_set_epr()
/arch/s390/include/asm/
Dkvm_host.h104 __u64 gcr[16]; /* 0x0100 */ member