mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Retrieve any migration target implementation CPUs using the hypercall and enable associated errata. Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Sebastian Ott <sebott@redhat.com> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20250221140229.12588-6-shameerali.kolothum.thodi@huawei.com Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
22 lines
485 B
C
22 lines
485 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_ARM64_HYPERVISOR_H
|
|
#define _ASM_ARM64_HYPERVISOR_H
|
|
|
|
#include <asm/xen/hypervisor.h>
|
|
|
|
void kvm_init_hyp_services(void);
|
|
bool kvm_arm_hyp_service_available(u32 func_id);
|
|
void kvm_arm_target_impl_cpu_init(void);
|
|
|
|
#ifdef CONFIG_ARM_PKVM_GUEST
|
|
void pkvm_init_hyp_services(void);
|
|
#else
|
|
static inline void pkvm_init_hyp_services(void) { };
|
|
#endif
|
|
|
|
static inline void kvm_arch_init_hyp_services(void)
|
|
{
|
|
pkvm_init_hyp_services();
|
|
};
|
|
|
|
#endif
|