[PATCH v4 09/40] KVM: arm64: Move debug dirty flag calculation out of world switch
From: Andrew Jones <hidden>
Date: 2018-02-21 17:35:42
Also in:
kvm, kvmarm
From: Andrew Jones <hidden>
Date: 2018-02-21 17:35:42
Also in:
kvm, kvmarm
On Thu, Feb 15, 2018 at 10:03:01PM +0100, 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 might as well do that in the higher level debug setup code, making it easier to optimize down the line. Reviewed-by: Julien Thierry <redacted> Reviewed-by: Marc Zyngier <redacted> Signed-off-by: Christoffer Dall <redacted> --- arch/arm64/kvm/debug.c | 5 +++++ arch/arm64/kvm/hyp/debug-sr.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-)
Reviewed-by: Andrew Jones <redacted>