diff options
author | Zheyun Shen <szy0127@sjtu.edu.cn> | 2025-05-22 16:37:30 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-07-10 09:43:43 -0700 |
commit | 7e00013bd33995dddb604dc94f6c970d6603d5ec (patch) | |
tree | 1677874f290c9a00799ffdb815a308f51462aa51 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 55aed8c2dbc4d95121c20a509d95e2ef3c1d7d09 (diff) |
KVM: SVM: Remove wbinvd in sev_vm_destroy()
Before sev_vm_destroy() is called, kvm_arch_guest_memory_reclaimed()
has been called for SEV and SEV-ES and kvm_arch_gmem_invalidate()
has been called for SEV-SNP. These functions have already handled
flushing the memory. Therefore, this wbinvd_on_all_cpus() can
simply be dropped.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Zheyun Shen <szy0127@sjtu.edu.cn>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20250522233733.3176144-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions