[v3,16/16] svm: Allow AVIC with in-kernel irqchip mode
diff mbox series

Message ID 1568401242-260374-17-git-send-email-suravee.suthikulpanit@amd.com
State New
Headers show
  • kvm: x86: Support AMD SVM AVIC w/ in-kernel irqchip mode
Related show

Commit Message

Suravee Suthikulpanit Sept. 13, 2019, 7:01 p.m. UTC
Once run-time AVIC activate/deactivate is supported, and EOI workaround
for AVIC is implemented, we can remove the kernel irqchip split mode
requirement for AVIC.

Hence, remove the check for irqchip split mode when enabling AVIC.

Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
 arch/x86/kvm/svm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c
index 457ffe1..4c649c0 100644
--- a/arch/x86/kvm/svm.c
+++ b/arch/x86/kvm/svm.c
@@ -5203,7 +5203,7 @@  static void svm_set_virtual_apic_mode(struct kvm_vcpu *vcpu)
 static bool svm_get_enable_apicv(struct kvm *kvm)
-	return avic && irqchip_split(kvm);
+	return avic;
 static void svm_hwapic_irr_update(struct kvm_vcpu *vcpu, int max_irr)