Searched hist:"014 c4c77aad7660cc7c16cd23b0c3b114cf070d2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | diff 014c4c77aad7660cc7c16cd23b0c3b114cf070d2 Tue Oct 10 13:10:08 CDT 2017 Christoffer Dall <christoffer.dall@linaro.org> KVM: arm64: Improve debug register save/restore flow
Instead of having multiple calls from the world switch path to the debug logic, each figuring out if the dirty bit is set and if we should save/restore the debug registers, let's just provide two hooks to the debug save/restore functionality, one for switching to the guest context, and one for switching to the host context, and we get the benefit of only having to evaluate the dirty flag once on each path, plus we give the compiler some more room to inline some of this functionality.
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>
|