Re: [PATCH] selftests: vDSO: align stack for O2-optimized memcpy

2024-09-27 Thread Shuah Khan
On 9/27/24 11:24, Jason A. Donenfeld wrote: Hi Shuah, On Tue, Sep 24, 2024 at 01:47:23PM +0200, Jason A. Donenfeld wrote: When switching on -O2, gcc generates SSE2 instructions that assume a 16-byte aligned stack, which the standalone test's start point wasn't aligning. Fix this with the usual

Re: [PATCH] selftests: vDSO: align stack for O2-optimized memcpy

2024-09-27 Thread Jason A. Donenfeld
Hi Shuah, On Tue, Sep 24, 2024 at 01:47:23PM +0200, Jason A. Donenfeld wrote: > When switching on -O2, gcc generates SSE2 instructions that assume a > 16-byte aligned stack, which the standalone test's start point wasn't > aligning. Fix this with the usual alignnent sequence. > > Fixes: ecb8bd70d

[PATCH] selftests: vDSO: align stack for O2-optimized memcpy

2024-09-24 Thread Jason A. Donenfeld
When switching on -O2, gcc generates SSE2 instructions that assume a 16-byte aligned stack, which the standalone test's start point wasn't aligning. Fix this with the usual alignnent sequence. Fixes: ecb8bd70d51 ("selftests: vDSO: build tests with O2 optimization") Reported-by: kernel test robot