Re: [PATCH 7/7] KVM: arm64: guest debug, HW assisted debug support

2014-12-01 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Tue, Nov 25, 2014 at 04:10:05PM +, Alex Bennée wrote: snip --- a/arch/arm64/kvm/hyp.S +++ b/arch/arm64/kvm/hyp.S @@ -18,6 +18,7 @@ #include linux/linkage.h #include linux/kvm.h +#include uapi/asm/kvm.h #include

Re: [PATCH 7/7] KVM: arm64: guest debug, HW assisted debug support

2014-11-30 Thread Christoffer Dall
On Tue, Nov 25, 2014 at 04:10:05PM +, Alex Bennée wrote: This adds support for userspace to control the HW debug registers for guest debug. We'll only copy the $ARCH defined number across as that's all that hyp.S will use anyway. I've moved some helper functions into the hw_breakpoint.h

Re: [PATCH 7/7] KVM: arm64: guest debug, HW assisted debug support

2014-11-26 Thread Andrew Jones
On Tue, Nov 25, 2014 at 04:10:05PM +, Alex Bennée wrote: This adds support for userspace to control the HW debug registers for guest debug. We'll only copy the $ARCH defined number across as that's all that hyp.S will use anyway. I've moved some helper functions into the hw_breakpoint.h

[PATCH 7/7] KVM: arm64: guest debug, HW assisted debug support

2014-11-25 Thread Alex Bennée
This adds support for userspace to control the HW debug registers for guest debug. We'll only copy the $ARCH defined number across as that's all that hyp.S will use anyway. I've moved some helper functions into the hw_breakpoint.h header for re-use. As with single step we need to tweak the guest