]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: KVM: rework HYP page table freeing
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 12 Apr 2013 18:12:05 +0000 (19:12 +0100)
committerChristoffer Dall <cdall@cs.columbia.edu>
Mon, 29 Apr 2013 05:23:10 +0000 (22:23 -0700)
commita6a650c0fecb49727883c17e4a934b07c095c604
treef7532d81637eaa647d8045f6e81c14cd5d60a210
parentb5422d4578b062d83026217d3714e87bff8bc9f7
ARM: KVM: rework HYP page table freeing

There is no point in freeing HYP page tables differently from Stage-2.
They now have the same requirements, and should be dealt with the same way.

Promote unmap_stage2_range to be The One True Way, and get rid of a number
of nasty bugs in the process (good thing we never actually called free_hyp_pmds
before...).

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