diff options
| author | 2025-10-16 12:06:41 -0700 | |
|---|---|---|
| committer | 2025-11-04 09:14:26 -0800 | |
| commit | 59a217ced3e7af849cc84fce36d8bfe225976e27 (patch) | |
| tree | c8e9020a0a5a69dd19e58f6208e7c5ac7c6c46cd /rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: x86: Call out MSR_IA32_S_CET is not handled by XSAVES (diff) | |
| download | wireguard-linux-59a217ced3e7af849cc84fce36d8bfe225976e27.tar.xz wireguard-linux-59a217ced3e7af849cc84fce36d8bfe225976e27.zip | |
KVM: SVM: Initialize per-CPU svm_data at the end of hardware setup
Setup the per-CPU SVM data structures at the very end of hardware setup so
that svm_hardware_unsetup() can be used in svm_hardware_setup() to unwind
AVIC setup (for the GALog notifier). Alternatively, the error path could
do an explicit, manual unwind, e.g. by adding a helper to free the per-CPU
structures. But the per-CPU allocations have no interactions or
dependencies, i.e. can comfortably live at the end, and so converting to
a manual unwind would introduce churn and code without providing any
immediate advantage.
Link: https://patch.msgid.link/20251016190643.80529-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/debugfs/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
