Re: [PATCH v3 05/12] KVM: arm: introduce kvm_arm_init/setup/clear_debug

2015-05-08 Thread Christoffer Dall
On Wed, May 06, 2015 at 05:23:20PM +0100, Alex Bennée wrote: > This is a precursor for later patches which will need to do more to > setup debug state before entering the hyp.S switch code. The existing > functionality for setting mdcr_el2 has been moved out of hyp.S and now > uses the value kept

Re: [PATCH v3 05/12] KVM: arm: introduce kvm_arm_init/setup/clear_debug

2015-05-08 Thread Christoffer Dall
On Wed, May 06, 2015 at 05:23:20PM +0100, Alex Bennée wrote: This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been moved out of hyp.S and now uses the value kept in

[PATCH v3 05/12] KVM: arm: introduce kvm_arm_init/setup/clear_debug

2015-05-06 Thread Alex Bennée
This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been moved out of hyp.S and now uses the value kept in vcpu->arch.mdcr_el2. As the assembler used to previously mask and

[PATCH v3 05/12] KVM: arm: introduce kvm_arm_init/setup/clear_debug

2015-05-06 Thread Alex Bennée
This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been moved out of hyp.S and now uses the value kept in vcpu-arch.mdcr_el2. As the assembler used to previously mask and