From: Aneesh Kumar K.V Date: Wed, 5 Nov 2014 01:21:13 +0000 (+1100) Subject: KVM: PPC: Book3S HV: Add missing HPTE unlock X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2^2~16 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6fb9e848c39d65516caf7614fc8e0b28f5301ce;p=pandora-kernel.git KVM: PPC: Book3S HV: Add missing HPTE unlock In kvm_test_clear_dirty(), if we find an invalid HPTE we move on to the next HPTE without unlocking the invalid one. In fact we should never find an invalid and unlocked HPTE in the rmap chain, but for robustness we should unlock it. This adds the missing unlock. Reported-by: Benjamin Herrenschmidt Signed-off-by: Aneesh Kumar K.V Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed