Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1098763rwo; Sat, 22 Jul 2023 06:35:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKA2eSVW5TjGMxbFy1td9mCayuPFx4qVfxWM56eqxSxqNeyGhUjLmjKWB0dAGCoXRPwcbc X-Received: by 2002:a05:6a20:12d3:b0:12f:8755:96ba with SMTP id v19-20020a056a2012d300b0012f875596bamr4130581pzg.28.1690032914586; Sat, 22 Jul 2023 06:35:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690032914; cv=none; d=google.com; s=arc-20160816; b=0io6wLxYRNNkUc47YXe3GaR+iR3hbme3/KfYDoqii4fkeXC5doQIFvQL1OyxkutkUW 21ISZlY3u7zP+BHQTsXPP/UX2ipQsLdzAoWTX7Kkq2U6LHCMQkWa2Y38XLzGzEbXZemr KQu8/Gmjiou5hR5a8qcgPiKPiwPUT+XpP0xWuekchgSXOUl1z7XhqM2j3Ux4NdLoWkqT jz/Dv3aZ+TEcKmBsOAXmQGKEMIKK1Nq2CeP25hicIdfi+4ysJlT908bUXN/YsN9rJsBf 1KdCxXxE8KjlFYXPpFM2fcO7VeW6wNe2Ni7PCvX6UWTcTaxyeB1IENosx2+bPSROThvb CWSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TekooZgBHpjHWiJxDg8g2NHzSpouKQ+774JSE+1iTRg=; fh=ujwW7c4tbJyQEFqfHDIuJXTy68vjNzYK6N7f8YmL270=; b=RLBvRg2lcnVHugsnA3L1jhcBuLGuvvoijwYHRPZYjjZxOXNCmG7nVYwxfvVHfVjMsv hNsNZbyzu+hMmshhHLdv7rqeDylAbgsl/d1oI18EgMoGE3VrtNyinUz/xdvF/KQ16mvB 2rRvqZS2XhLfTphS150f3cWsTNS5S6GQYGc0ldUuNALpXy+OD0Ma7NSJvE8CvI6JuoAY iyiTUbBKVydyAbWhK2QgH8VUXOCnhnfX4k8MtwTK3K++YYFrvlgs1/H6zDuy4mCTH5i9 lVbufVWozlIVYd7PuOq9nEjQ5q0uMt9sZsULjaPdtOk0tzewXKxRao8Iyvg8iTnfGLSr bjyQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fc6-20020a056a002e0600b0068661fafe90si3947702pfb.253.2023.07.22.06.34.52; Sat, 22 Jul 2023 06:35:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbjGVMIC (ORCPT + 99 others); Sat, 22 Jul 2023 08:08:02 -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) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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