mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 23:04:54 +01:00
Retrieve any migration target implementation CPUs using the hypercall and enable associated errata. Reviewed-by: Cornelia Huck <[email protected]> Reviewed-by: Sebastian Ott <[email protected]> Signed-off-by: Shameer Kolothum <[email protected]> Acked-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
23 lines
485 B
C
23 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
|