Home
last modified time | relevance | path

Searched hist:a305597850c96e2f2d349533cf3b514fa4b7b9f8 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Dhead_32.hdiff a305597850c96e2f2d349533cf3b514fa4b7b9f8 Fri Mar 12 06:50:43 CST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/32: Refactor saving of volatile registers in exception prologs

Exception prologs all do the same at the end:
- Save trapno in stack
- Mark stack with exception marker
- Save r0
- Save r3 to r8

Refactor that into a COMMON_EXCEPTION_PROLOG_END macro.
At the same time use r1 instead of r11.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e1c45d2e895e0693c42d2a6840df1105a148efea.1615552867.git.christophe.leroy@csgroup.eu
H A Dhead_40x.Sdiff a305597850c96e2f2d349533cf3b514fa4b7b9f8 Fri Mar 12 06:50:43 CST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/32: Refactor saving of volatile registers in exception prologs

Exception prologs all do the same at the end:
- Save trapno in stack
- Mark stack with exception marker
- Save r0
- Save r3 to r8

Refactor that into a COMMON_EXCEPTION_PROLOG_END macro.
At the same time use r1 instead of r11.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e1c45d2e895e0693c42d2a6840df1105a148efea.1615552867.git.christophe.leroy@csgroup.eu
H A Dhead_booke.hdiff a305597850c96e2f2d349533cf3b514fa4b7b9f8 Fri Mar 12 06:50:43 CST 2021 Christophe Leroy <christophe.leroy@csgroup.eu> powerpc/32: Refactor saving of volatile registers in exception prologs

Exception prologs all do the same at the end:
- Save trapno in stack
- Mark stack with exception marker
- Save r0
- Save r3 to r8

Refactor that into a COMMON_EXCEPTION_PROLOG_END macro.
At the same time use r1 instead of r11.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/e1c45d2e895e0693c42d2a6840df1105a148efea.1615552867.git.christophe.leroy@csgroup.eu