Skip to content

Commit 8fe34da

Browse files
t-8chshuahkh
authored andcommitted
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/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent d16b3d0 commit 8fe34da

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
from ..qemu_config import QemuArchParams
4+
5+
QEMU_ARCH = QemuArchParams(linux_arch='sparc',
6+
kconfig='''
7+
CONFIG_64BIT=y
8+
CONFIG_SPARC64=y
9+
CONFIG_PCI=y
10+
CONFIG_SERIAL_SUNSU=y
11+
CONFIG_SERIAL_SUNSU_CONSOLE=y
12+
''',
13+
qemu_arch='sparc64',
14+
kernel_path='arch/sparc/boot/image',
15+
kernel_command_line='console=ttyS0 kunit_shutdown=poweroff',
16+
extra_qemu_params=[])

0 commit comments

Comments
 (0)