2023-10-08 12:34:21

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH] selftests/nolibc: use qemu-system-ppc64 for ppc64le

qemu-system-ppc64 can handle both big and little endian kernels.

While some setups, like Debian, provide a symlink to execute
qemu-system-ppc64 as qemu-system-ppc64le, others, like ArchLinux, do not.

So always use qemu-system-ppc64 directly.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
tools/testing/selftests/nolibc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index 891aa396163d..af60e07d3c12 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -82,7 +82,7 @@ QEMU_ARCH_arm = arm
QEMU_ARCH_mips = mipsel # works with malta_defconfig
QEMU_ARCH_ppc = ppc
QEMU_ARCH_ppc64 = ppc64
-QEMU_ARCH_ppc64le = ppc64le
+QEMU_ARCH_ppc64le = ppc64
QEMU_ARCH_riscv = riscv64
QEMU_ARCH_s390 = s390x
QEMU_ARCH_loongarch = loongarch64

---
base-commit: 361fbc295e965a3c7f606d281e6107e098d33730
change-id: 20231008-nolibc-qemu-ppc64-07b4f74043a6

Best regards,
--
Thomas Weißschuh <[email protected]>


2023-10-11 03:26:44

by Willy Tarreau

[permalink] [raw]
Subject: Re: [PATCH] selftests/nolibc: use qemu-system-ppc64 for ppc64le

Hi Thomas,

On Sun, Oct 08, 2023 at 02:34:01PM +0200, Thomas Wei?schuh wrote:
> qemu-system-ppc64 can handle both big and little endian kernels.
>
> While some setups, like Debian, provide a symlink to execute
> qemu-system-ppc64 as qemu-system-ppc64le, others, like ArchLinux, do not.
>
> So always use qemu-system-ppc64 directly.
>
> Signed-off-by: Thomas Wei?schuh <[email protected]>

Sorry, I missed this one. Of course: Acked-by: Willy Tarreau <[email protected]>

Thanks,
Willy