]> git.baikalelectronics.ru Git - kernel.git/commit
svm: Fix AVIC incomplete IPI emulation
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Tue, 22 Jan 2019 10:25:13 +0000 (10:25 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2019 18:11:34 +0000 (19:11 +0100)
commit1e20ef4a9b4b5048f04b78031066decb9ebd7a7c
tree057e73c9199a2435309d479dab871a1b49cbcf85
parentf6079d79ab3b7ca6c9d1165150096fa3014132d8
svm: Fix AVIC incomplete IPI emulation

In case of incomplete IPI with invalid interrupt type, the current
SVM driver does not properly emulate the IPI, and fails to boot
FreeBSD guests with multiple vcpus when enabling AVIC.

Fix this by update APIC ICR high/low registers, which also
emulate sending the IPI.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c