target/ppc/spapr: Enable H_PAGE_INIT in-kernel handling
commit68f9f7084146b48acb68c606b81edcb04d69d41c
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Wed, 6 Mar 2019 06:06:08 +0000 (6 17:06 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 12 Mar 2019 03:33:04 +0000 (12 14:33 +1100)
tree783b41efed17ce4fe1eb7e6909e056e87a6a8b06
parente075623aa517b0690ec978772df008d7e00ebce5
target/ppc/spapr: Enable H_PAGE_INIT in-kernel handling

The H_CALL H_PAGE_INIT can be used to zero or copy a page of guest
memory. Enable the in-kernel H_PAGE_INIT handler.

The in-kernel handler takes half the time to complete compared to
handling the H_CALL in userspace.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Message-Id: <20190306060608.19935-1-sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
target/ppc/kvm.c
target/ppc/kvm_ppc.h