Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / arm64 / include / asm / hypervisor.h
blob409e239834d1947596fe0404ca04781b04c01142
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_ARM64_HYPERVISOR_H
3 #define _ASM_ARM64_HYPERVISOR_H
5 #include <asm/xen/hypervisor.h>
7 void kvm_init_hyp_services(void);
8 bool kvm_arm_hyp_service_available(u32 func_id);
10 #ifdef CONFIG_ARM_PKVM_GUEST
11 void pkvm_init_hyp_services(void);
12 #else
13 static inline void pkvm_init_hyp_services(void) { };
14 #endif
16 static inline void kvm_arch_init_hyp_services(void)
18 pkvm_init_hyp_services();
21 #endif