]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Factor out pKVM hyp vcpu creation to separate function
authorFuad Tabba <tabba@google.com>
Fri, 14 Mar 2025 11:18:31 +0000 (11:18 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Fri, 14 Mar 2025 23:04:23 +0000 (16:04 -0700)
commit8b21fb47c7788779f571499cde4ce573c53ed218
tree628d67485ab6890da9cf8943bd1e5e9060fd3ec1
parent066daa8d3bc2694c392e14091978043aed7b1f23
KVM: arm64: Factor out pKVM hyp vcpu creation to separate function

Move the code that creates and initializes the hyp view of a vcpu
in pKVM to its own function. This is meant to make the transition
to initializing every vcpu individually clearer.

Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20250314111832.4137161-4-tabba@google.com
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/pkvm.c