|
@@ -166,12 +166,6 @@ void __hyp_text __debug_restore_state(struct kvm_vcpu *vcpu,
|
|
|
|
|
|
void __hyp_text __debug_cond_save_host_state(struct kvm_vcpu *vcpu)
|
|
|
{
|
|
|
- /* If any of KDE, MDE or KVM_ARM64_DEBUG_DIRTY is set, perform
|
|
|
- * a full save/restore cycle. */
|
|
|
- if ((vcpu->arch.ctxt.sys_regs[MDSCR_EL1] & DBG_MDSCR_KDE) ||
|
|
|
- (vcpu->arch.ctxt.sys_regs[MDSCR_EL1] & DBG_MDSCR_MDE))
|
|
|
- vcpu->arch.debug_flags |= KVM_ARM64_DEBUG_DIRTY;
|
|
|
-
|
|
|
__debug_save_state(vcpu, &vcpu->arch.host_debug_state.regs,
|
|
|
kern_hyp_va(vcpu->arch.host_cpu_context));
|
|
|
__debug_save_spe()(&vcpu->arch.host_debug_state.pmscr_el1);
|