Re: [PATCH 09/37] KVM: arm64: Move debug dirty flag calculation out of world switch

2017-12-03 Thread Andrew Jones
On Fri, Dec 01, 2017 at 06:25:46PM +0100, Christoffer Dall wrote: > On Tue, Nov 07, 2017 at 03:09:19PM +0100, Andrew Jones wrote: > > On Thu, Oct 12, 2017 at 12:41:13PM +0200, Christoffer Dall wrote: > > > There is no need to figure out inside the world-switch if we should > > > save/restore the de

Re: [PATCH 09/37] KVM: arm64: Move debug dirty flag calculation out of world switch

2017-12-01 Thread Christoffer Dall
On Tue, Nov 07, 2017 at 03:09:19PM +0100, Andrew Jones wrote: > On Thu, Oct 12, 2017 at 12:41:13PM +0200, Christoffer Dall wrote: > > There is no need to figure out inside the world-switch if we should > > save/restore the debug registers or not, we can might as well do that in > > the higher level

Re: [PATCH 09/37] KVM: arm64: Move debug dirty flag calculation out of world switch

2017-11-25 Thread Yury Norov
On Tue, Nov 07, 2017 at 03:09:19PM +0100, Andrew Jones wrote: > On Thu, Oct 12, 2017 at 12:41:13PM +0200, Christoffer Dall wrote: > > There is no need to figure out inside the world-switch if we should > > save/restore the debug registers or not, we can might as well do that in > > the higher level

Re: [PATCH 09/37] KVM: arm64: Move debug dirty flag calculation out of world switch

2017-11-07 Thread Andrew Jones
On Thu, Oct 12, 2017 at 12:41:13PM +0200, Christoffer Dall wrote: > There is no need to figure out inside the world-switch if we should > save/restore the debug registers or not, we can might as well do that in > the higher level debug setup code, making it easier to optimize down the > line. > >

[PATCH 09/37] KVM: arm64: Move debug dirty flag calculation out of world switch

2017-10-12 Thread Christoffer Dall
There is no need to figure out inside the world-switch if we should save/restore the debug registers or not, we can might as well do that in the higher level debug setup code, making it easier to optimize down the line. Signed-off-by: Christoffer Dall --- arch/arm64/kvm/debug.c| 9 ++