Re: [PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-03-18 Thread Shuai Xue
+ ARM maintainers for review. 在 2025/3/12 14:15, Shuai Xue 写道: The pidfd_test fails on the ARM64 platform with the following error: Bail out! pidfd_poll check for premature notification on child thread exec test: Failed When exception-trace is enabled, the kernel logs the details

Re: [PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-04-06 Thread Shuai Xue
在 2025/4/4 20:18, Will Deacon 写道: On Wed, Mar 19, 2025 at 10:59:57AM +0800, Shuai Xue wrote: + ARM maintainers for review. 在 2025/3/12 14:15, Shuai Xue 写道: The pidfd_test fails on the ARM64 platform with the following error: Bail out! pidfd_poll check for premature notification on

Re: [PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-04-23 Thread Shuai Xue
在 2025/4/6 19:57, Shuai Xue 写道: 在 2025/4/4 20:18, Will Deacon 写道: On Wed, Mar 19, 2025 at 10:59:57AM +0800, Shuai Xue wrote: + ARM maintainers for review. 在 2025/3/12 14:15, Shuai Xue 写道: The pidfd_test fails on the ARM64 platform with the following error:   Bail out! pidfd_poll

[PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-03-11 Thread Shuai Xue
ARM D1.3.10.2 SP alignment checking: > When the SP is used as the base address of a calculation, regardless of > any offset applied by the instruction, if bits [3:0] of the SP are not > 0b, there is a misaligned SP. To fix it, align the stack with 16 bytes. Signed-off-by: Shuai Xue --- t

[RESEND PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-06-15 Thread Shuai Xue
ARM D1.3.10.2 SP alignment checking: > When the SP is used as the base address of a calculation, regardless of > any offset applied by the instruction, if bits [3:0] of the SP are not > 0b, there is a misaligned SP. To fix it, align the stack with 16 bytes. Signed-off-by: Shuai Xue --- t

Re: [RESEND PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-06-18 Thread Shuai Xue
在 2025/6/19 05:36, Shuah Khan 写道: On 6/15/25 23:06, Shuai Xue wrote: The pidfd_test fails on the ARM64 platform with the following error: Bail out! pidfd_poll check for premature notification on child thread exec test: Failed When exception-trace is enabled, the kernel logs the

Re: [RESEND PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-07-16 Thread Shuai Xue
在 2025/6/19 10:26, Shuai Xue 写道: 在 2025/6/19 05:36, Shuah Khan 写道: On 6/15/25 23:06, Shuai Xue wrote: The pidfd_test fails on the ARM64 platform with the following error: Bail out! pidfd_poll check for premature notification on child thread exec test: Failed When exception-trace

Re: [RESEND PATCH] selftests/pidfd: align stack to fix SP alignment exception

2025-07-21 Thread Shuai Xue
在 2025/7/21 22:24, Will Deacon 写道: On Fri, Jul 18, 2025 at 03:10:32PM -0600, Shuah Khan wrote: Can you take a look at this and let me know if this change looks good to you both. I can take this through my tree after your reviews. I never got to the point of fully understanding how the test