]> 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)
commitd31ef004020571207dafab24fe3b00ace32273ba
treee7eed7705f6e3b6efad623750387675a43d6162f
parente5cceeda07c9e2d0ab224c84eae8d46faa5072c8
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