Re: [PATCH] KVM: PPC: Book3S HV: rework secure mem slot dropping

2020-07-26 Thread Bharata B Rao
On Fri, Jul 24, 2020 at 10:35:27AM +0200, Laurent Dufour wrote: > When a secure memslot is dropped, all the pages backed in the secure > device (aka really backed by secure memory by the Ultravisor) > should be paged out to a normal page. Previously, this was > achieved by triggering the page

[PATCH] KVM: PPC: Book3S HV: rework secure mem slot dropping

2020-07-24 Thread Laurent Dufour
When a secure memslot is dropped, all the pages backed in the secure device (aka really backed by secure memory by the Ultravisor) should be paged out to a normal page. Previously, this was achieved by triggering the page fault mechanism which is calling kvmppc_svm_page_out() on each pages. This