]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Move debug dirty flag calculation out of world switch
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 10 Oct 2017 17:31:33 +0000 (19:31 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 19 Mar 2018 10:53:11 +0000 (10:53 +0000)
commitda0388d559ee2a3413ff4962145b481904869c4d
treea6de80182aa512c1c5d9c9176ff365093bb26d0a
parentdcb15bbe283e13da47e41a90b57a8c8a3a8958de
KVM: arm64: Move debug dirty flag calculation out of world switch

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 <julien.thierry@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/debug.c
arch/arm64/kvm/hyp/debug-sr.c