]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kconfig: make _etext and data areas alignment configurable on 8xx
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 21 Feb 2019 19:08:52 +0000 (19:08 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 10:04:32 +0000 (21:04 +1100)
commit23f066e15d503ecfd5219fdc113d5092859e0664
treea1d056a8298d442a492a2830d8f612c342732665
parent2e9a3740f9825fb2c606c913d0c1ea25a04963cb
powerpc/kconfig: make _etext and data areas alignment configurable on 8xx

On 8xx, large pages (512kb or 8M) are used to map kernel linear
memory. Aligning to 8M reduces TLB misses as only 8M pages are used
in that case. We make 8M the default for data.

This patchs allows the user to do it via Kconfig.

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