]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: MIPS: Clean & flush on dirty page logging enable
authorJames Hogan <james.hogan@imgtec.com>
Tue, 6 Dec 2016 14:56:20 +0000 (14:56 +0000)
committerJames Hogan <james.hogan@imgtec.com>
Fri, 3 Feb 2017 15:21:24 +0000 (15:21 +0000)
commitd2260c2f8737e0188213c11a92b34deaf715c4cc
treeedcfa2f286a91c45fb55d74b49f5b2c696d154ea
parent7f0f90ebd8094d43bd3dc02d2abef154618462f6
KVM: MIPS: Clean & flush on dirty page logging enable

When an existing memory region has dirty page logging enabled, make the
entire slot clean (read only) so that writes will immediately start
logging dirty pages (once the dirty bit is transferred from GPA to GVA
page tables in an upcoming patch).

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
arch/mips/kvm/mips.c