summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2019-03-12 18:55:45 +0530
committerWill Deacon <will.deacon@arm.com>2019-04-09 11:21:50 +0100
commit14b94d07572619af896c6d2d83b1196c4041fe19 (patch)
tree73494f1e7c6ca1a5790a3a7ef1b5dffd913ea3a5 /usr
parent369aaab845a65b90ceac2801edd577fae442476c (diff)
KVM: ARM: Remove pgtable page standard functions from stage-2 page tables
ARM64 standard pgtable functions are going to use pgtable_page_[ctor|dtor] or pgtable_pmd_page_[ctor|dtor] constructs. At present KVM guest stage-2 PUD|PMD|PTE level page tabe pages are allocated with __get_free_page() via mmu_memory_cache_alloc() but released with standard pud|pmd_free() or pte_free_kernel(). These will fail once they start calling into pgtable_ [pmd]_page_dtor() for pages which never originally went through respective constructor functions. Hence convert all stage-2 page table page release functions to call buddy directly while freeing pages. Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Acked-by: Yu Zhao <yuzhao@google.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions