]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 22 Mar 2019 06:05:44 +0000 (17:05 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 30 Apr 2019 04:41:20 +0000 (14:41 +1000)
commitf90b8e75b8a11861a5506e0d61b8d95690a44e47
tree80d198ef44cb9d002d857e5c3a3423c800854194
parentf5b8aa6d17639fe84435f818fa00511bdc74f5e4
KVM: PPC: Book3S HV: Implement virtual mode H_PAGE_INIT handler

Implement a virtual mode handler for the H_CALL H_PAGE_INIT which can be
used to zero or copy a guest page. The page is defined to be 4k and must
be 4k aligned.

The in-kernel handler halves the time to handle this H_CALL compared to
handling it in userspace for a radix guest.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_hv.c