mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-04 02:25:58 +00:00

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>
17 lines
410 B
Python
17 lines
410 B
Python
# 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=[])
|