]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Extract __do_hyp_init into a helper function
authorDavid Brazdil <dbrazdil@google.com>
Wed, 2 Dec 2020 18:41:15 +0000 (18:41 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 4 Dec 2020 10:08:35 +0000 (10:08 +0000)
commit3a9bcffad023d50af87cc0e11f213d043af90661
treee7eed7705f6e3b6efad623750387675a43d6162f
parent40a7aa2fd3db4e0d1653187c65801161d61974a9
KVM: arm64: Extract __do_hyp_init into a helper function

In preparation for adding a CPU entry point in nVHE hyp code, extract
most of __do_hyp_init hypervisor initialization code into a common
helper function. This will be invoked by the entry point to install KVM
on the newly booted CPU.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201202184122.26046-20-dbrazdil@google.com
arch/arm64/kvm/hyp/nvhe/hyp-init.S