]> 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)
commitc6f94dfcd9910e97e1bc79bd6bc48c715981795c
tree057e73c9199a2435309d479dab871a1b49cbcf85
parent61434e10ac6242cf92121f1c1c10f927ebacfba2
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