summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/powerpc.c
diff options
context:
space:
mode:
authorPaul Mackerras2015-05-18 06:10:54 +0200
committerPaul Mackerras2015-10-21 07:25:06 +0200
commitc64dfe2af3de448f9afa2e542983015b31c1f91c (patch)
treead79c4a9cbc5a61eae174b11eb5efa77598044dd /arch/powerpc/kvm/powerpc.c
parentKVM: PPC: Book3S HV: Don't fall back to smaller HPT size in allocation ioctl (diff)
downloadkernel-qcow2-linux-c64dfe2af3de448f9afa2e542983015b31c1f91c.tar.gz
kernel-qcow2-linux-c64dfe2af3de448f9afa2e542983015b31c1f91c.tar.xz
kernel-qcow2-linux-c64dfe2af3de448f9afa2e542983015b31c1f91c.zip
KVM: PPC: Book3S HV: Make H_REMOVE return correct HPTE value for absent HPTEs
This fixes a bug where the old HPTE value returned by H_REMOVE has the valid bit clear if the HPTE was an absent HPTE, as happens for HPTEs for emulated MMIO pages and for RAM pages that have been paged out by the host. If the absent bit is set, we clear it and set the valid bit, because from the guest's point of view, the HPTE is valid. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
0 files changed, 0 insertions, 0 deletions