diff options
author | Thomas Weißschuh <thomas.weissschuh@linutronix.de> | 2025-04-15 15:38:06 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2025-04-16 12:42:37 -0600 |
commit | 8fe34da63109a9193cd1cb912d48e82c69cb3c6b (patch) | |
tree | 6056dda6b38e08db1b417be87d3c90992d904aed | |
parent | d16b3d0fb43cb0f9eb21b35c2d2c870b3f38ab1d (diff) |
kunit: qemu_configs: Add 64-bit SPARC configuration
Add a basic config to run kunit tests on 64-bit SPARC.
Link: https://lore.kernel.org/r/20250415-kunit-qemu-sparc64-v1-2-253906f61102@linutronix.de
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>
-rw-r--r-- | tools/testing/kunit/qemu_configs/sparc64.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_configs/sparc64.py b/tools/testing/kunit/qemu_configs/sparc64.py new file mode 100644 index 000000000000..53d4e5a8c972 --- /dev/null +++ b/tools/testing/kunit/qemu_configs/sparc64.py @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: GPL-2.0 + +from ..qemu_config import QemuArchParams + +QEMU_ARCH = QemuArchParams(linux_arch='sparc', + kconfig=''' +CONFIG_64BIT=y +CONFIG_SPARC64=y +CONFIG_PCI=y +CONFIG_SERIAL_SUNSU=y +CONFIG_SERIAL_SUNSU_CONSOLE=y +''', + qemu_arch='sparc64', + kernel_path='arch/sparc/boot/image', + kernel_command_line='console=ttyS0 kunit_shutdown=poweroff', + extra_qemu_params=[]) |