]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Use alternative scratch registers in DTLB miss handler
authorChristophe Leroy <christophe.leroy@c-s.fr>
Sat, 21 Dec 2019 08:32:31 +0000 (08:32 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 27 Jan 2020 11:36:16 +0000 (22:36 +1100)
commite55f4b867576568390f8802099ceba95bccd22d1
treeadf6b6534415ce30492e71c0f2aa95a78ebfab6f
parent0be222547f1ab0c0bf00955b6fbb597de98985c8
powerpc/8xx: Use alternative scratch registers in DTLB miss handler

In preparation of handling CONFIG_VMAP_STACK, DTLB miss handler need
to use different scratch registers than other exception handlers in
order to not jeopardise exception entry on stack DTLB misses.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c5287ea59ae9630f505019b309bf94029241635f.1576916812.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/head_8xx.S
arch/powerpc/perf/8xx-pmu.c