]> 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)
commit39ee2d1345411bdab962f8d30b9cc04ff26e26ea
treeadf6b6534415ce30492e71c0f2aa95a78ebfab6f
parent9a6de85a175d1de31b21ffa800650f640efd97fd
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