powerpc/64s: remove unnecessary translation cache flushes at boot
authorNicholas Piggin <npiggin@gmail.com>
Mon, 2 Sep 2019 15:29:30 +0000 (01:29 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2019 04:22:41 +0000 (14:22 +1000)
commit7d805accbec57a151bd0dd305a1109feebdfd4a4
tree74b29ce6b0e206b947a45f88bd01906b1e201406
parent7e71c428a60e2029585be7d7cc22775f442e5b2c
powerpc/64s: remove unnecessary translation cache flushes at boot

The various translation structure invalidations performed in early boot
when the MMU is off are not required, because everything is invalidated
immediately before a CPU first enables its MMU (see early_init_mmu
and early_init_mmu_secondary).

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190902152931.17840-6-npiggin@gmail.com
arch/powerpc/mm/book3s64/hash_utils.c
arch/powerpc/mm/book3s64/pgtable.c
arch/powerpc/mm/book3s64/radix_pgtable.c
arch/powerpc/platforms/pseries/lpar.c