]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Make pinning of ITLBs optional
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 12 Jul 2017 10:08:51 +0000 (12:08 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Aug 2017 12:55:53 +0000 (22:55 +1000)
commitbf96536a216f5bc5095a2c060f60ed5969157527
tree9115e3dc598c95a3750fd9d699b5a38f873ea782
parent0c6b219bbc7b70073850a83edfb1a3a0e5496030
powerpc/8xx: Make pinning of ITLBs optional

As stated in a comment in head_8xx.S, today we "Always pin the first
8 MB ITLB to prevent ITLB misses while mucking around with SRR0/SRR1
in asm".

This issue has just been cleared by the preceding patch, therefore
we can make this pinning optional (on by default) and independent
of DATA pinning.

This patch also makes pinning of IMMR independent of pinning of DATA.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/8xx_mmu.c