KVM: arm/arm64: Add hook for arch-specific KVM initialisation
authorDave Martin <Dave.Martin@arm.com>
Thu, 28 Feb 2019 18:33:00 +0000 (18:33 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 29 Mar 2019 14:41:54 +0000 (14:41 +0000)
commit0f062bfe36b63cd24f16afe2822d0df7c27904d9
treeb1e02fc2a10c7748d521f5c4c15e53c2dfab181e
parentead9e430c0fba1a7aa6d948a626c48ef9c4aa069
KVM: arm/arm64: Add hook for arch-specific KVM initialisation

This patch adds a kvm_arm_init_arch_resources() hook to perform
subarch-specific initialisation when starting up KVM.

This will be used in a subsequent patch for global SVE-related
setup on arm64.

No functional change.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Julien Thierry <julien.thierry@arm.com>
Tested-by: zhang.lei <zhang.lei@jp.fujitsu.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/include/asm/kvm_host.h
arch/arm64/include/asm/kvm_host.h
virt/kvm/arm/arm.c