summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/book3s_hv.c
diff options
context:
space:
mode:
authorSukadev Bhattiprolu <sukadev@linux.ibm.com>2019-12-19 13:51:45 -0800
committerPaul Mackerras <paulus@ozlabs.org>2020-01-17 15:08:31 +1100
commitce477a7a1cdfc9aaafcfd03b45bde131a88d51de (patch)
treea36cb003548e79707a09c3e50dd99350802bc757 /arch/powerpc/kvm/book3s_hv.c
parente1bd0a7e248c3ce59b0509e47f035c0759fc68a3 (diff)
downloadlwn-ce477a7a1cdfc9aaafcfd03b45bde131a88d51de.tar.gz
lwn-ce477a7a1cdfc9aaafcfd03b45bde131a88d51de.zip
KVM: PPC: Add skip_page_out parameter to uvmem functions
Add 'skip_page_out' parameter to kvmppc_uvmem_drop_pages() so the callers can specify whetheter or not to skip paging out pages. This will be needed in a follow-on patch that implements H_SVM_INIT_ABORT hcall. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv.c')
-rw-r--r--arch/powerpc/kvm/book3s_hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c
index 2cf3dd8b79d2..47ffc7f1b104 100644
--- a/arch/powerpc/kvm/book3s_hv.c
+++ b/arch/powerpc/kvm/book3s_hv.c
@@ -5477,7 +5477,7 @@ static int kvmhv_svm_off(struct kvm *kvm)
continue;
kvm_for_each_memslot(memslot, slots) {
- kvmppc_uvmem_drop_pages(memslot, kvm);
+ kvmppc_uvmem_drop_pages(memslot, kvm, true);
uv_unregister_mem_slot(kvm->arch.lpid, memslot->id);
}
}