]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/hyperv: Don't use hv apic driver when Secure AVIC is available
authorTianyu Lan <ltykernel@gmail.com>
Thu, 18 Sep 2025 15:00:19 +0000 (11:00 -0400)
committerWei Liu <wei.liu@kernel.org>
Sat, 15 Nov 2025 06:18:14 +0000 (06:18 +0000)
commitf34f5e576f5e17de5591c9ae306aeab2911d8533
tree2839d0a3affbcb679dc86a9c37e9913d8d9429ad
parent4cc1aa469cd6b714adc958547a4866247bfd60a9
x86/hyperv: Don't use hv apic driver when Secure AVIC is available

When Secure AVIC is available, the AMD x2apic Secure
AVIC driver will be selected. In that case, have
hv_apic_init() return immediately without doing
anything.

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>
arch/x86/hyperv/hv_apic.c