Re: [PATCH v6 08/12] KVM: arm64: re-factor hyp.S debug register code

2015-06-25 Thread Alex Bennée
Christoffer Dall christoffer.d...@linaro.org writes: On Fri, Jun 19, 2015 at 01:23:46PM +0100, Alex Bennée wrote: This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to

Re: [PATCH v6 08/12] KVM: arm64: re-factor hyp.S debug register code

2015-06-24 Thread Christoffer Dall
On Fri, Jun 19, 2015 at 01:23:46PM +0100, Alex Bennée wrote: This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to restore a set of debug registers. It uses macro

[PATCH v6 08/12] KVM: arm64: re-factor hyp.S debug register code

2015-06-19 Thread Alex Bennée
This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to restore a set of debug registers. It uses macro substitution so it can be re-used for debug control and value registers.