diff options
author | Yosry Ahmed <yosry.ahmed@linux.dev> | 2025-04-29 08:32:15 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-04-29 08:39:35 -0700 |
commit | 1bee4838eb3a2c689f23c7170ea66ae87ea7d93a (patch) | |
tree | 26877f8cd90e0d64e2edc512acce7ec9d47ccc18 /scripts/lib/kdoc/kdoc_files.py | |
parent | 459074cff66f77af3f327e2c1f9256cdb146d798 (diff) |
KVM: SVM: Clear current_vmcb during vCPU free for all *possible* CPUs
When freeing a vCPU and thus its VMCB, clear current_vmcb for all possible
CPUs, not just online CPUs, as it's theoretically possible a CPU could go
offline and come back online in conjunction with KVM reusing the page for
a new VMCB.
Link: https://lore.kernel.org/all/20250320013759.3965869-1-yosry.ahmed@linux.dev
Fixes: fd65d3142f73 ("kvm: svm: Ensure an IBPB on all affected CPUs when freeing a vmcb")
Cc: stable@vger.kernel.org
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
[sean: split to separate patch, write changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions