lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABVgOSnGNd1n_yMuTLJj=fVHeoD3_+VvGxSw1ffV80B9CubRtw@mail.gmail.com>
Date: Mon, 5 Jan 2026 16:56:19 +0800
From: David Gow <davidgow@...gle.com>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: Brendan Higgins <brendan.higgins@...ux.dev>, Rae Moar <raemoar63@...il.com>, 
	linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org, 
	kunit-dev@...glegroups.com
Subject: Re: [PATCH] kunit: qemu_configs: Add 32-bit big endian ARM configuration

On Fri, 2 Jan 2026 at 15:20, Thomas Weißschuh
<thomas.weissschuh@...utronix.de> wrote:
>
> Add a basic config to run kunit tests on 32-bit big endian ARM.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> ---
> The test string_test_memset64 currently fails. The fix is here:
> https://lore.kernel.org/lkml/20260102-armeb-memset64-v1-1-9aa15fb8e820@linutronix.de/
> ---

Thanks! This works here with:
./tools/testing/kunit/kunit.py run --arch armeb
--cross_compile=arm-linux-gnueabi-

(though big-endian arm isn't supported on LLVM=1 configs)

Reviewed-by: David Gow <davidgow@...gle.com>

Cheers,
-- David


>  tools/testing/kunit/qemu_configs/armeb.py | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>
> diff --git a/tools/testing/kunit/qemu_configs/armeb.py b/tools/testing/kunit/qemu_configs/armeb.py
> new file mode 100644
> index 000000000000..86d326651490
> --- /dev/null
> +++ b/tools/testing/kunit/qemu_configs/armeb.py
> @@ -0,0 +1,16 @@
> +# SPDX-License-Identifier: GPL-2.0
> +
> +from ..qemu_config import QemuArchParams
> +
> +QEMU_ARCH = QemuArchParams(linux_arch='arm',
> +                          kconfig='''
> +CONFIG_CPU_BIG_ENDIAN=y
> +CONFIG_ARCH_VIRT=y
> +CONFIG_SERIAL_AMBA_PL010=y
> +CONFIG_SERIAL_AMBA_PL010_CONSOLE=y
> +CONFIG_SERIAL_AMBA_PL011=y
> +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y''',
> +                          qemu_arch='arm',
> +                          kernel_path='arch/arm/boot/zImage',
> +                          kernel_command_line='console=ttyAMA0',
> +                          extra_qemu_params=['-machine', 'virt'])
>
> ---
> base-commit: a77b19b747c8a53ac16289685b0f77085a2ad553
> change-id: 20251230-kunit-armeb-b4ecff7d3cba
>
> Best regards,
> --
> Thomas Weißschuh <thomas.weissschuh@...utronix.de>
>

Download attachment "smime.p7s" of type "application/pkcs7-signature" (5281 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ