From: Marc Zyngier Date: Tue, 18 Feb 2014 14:29:03 +0000 (+0000) Subject: ARM: KVM: introduce kvm_p*d_addr_end X-Git-Tag: v3.15-rc1~118^2~34^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c8bd31af260a17d626514f636849ee1cd1f63e;p=pandora-kernel.git ARM: KVM: introduce kvm_p*d_addr_end The use of p*d_addr_end with stage-2 translation is slightly dodgy, as the IPA is 40bits, while all the p*d_addr_end helpers are taking an unsigned long (arm64 is fine with that as unligned long is 64bit). The fix is to introduce 64bit clean versions of the same helpers, and use them in the stage-2 page table code. Signed-off-by: Marc Zyngier Acked-by: Catalin Marinas Reviewed-by: Christoffer Dall --- Reading git-diff-tree failed