summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2016-12-20 16:49:04 +1100
committerPaul Mackerras <paulus@ozlabs.org>2017-01-31 21:59:50 +1100
commit639e459768845924705933db9142baef545ff5fc (patch)
treecc3911410230a47dcb5a7675da270d0ba1ea15ce /arch/powerpc/include/asm
parentf98a8bf9ee201b7e22fc05e27150b1e481d4949f (diff)
downloadop-kernel-dev-639e459768845924705933db9142baef545ff5fc.zip
op-kernel-dev-639e459768845924705933db9142baef545ff5fc.tar.gz
KVM: PPC: Book3S HV: Create kvmppc_unmap_hpte_helper()
The kvm_unmap_rmapp() function, called from certain MMU notifiers, is used to force all guest mappings of a particular host page to be set ABSENT, and removed from the reverse mappings. For HPT resizing, we will have some cases where we want to set just a single guest HPTE ABSENT and remove its reverse mappings. To prepare with this, we split out the logic from kvm_unmap_rmapp() to evict a single HPTE, moving it to a new helper function. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/include/asm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud