]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6edc318585410b9cae5a7e4d156f09c8e5e3a700
treeadf6b6534415ce30492e71c0f2aa95a78ebfab6f
parent547db12fd8a0ce753c6bafd130827f1755c93fe6
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