]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commita3059b0ca00bc3656ec47797e5816eeedaac3426
tree9115e3dc598c95a3750fd9d699b5a38f873ea782
parent0eb0d2e77dedcce40674100556f2327d0a4b29db
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