]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: KVM-HV HPT resizing implementation
authorDavid Gibson <david@gibson.dropbear.id.au>
Tue, 20 Dec 2016 05:49:06 +0000 (16:49 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 31 Jan 2017 11:00:00 +0000 (22:00 +1100)
commit469c84386d0fdd49e7f0fd3e6e717a1f66ff9d17
treef28430f49d5d2cfdf28139f0ba29fb09b3c7c921
parent565f122e1dd58b1071afc662af7307b74780c38b
KVM: PPC: Book3S HV: KVM-HV HPT resizing implementation

This adds the "guts" of the implementation for the HPT resizing PAPR
extension.  It has the code to allocate and clear a new HPT, rehash an
existing HPT's entries into it, and accomplish the switchover for a
KVM guest from the old HPT to the new one.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_64_mmu_hv.c