diff mbox series

selftests/nolibc: use qemu-system-ppc64 for ppc64le

Message ID 20231008-nolibc-qemu-ppc64-v1-1-29e2326e0420@weissschuh.net (mailing list archive)
State Accepted
Commit 17362f3d0bd38fd5d152a370c110b0630ac4dc65
Headers show
Series selftests/nolibc: use qemu-system-ppc64 for ppc64le | expand

Commit Message

Thomas Weißschuh Oct. 8, 2023, 12:34 p.m. UTC
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 <linux@weissschuh.net>
---
 tools/testing/selftests/nolibc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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

Best regards,

Comments

Willy Tarreau Oct. 11, 2023, 3:24 a.m. UTC | #1
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 <linux@weissschuh.net>

Sorry, I missed this one. Of course: Acked-by: Willy Tarreau <w@1wt.eu>

Thanks,
Willy
diff mbox series

Patch

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