powerpc/mm/32s: add setibat() clearibat() and update_bats()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 21 Feb 2019 19:08:48 +0000 (19:08 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 10:04:32 +0000 (21:04 +1100)
commit5e04ae85fbed8eef209a40a63f8ef507fe623064
treeb1a608bb1f8199d8f4e6be6e5d2c60562f363806
parent166d97d961588d2e52037e96da18d2ead455cec1
powerpc/mm/32s: add setibat() clearibat() and update_bats()

setibat() and clearibat() allows to manipulate IBATs independently
of DBATs.

update_bats() allows to update bats after init. This is done
with MMU off.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/32/mmu-hash.h
arch/powerpc/kernel/head_32.S
arch/powerpc/mm/ppc_mmu_32.c