Searched hist:"4 cdecaba0146481f1503a645b8a5a41c1e8566c9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/arm64/include/asm/ |
H A D | kvm_hyp.h | diff 4cdecaba0146481f1503a645b8a5a41c1e8566c9 Tue Oct 10 15:40:13 CDT 2017 Christoffer Dall <christoffer.dall@linaro.org> KVM: arm64: Unify non-VHE host/guest sysreg save and restore functions
There is no need to have multiple identical functions with different names for saving host and guest state. When saving and restoring state for the host and guest, the state is the same for both contexts, and that's why we have the kvm_cpu_context structure. Delete one version and rename the other into simply save/restore.
Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
|