Lines Matching refs:arch
27 struct kvm_s390_sie_block *sie_block = vcpu->arch.sie_block; in kvm_s390_get_ilen()
30 switch (vcpu->arch.sie_block->icptcode) { in kvm_s390_get_ilen()
37 ilen = insn_length(vcpu->arch.sie_block->ipa >> 8); in kvm_s390_get_ilen()
47 ilen = vcpu->arch.sie_block->pgmilc & 0x6; in kvm_s390_get_ilen()
55 struct kvm_s390_local_interrupt *li = &vcpu->arch.local_int; in handle_stop()
93 int viwhy = vcpu->arch.sie_block->ipb >> 16; in handle_validity()
110 vcpu->arch.sie_block->ipa, in handle_instruction()
111 vcpu->arch.sie_block->ipb); in handle_instruction()
113 switch (vcpu->arch.sie_block->ipa >> 8) { in handle_instruction()
146 .code = vcpu->arch.sie_block->iprcc, in inject_prog_on_prog_intercept()
151 switch (vcpu->arch.sie_block->iprcc & ~PGM_PER) { in inject_prog_on_prog_intercept()
162 pgm_info.trans_exc_code = vcpu->arch.sie_block->tecmc; in inject_prog_on_prog_intercept()
170 pgm_info.exc_access_id = vcpu->arch.sie_block->eai; in inject_prog_on_prog_intercept()
178 pgm_info.trans_exc_code = vcpu->arch.sie_block->tecmc; in inject_prog_on_prog_intercept()
179 pgm_info.exc_access_id = vcpu->arch.sie_block->eai; in inject_prog_on_prog_intercept()
180 pgm_info.op_access_id = vcpu->arch.sie_block->oai; in inject_prog_on_prog_intercept()
183 pgm_info.mon_class_nr = vcpu->arch.sie_block->mcn; in inject_prog_on_prog_intercept()
184 pgm_info.mon_code = vcpu->arch.sie_block->tecmc; in inject_prog_on_prog_intercept()
188 pgm_info.data_exc_code = vcpu->arch.sie_block->dxc; in inject_prog_on_prog_intercept()
191 pgm_info.trans_exc_code = vcpu->arch.sie_block->tecmc; in inject_prog_on_prog_intercept()
192 pgm_info.exc_access_id = vcpu->arch.sie_block->eai; in inject_prog_on_prog_intercept()
198 if (vcpu->arch.sie_block->iprcc & PGM_PER) { in inject_prog_on_prog_intercept()
199 pgm_info.per_code = vcpu->arch.sie_block->perc; in inject_prog_on_prog_intercept()
200 pgm_info.per_atmid = vcpu->arch.sie_block->peratmid; in inject_prog_on_prog_intercept()
201 pgm_info.per_address = vcpu->arch.sie_block->peraddr; in inject_prog_on_prog_intercept()
202 pgm_info.per_access_id = vcpu->arch.sie_block->peraid; in inject_prog_on_prog_intercept()
220 itdb = phys_to_virt(vcpu->arch.sie_block->itdba); in handle_itdb()
229 #define per_event(vcpu) (vcpu->arch.sie_block->iprcc & PGM_PER)
236 vcpu->arch.sie_block->iprcc != PGM_PER) { in should_handle_per_event()
265 if (vcpu->arch.sie_block->iprcc == 0) in handle_prog()
269 trace_kvm_s390_intercept_prog(vcpu, vcpu->arch.sie_block->iprcc); in handle_prog()
270 if (vcpu->arch.sie_block->iprcc == PGM_SPECIFICATION) { in handle_prog()
304 u16 eic = vcpu->arch.sie_block->eic; in handle_external_interrupt()
312 newpsw = vcpu->arch.sie_block->gpsw; in handle_external_interrupt()
336 irq.u.extcall.code = vcpu->arch.sie_block->extcpuaddr; in handle_external_interrupt()
392 if (vcpu->arch.sie_block->ipa == 0xb254) /* MVPG */ in handle_partial_execution()
394 if (vcpu->arch.sie_block->ipa >> 8 == 0xae) /* SIGP */ in handle_partial_execution()
446 memcpy(sida_addr(vcpu->arch.sie_block), sctns, PAGE_SIZE); in handle_sthyi()
468 trace_kvm_s390_handle_operexc(vcpu, vcpu->arch.sie_block->ipa, in handle_operexc()
469 vcpu->arch.sie_block->ipb); in handle_operexc()
471 if (vcpu->arch.sie_block->ipa == 0xb256) in handle_operexc()
474 if (vcpu->arch.sie_block->ipa == 0 && vcpu->kvm->arch.user_instr0) in handle_operexc()
487 oldpsw = vcpu->arch.sie_block->gpsw; in handle_operexc()
500 u32 pref = *(u32 *)sida_addr(vcpu->arch.sie_block); in handle_pv_spx()
509 struct kvm_s390_float_interrupt *fi = &vcpu->kvm->arch.float_int; in handle_pv_sclp()
533 struct uv_cb_share *guest_uvcb = sida_addr(vcpu->arch.sie_block); in handle_pv_uvc()
547 rc = gmap_make_secure(vcpu->arch.gmap, uvcb.gaddr, &uvcb); in handle_pv_uvc()
566 if (vcpu->arch.sie_block->ipa == 0xb210) in handle_pv_notification()
568 if (vcpu->arch.sie_block->ipa == 0xb220) in handle_pv_notification()
570 if (vcpu->arch.sie_block->ipa == 0xb9a4) in handle_pv_notification()
572 if (vcpu->arch.sie_block->ipa >> 8 == 0xae) { in handle_pv_notification()
592 if (!(vcpu->arch.sie_block->icptstatus & 0x02)) in should_handle_per_ifetch()
596 if (guestdbg_sstep_enabled(vcpu) && vcpu->arch.local_int.pending_irqs) in should_handle_per_ifetch()
609 switch (vcpu->arch.sie_block->icptcode) { in kvm_handle_sie_intercept()
655 gmap_convert_to_secure(vcpu->arch.gmap, in kvm_handle_sie_intercept()
657 gmap_convert_to_secure(vcpu->arch.gmap, in kvm_handle_sie_intercept()