summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/starfire.c
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2019-07-01 20:04:42 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-05 00:27:21 +1000
commit89a3496e0664577043666791ec07fb731d57c950 (patch)
tree8b587eca239cb3ca22e2462aa92ab6eda9a999d9 /arch/sparc/kernel/starfire.c
parent78c949888549a6318ae420802703408caae999f5 (diff)
powerpc/mm/radix: Use the right page size for vmemmap mapping
We use mmu_vmemmap_psize to find the page size for mapping the vmmemap area. With radix translation, we are suboptimally setting this value to PAGE_SIZE. We do check for 2M page size support and update mmu_vmemap_psize to use hugepage size but we suboptimally reset the value to PAGE_SIZE in radix__early_init_mmu(). This resulted in always mapping vmemmap area with 64K page size. Fixes: 2bfd65e45e87 ("powerpc/mm/radix: Add radix callbacks for early init routines") Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/sparc/kernel/starfire.c')
0 files changed, 0 insertions, 0 deletions