diff options
| author | Ashish Kalra <ashish.kalra@amd.com> | 2022-09-28 20:47:12 +0000 |
|---|---|---|
| committer | Ashish Kalra <ashish.kalra@amd.com> | 2022-09-28 20:47:12 +0000 |
| commit | cd1599797a25194b293754293d67b217d739a039 (patch) | |
| tree | 3a6bcf0eeb8d01c4abb5c707211c8ea17eb72f92 /arch/x86/kvm/svm/svm.c | |
| parent | 0aaa1e599bee256b3b15643bbb95e80ce7aa9be5 (diff) | |
| download | cachepc-linux-cd1599797a25194b293754293d67b217d739a039.tar.gz cachepc-linux-cd1599797a25194b293754293d67b217d739a039.zip | |
Revert "KVM: SEV: add cache flush to solve SEV cache incoherency issues"
This reverts commit 683412ccf61294d727ead4a73d97397396e69a6b.
Need to revert this commit to fix soft-lockup and RCU stall issues on
both SNP host and guest. The wbinvd_on_all_cpus() invoked from the
MMU invalidation notifiers as part of this patch adds a lot of additional
overhead and latencies on SNP host kernel especially with large physical
count cpus during NUMA autobalancing and host RMP page fault handling.
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
| -rw-r--r-- | arch/x86/kvm/svm/svm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c index cf0bf456d520..7f9239daec7a 100644 --- a/arch/x86/kvm/svm/svm.c +++ b/arch/x86/kvm/svm/svm.c @@ -4742,7 +4742,6 @@ static struct kvm_x86_ops svm_x86_ops __initdata = { .mem_enc_ioctl = sev_mem_enc_ioctl, .mem_enc_register_region = sev_mem_enc_register_region, .mem_enc_unregister_region = sev_mem_enc_unregister_region, - .guest_memory_reclaimed = sev_guest_memory_reclaimed, .vm_copy_enc_context_from = sev_vm_copy_enc_context_from, .vm_move_enc_context_from = sev_vm_move_enc_context_from, |
