Re: [PATCH 4/4] kunit: qemu_configs: Add microblaze configuration
David Gow <[email protected]> Wed, 5 Aug 2026 21:59:16 +0800
| Newsgroups | org.kernel.vger.linux-kselftest,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Le 04/08/2026 à 13:32, Thomas Weißschuh a écrit : > Add a basic configuration to run kunit tests on microblaze. > > Signed-off-by: Thomas Weißschuh <[email protected]> > --- Works well here, though there are still a couple of test failures (and a longer timeout is needed to get through them all on my machine): > Testing complete. Ran 965 tests: passed: 866, failed: 3, skipped: 96 > Failures: blake2s.test_hash_alignment_consistency, memcpy.memmove_overlap_test, printf.dentry I'm okay with this going in via either the microblaze or KUnit trees. Any preferences? Reviewed-by: David Gow <[email protected]> Cheers, -- David > tools/testing/kunit/qemu_configs/microblaze.py | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/tools/testing/kunit/qemu_configs/microblaze.py b/tools/testing/kunit/qemu_configs/microblaze.py > new file mode 100644 > index 000000000000..ff012095e77d > --- /dev/null > +++ b/tools/testing/kunit/qemu_configs/microblaze.py > @@ -0,0 +1,17 @@ > +# SPDX-License-Identifier: GPL-2.0-only > +from ..qemu_config import QemuArchParams > + > +QEMU_ARCH = QemuArchParams(linux_arch='microblaze', > + kconfig=''' > +CONFIG_CPU_BIG_ENDIAN=y > +CONFIG_SERIAL_UARTLITE=y > +CONFIG_SERIAL_UARTLITE_CONSOLE=y > +CONFIG_MB_POWER_OFF_THROUGH_UNALIGNED_PC=y > +''', > + qemu_arch='microblaze', > + kernel_path='arch/microblaze/boot/linux.bin', > + kernel_command_line='kunit_shutdown=poweroff', > + extra_qemu_params=[ > + '-M', 'petalogix-s3adsp1800', > + ], > +) >