Re: [PATCH 01/13] selftests/powerpc: Ensure 16-byte stack pointer alignment

2022-07-29 Thread Michael Ellerman
On Tue, 28 Jun 2022 00:02:27 +1000, Michael Ellerman wrote: > The PUSH/POP_BASIC_STACK helpers in basic_asm.h do not ensure that the > stack pointer is always 16-byte aligned, which is required per the ABI. > > Fix the macros to do the alignment if the caller fails to. > > Currently only one

[PATCH 01/13] selftests/powerpc: Ensure 16-byte stack pointer alignment

2022-06-27 Thread Michael Ellerman
The PUSH/POP_BASIC_STACK helpers in basic_asm.h do not ensure that the stack pointer is always 16-byte aligned, which is required per the ABI. Fix the macros to do the alignment if the caller fails to. Currently only one caller passes a non-aligned size, tm_signal_self(), which hasn't been