mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
Revert "ANDROID: KVM: arm64: Drop FOLL_FORCE when pinning guest memory pages"
This reverts commit 3f5ffbd827.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ie38216650f36b6b38f0c4052cec515955e239b80
This commit is contained in:
@@ -1163,7 +1163,10 @@ static int pkvm_mem_abort(struct kvm_vcpu *vcpu, phys_addr_t fault_ipa,
|
||||
unsigned long hva)
|
||||
{
|
||||
struct mm_struct *mm = current->mm;
|
||||
unsigned int flags = FOLL_HWPOISON | FOLL_LONGTERM | FOLL_WRITE;
|
||||
unsigned int flags = FOLL_FORCE |
|
||||
FOLL_HWPOISON |
|
||||
FOLL_LONGTERM |
|
||||
FOLL_WRITE;
|
||||
struct kvm_pinned_page *ppage;
|
||||
struct kvm *kvm = vcpu->kvm;
|
||||
struct page *page;
|
||||
|
||||
Reference in New Issue
Block a user