powerpc/ps3: Make real stack frames for LV1 hcalls
authorNicholas Piggin <npiggin@gmail.com>
Wed, 27 Dec 2023 07:24:05 +0000 (17:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Feb 2024 12:14:52 +0000 (23:14 +1100)
commit28b2ed86750cf5be86d19dd6ff236b23e98b255d
tree1f19b55fc06cf0519e7c4ff3fb339d85f1795c6e
parentd901473c4dd0198d2d60553ea483d632175af4ea
powerpc/ps3: Make real stack frames for LV1 hcalls

The PS3 hcall assembly code makes ad-hoc stack frames that don't have
a back-chain pointer or meet other requirements like minimum frame size.
This probably confuses stack unwinders. Give all hcalls a real stack
frame.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Geoff Levand <geoff@infradead.org>
[mpe: Add missing \ in LV1_2_IN_4_OUT]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231227072405.63751-4-npiggin@gmail.com
arch/powerpc/platforms/ps3/hvcall.S