mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 21:45:32 +07:00
498ad39368
Use the HYPERVISOR_CALLBACK_VECTOR to notify an ACRN guest. Co-developed-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andy Lutomirski <luto@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/1559108037-18813-4-git-send-email-yakui.zhao@intel.com
12 lines
310 B
C
12 lines
310 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_ACRN_H
|
|
#define _ASM_X86_ACRN_H
|
|
|
|
extern void acrn_hv_callback_vector(void);
|
|
#ifdef CONFIG_TRACING
|
|
#define trace_acrn_hv_callback_vector acrn_hv_callback_vector
|
|
#endif
|
|
|
|
extern void acrn_hv_vector_handler(struct pt_regs *regs);
|
|
#endif /* _ASM_X86_ACRN_H */
|