Lines Matching refs:arch
44 vcpu->arch.guest_debug_preserved.mdscr_el1 = val;
47 vcpu->arch.guest_debug_preserved.mdscr_el1);
49 vcpu->arch.guest_debug_preserved.pstate_ss =
55 u64 val = vcpu->arch.guest_debug_preserved.mdscr_el1;
62 if (vcpu->arch.guest_debug_preserved.pstate_ss)
102 vcpu->arch.mdcr_el2 = __this_cpu_read(mdcr_el2) & MDCR_EL2_HPMN_MASK;
103 vcpu->arch.mdcr_el2 |= (MDCR_EL2_TPM |
113 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDE;
125 vcpu->arch.mdcr_el2 |= MDCR_EL2_TDA;
127 trace_kvm_arm_set_dreg32("MDCR_EL2", vcpu->arch.mdcr_el2);
150 vcpu->arch.debug_ptr = &vcpu->arch.vcpu_debug_state;
163 * flag on vcpu->arch.iflags). Since the guest must not interfere
171 unsigned long mdscr, orig_mdcr_el2 = vcpu->arch.mdcr_el2;
240 vcpu->arch.debug_ptr = &vcpu->arch.external_debug_state;
244 &vcpu->arch.debug_ptr->dbg_bcr[0],
245 &vcpu->arch.debug_ptr->dbg_bvr[0]);
248 &vcpu->arch.debug_ptr->dbg_wcr[0],
249 &vcpu->arch.debug_ptr->dbg_wvr[0]);
267 vcpu->arch.debug_ptr != &vcpu->arch.vcpu_debug_state);
274 if (has_vhe() && orig_mdcr_el2 != vcpu->arch.mdcr_el2)
275 write_sysreg(vcpu->arch.mdcr_el2, mdcr_el2);
307 &vcpu->arch.debug_ptr->dbg_bcr[0],
308 &vcpu->arch.debug_ptr->dbg_bvr[0]);
311 &vcpu->arch.debug_ptr->dbg_wcr[0],
312 &vcpu->arch.debug_ptr->dbg_wvr[0]);