]> git.baikalelectronics.ru Git - kernel.git/commit
svm/avic: Fix invalidate logical APIC id entry
authorSuthikulpanit, Suravee <Suravee.Suthikulpanit@amd.com>
Tue, 26 Mar 2019 03:57:37 +0000 (03:57 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Apr 2019 13:37:32 +0000 (15:37 +0200)
commita5ac5e60719a815bd1a1958d02ba2efefe67c193
treeb1d83b0908bb318449d120cfad034d220ef2d16e
parenta871ce81b2336392f705e255b2ca4d6cd6427c69
svm/avic: Fix invalidate logical APIC id entry

Only clear the valid bit when invalidate logical APIC id entry.
The current logic clear the valid bit, but also set the rest of
the bits (including reserved bits) to 1.

Fixes: 6a283700cb06 ('svm: Fix AVIC DFR and LDR handling')
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c