]> Git Repo - linux.git/commit
kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb
authorJim Mattson <[email protected]>
Tue, 22 May 2018 16:54:20 +0000 (09:54 -0700)
committerPaolo Bonzini <[email protected]>
Tue, 27 Nov 2018 11:50:42 +0000 (12:50 +0100)
commitfd65d3142f734bc4376053c8d75670041903134d
treecc54b20e91a008463389cb74b4e4dd02252ee29a
parent0e0fee5c539b61fdd098332e0e2cc375d9073706
kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb

Previously, we only called indirect_branch_prediction_barrier on the
logical CPU that freed a vmcb. This function should be called on all
logical CPUs that last loaded the vmcb in question.

Fixes: 15d45071523d ("KVM/x86: Add IBPB support")
Reported-by: Neel Natu <[email protected]>
Signed-off-by: Jim Mattson <[email protected]>
Reviewed-by: Konrad Rzeszutek Wilk <[email protected]>
Cc: [email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/svm.c
This page took 0.049901 seconds and 4 git commands to generate.