From: Paul Mackerras Date: Mon, 16 Dec 2013 02:31:46 +0000 (+1100) Subject: KVM: PPC: Book3S HV: Don't drop low-order page address bits X-Git-Tag: v3.13-rc5~13^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9059bb64023da9f27e56a94a3e2b8f4b6336a9;p=pandora-kernel.git KVM: PPC: Book3S HV: Don't drop low-order page address bits Commit caaa4c804fae ("KVM: PPC: Book3S HV: Fix physical address calculations") unfortunately resulted in some low-order address bits getting dropped in the case where the guest is creating a 4k HPTE and the host page size is 64k. By getting the low-order bits from hva rather than gpa we miss out on bits 12 - 15 in this case, since hva is at page granularity. This puts the missing bits back in. Reported-by: Alexey Kardashevskiy Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed