diff options
author | Paul Mackerras <paulus@samba.org> | 2013-06-22 07:14:48 (GMT) |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-06-30 01:33:22 (GMT) |
commit | 6ed1485f65f0eb17aa7b649d5abe0b011b92f718 (patch) | |
tree | 6aef39e1fee53d943a11e6c5a20c970d13ab713e /arch/powerpc/include/asm/kvm_book3s.h | |
parent | bc1bc4e3929d7a2e4078a9e48fe1e0bb853de1e6 (diff) | |
download | linux-fsl-qoriq-6ed1485f65f0eb17aa7b649d5abe0b011b92f718.tar.xz |
KVM: PPC: Book3S PR: Don't keep scanning HPTEG after we find a match
The loop in kvmppc_mmu_book3s_64_xlate() that looks up a translation
in the guest hashed page table (HPT) keeps going if it finds an
HPTE that matches but doesn't allow access. This is incorrect; it
is different from what the hardware does, and there should never be
more than one matching HPTE anyway. This fixes it to stop when any
matching HPTE is found.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
0 files changed, 0 insertions, 0 deletions