From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 731F5C0015E for ; Sat, 22 Jul 2023 12:08:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjGVMID (ORCPT ); Sat, 22 Jul 2023 08:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbjGVMH5 (ORCPT ); Sat, 22 Jul 2023 08:07:57 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 095E79B; Sat, 22 Jul 2023 05:07:54 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 36MC7lkl017328; Sat, 22 Jul 2023 14:07:47 +0200 Date: Sat, 22 Jul 2023 14:07:47 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: thomas@t-8ch.de, arnd@arndb.de, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 7/8] selftests/nolibc: add test support for powerpc64le Message-ID: <20230722120747.GC17311@1wt.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 19, 2023 at 05:17:26AM +0800, Zhangjin Wu wrote: > Here adds test support for little endian 64-bit PowerPC. > > The powernv machine of qemu-system-ppc64le is used for there is just a > working powernv_defconfig. > > As the document [1] shows: > > PowerNV (as Non-Virtualized) is the "bare metal" platform using the > OPAL firmware. It runs Linux on IBM and OpenPOWER systems and it can be > used as an hypervisor OS, running KVM guests, or simply as a host OS. > > [1]: https://qemu.readthedocs.io/en/latest/system/ppc/powernv.html > > Signed-off-by: Zhangjin Wu > --- > tools/testing/selftests/nolibc/Makefile | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile > index 9c375fab84e5..fbdf7fd9bf96 100644 > --- a/tools/testing/selftests/nolibc/Makefile > +++ b/tools/testing/selftests/nolibc/Makefile > @@ -19,6 +19,7 @@ endif > XARCH ?= $(or $(XARCH_$(ARCH)),$(ARCH)) > > # ARCH is supported by kernel > +ARCH_powerpc64le = powerpc Given that this one will only be used as an alias, I really think you should call it "ppc64le" and not with that long a name. Everyone knows that arch under the name ppc64 anyway so it's not like it would cause any confusion. Willy