]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
powerpc/mm: Do hash device tree scanning earlier
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 Jul 2016 11:31:59 +0000 (21:31 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 1 Aug 2016 01:14:54 +0000 (11:14 +1000)
commitbacf9cf88303c0df5794ca45dd9f297740a00913
tree29b1d7e5cbb80181a450902089e245e9e9fe950d
parentc610ec60ed6354157ea7b0c9c9a7236126ef416b
powerpc/mm: Do hash device tree scanning earlier

Currently MMU initialisation (early_init_mmu()) consists of a mixture of
scanning the device tree, setting MMU feature bits, and then also doing
actual initialisation of MMU data structures.

We'd like to decouple the setting of the MMU features from the actual
setup. So split out the device tree scanning, and associated code, and
call it from mmu_init_early_devtree().

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/mmu.h
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/init_64.c