summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorTianyu Lan <ltykernel@gmail.com>2025-09-18 11:00:20 -0400
committerWei Liu <wei.liu@kernel.org>2025-11-15 06:18:14 +0000
commit3e1b611515d286c6725028e17170f7143e5e51fc (patch)
tree45ebff8d17f10970ac7e3c20b5985dfbbf5f9246 /include/asm-generic
parentf34f5e576f5e17de5591c9ae306aeab2911d8533 (diff)
downloadlinux-3e1b611515d286c6725028e17170f7143e5e51fc.tar.gz
linux-3e1b611515d286c6725028e17170f7143e5e51fc.tar.bz2
linux-3e1b611515d286c6725028e17170f7143e5e51fc.zip
drivers: hv: Allow vmbus message synic interrupt injected from Hyper-V
When Secure AVIC is enabled, VMBus driver should call x2apic Secure AVIC interface to allow Hyper-V to inject VMBus message interrupt. Reviewed-by: Michael Kelley <mhklinux@outlook.com> Reviewed-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com> Signed-off-by: Tianyu Lan <tiala@microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/mshyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h
index b89c7e3a2047..db84aced1658 100644
--- a/include/asm-generic/mshyperv.h
+++ b/include/asm-generic/mshyperv.h
@@ -347,6 +347,7 @@ bool hv_is_isolation_supported(void);
bool hv_isolation_type_snp(void);
u64 hv_ghcb_hypercall(u64 control, void *input, void *output, u32 input_size);
u64 hv_tdx_hypercall(u64 control, u64 param1, u64 param2);
+void hv_enable_coco_interrupt(unsigned int cpu, unsigned int vector, bool set);
void hyperv_cleanup(void);
bool hv_query_ext_cap(u64 cap_query);
void hv_setup_dma_ops(struct device *dev, bool coherent);