[PATCH v2 09/11] KVM: arm: disable debug mode if we don't actually need it.

2015-05-30 Thread Zhichao Huang
Until now we enable debug mode all the time even if we don't actually need it. Inspired by the implementation in arm64, disable debug mode if we don't need it. And then we are able to reduce unnecessary registers saving/restoring when the debug mode is disabled. Signed-off-by: Zhichao Huang ---

Re: [PATCH v2 09/11] KVM: arm: disable debug mode if we don't actually need it.

2015-06-01 Thread Will Deacon
On Sun, May 31, 2015 at 05:27:10AM +0100, Zhichao Huang wrote: > Until now we enable debug mode all the time even if we don't > actually need it. > > Inspired by the implementation in arm64, disable debug mode if > we don't need it. And then we are able to reduce unnecessary > registers saving/res

Re: [PATCH v2 09/11] KVM: arm: disable debug mode if we don't actually need it.

2015-06-07 Thread zichao
Hi, Will, On 2015/6/1 18:16, Will Deacon wrote: > On Sun, May 31, 2015 at 05:27:10AM +0100, Zhichao Huang wrote: >> Until now we enable debug mode all the time even if we don't >> actually need it. >> >> Inspired by the implementation in arm64, disable debug mode if >> we don't need it. And then w