]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kunit: qemu_configs: SH: Respect kunit cmdline
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 7 Apr 2025 08:58:03 +0000 (10:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:45 +0000 (10:45 +0200)
commitec95d0dfc672f6a282cfdcadd58471e96056b690
tree071054e9c790a905337c0312386a345c483c0141
parentd7c65ecad9596c0e9c58cc26ee805031ba00df4d
kunit: qemu_configs: SH: Respect kunit cmdline

[ Upstream commit b26c1a85f3fc3cc749380ff94199377fc2d0c203 ]

The default SH kunit configuration sets CONFIG_CMDLINE_OVERWRITE which
completely disregards the cmdline passed from the bootloader/QEMU in favor
of the builtin CONFIG_CMDLINE.
However the kunit tool needs to pass arguments to the in-kernel kunit core,
for filters and other runtime parameters.

Enable CONFIG_CMDLINE_EXTEND instead, so kunit arguments are respected.

Link: https://lore.kernel.org/r/20250407-kunit-sh-v1-1-f5432a54cf2f@linutronix.de
Fixes: 8110a3cab05e ("kunit: tool: Add support for SH under QEMU")
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/kunit/qemu_configs/sh.py