]> 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)
commitc31cd4e44684502deff1f95d0ff87003f139f656
treeb1d83b0908bb318449d120cfad034d220ef2d16e
parentf7a14e06583456e470a4529c5ce849adb5051dbc
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: 5d466ba72d15 ('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