ARM: KVM: move to a KVM provided HYP idmap
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Apr 2013 18:12:03 +0000 (19:12 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 05:23:08 +0000 (22:23 -0700)
commit2fb410596ca917fe6419be61ee5bc1782b17d947
tree9b17527736eb0d7936c9d720721d946768ab5361
parent3562c76dcb9ce84853c835eec12a911bf3a8e2da
ARM: KVM: move to a KVM provided HYP idmap

After the HYP page table rework, it is pretty easy to let the KVM
code provide its own idmap, rather than expecting the kernel to
provide it. It takes actually less code to do so.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
arch/arm/include/asm/idmap.h
arch/arm/include/asm/kvm_mmu.h
arch/arm/kvm/mmu.c
arch/arm/mm/idmap.c