powerpc/64: Move MMU backend selection out of platform code
We move it into early_mmu_init() based on firmware features. For PS3, we have to move the setting of these into early_init_devtree(). Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
此提交包含在:

提交者
Michael Ellerman

父節點
91b6fad5cf
當前提交
166dd7d3fb
@@ -687,13 +687,6 @@ static int __init pSeries_probe(void)
|
||||
of_flat_dt_is_compatible(root, "IBM,CBEA"))
|
||||
return 0;
|
||||
|
||||
pr_debug("pSeries detected, looking for LPAR capability...\n");
|
||||
|
||||
if (firmware_has_feature(FW_FEATURE_LPAR))
|
||||
hpte_init_lpar();
|
||||
else
|
||||
hpte_init_native();
|
||||
|
||||
pm_power_off = pseries_power_off;
|
||||
|
||||
pr_debug("Machine is%s LPAR !\n",
|
||||
|
新增問題並參考
封鎖使用者