Lines Matching refs:arch

44 	vcpu->arch.guest_debug_preserved.mdscr_el1 = val;  in save_guest_debug_regs()
47 vcpu->arch.guest_debug_preserved.mdscr_el1); in save_guest_debug_regs()
49 vcpu->arch.guest_debug_preserved.pstate_ss = in save_guest_debug_regs()
55 u64 val = vcpu->arch.guest_debug_preserved.mdscr_el1; in restore_guest_debug_regs()
62 if (vcpu->arch.guest_debug_preserved.pstate_ss) in restore_guest_debug_regs()
102 vcpu->arch.mdcr_el2 = __this_cpu_read(mdcr_el2) & MDCR_EL2_HPMN_MASK; in kvm_arm_setup_mdcr_el2()
103 vcpu->arch.mdcr_el2 |= (MDCR_EL2_TPM | in kvm_arm_setup_mdcr_el2()
113 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDE; in kvm_arm_setup_mdcr_el2()
125 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDA; in kvm_arm_setup_mdcr_el2()
127 trace_kvm_arm_set_dreg32("MDCR_EL2", vcpu->arch.mdcr_el2); in kvm_arm_setup_mdcr_el2()
150 vcpu->arch.debug_ptr = &vcpu->arch.vcpu_debug_state; in kvm_arm_reset_debug_ptr()
171 unsigned long mdscr, orig_mdcr_el2 = vcpu->arch.mdcr_el2; in kvm_arm_setup_debug()
240 vcpu->arch.debug_ptr = &vcpu->arch.external_debug_state; in kvm_arm_setup_debug()
244 &vcpu->arch.debug_ptr->dbg_bcr[0], in kvm_arm_setup_debug()
245 &vcpu->arch.debug_ptr->dbg_bvr[0]); in kvm_arm_setup_debug()
248 &vcpu->arch.debug_ptr->dbg_wcr[0], in kvm_arm_setup_debug()
249 &vcpu->arch.debug_ptr->dbg_wvr[0]); in kvm_arm_setup_debug()
267 vcpu->arch.debug_ptr != &vcpu->arch.vcpu_debug_state); in kvm_arm_setup_debug()
274 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2) in kvm_arm_setup_debug()
275 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2); in kvm_arm_setup_debug()
307 &vcpu->arch.debug_ptr->dbg_bcr[0], in kvm_arm_clear_debug()
308 &vcpu->arch.debug_ptr->dbg_bvr[0]); in kvm_arm_clear_debug()
311 &vcpu->arch.debug_ptr->dbg_wcr[0], in kvm_arm_clear_debug()
312 &vcpu->arch.debug_ptr->dbg_wvr[0]); in kvm_arm_clear_debug()