]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kselftest/arm64: Log fp-stress child startup errors to stdout
authorMark Brown <broonie@kernel.org>
Tue, 22 Oct 2024 23:20:45 +0000 (00:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:35 +0000 (20:03 +0100)
commit14cf8e7be1772f6c4bdffd9d6bcafe584982245a
treeb945e4eac4c422db4d507ed98adb82a5c6e1c238
parentd222934627b9a9fbd943386988c5f923c95f0773
kselftest/arm64: Log fp-stress child startup errors to stdout

[ Upstream commit dca93d29845dfed60910ba13dbfb6ae6a0e19f6d ]

Currently if we encounter an error between fork() and exec() of a child
process we log the error to stderr. This means that the errors don't get
annotated with the child information which makes diagnostics harder and
means that if we miss the exit signal from the child we can deadlock
waiting for output from the child. Improve robustness and output quality
by logging to stdout instead.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20241023-arm64-fp-stress-exec-fail-v1-1-ee3c62932c15@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c