Skip to content

Commit 6962d37

Browse files
t-8chSasha Levin
authored and
Sasha Levin
committed
kunit: qemu_configs: SH: Respect kunit cmdline
[ Upstream commit b26c1a8 ] 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/[email protected] Fixes: 8110a3c ("kunit: tool: Add support for SH under QEMU") Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent e71a57a commit 6962d37

File tree

1 file changed

+3
-1
lines changed
  • tools/testing/kunit/qemu_configs

1 file changed

+3
-1
lines changed

tools/testing/kunit/qemu_configs/sh.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
CONFIG_MEMORY_START=0x0c000000
88
CONFIG_SH_RTS7751R2D=y
99
CONFIG_RTS7751R2D_PLUS=y
10-
CONFIG_SERIAL_SH_SCI=y''',
10+
CONFIG_SERIAL_SH_SCI=y
11+
CONFIG_CMDLINE_EXTEND=y
12+
''',
1113
qemu_arch='sh4',
1214
kernel_path='arch/sh/boot/zImage',
1315
kernel_command_line='console=ttySC1',

0 commit comments

Comments
 (0)