ARM: KVM: use phys_addr_t instead of unsigned long long for HYP PGDs
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 14 May 2013 11:11:37 +0000 (12:11 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:10:36 +0000 (17:10 +0200)
commit3be39e7f5aaca996a006717658c517650f345476
tree4fdbc49614ef315635402e9f5868099835d05265
parentfd741ad3dd186a0df45994059de3a08517a856bc
ARM: KVM: use phys_addr_t instead of unsigned long long for HYP PGDs

HYP PGDs are passed around as phys_addr_t, except just before calling
into the hypervisor init code, where they are cast to a rather weird
unsigned long long.

Just keep them around as phys_addr_t, which is what makes the most
sense.

Reported-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
(cherry picked from commit dac288f7b38a7439502b77dabcdf8a9a5c4ae721)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_host.h
arch/arm/kvm/arm.c