Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1510079rdf; Sun, 5 Nov 2023 02:32:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHJCH3nFgbVyMIBo0APcS9cFlfKxGKHvevXGUwpAuX3cgbn8NIQn9BAqGrY9zFwFqRcXwFc X-Received: by 2002:a05:6358:5e09:b0:169:a54e:eb26 with SMTP id q9-20020a0563585e0900b00169a54eeb26mr13575096rwn.19.1699180378296; Sun, 05 Nov 2023 02:32:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699180378; cv=none; d=google.com; s=arc-20160816; b=kwLmr1r2mhL4bQCesAAhF44x18uIQTQiINqfLqR8SL/0wVAy2M5D9X4cHWrjN+R7EA CvIUvgoToqweSBRdwMWhLvfy8tg0K4wpIPpYi+PLUND42gb6Pzkjz5Fa284FydY0p2xr H3OKKRW+S/NXouzlYT5O0CBzethWJ0Ya15rCSRG/IPnR3oQf25W7Ix8wgyxxS+PVpLpS ms+SpS0TsP9FBi2lfLy3oaW1OCdgcnV4a+l6v/3tTygXBLctj98xJfoLPQhHWgFRI9P7 XXt//B2ZizC55Rc6YJwhnlo3SirmwmvzTYyftfR2Hk0keT1AjaIcnw2m5q9PxdCT96fe AG3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=K+fyQJ/VK2+NmCh2G7Ze8u1uBACkKoQCwakkHUT7RUc=; fh=fVLdaaEf8SRAl+vTtTeUb2psDcIX9nery5aD1AwNoP8=; b=t807BVSSRskBsPMr2RVM7I5rd9MVpHouCSnpFj0Jfjv2u6CvhvgmfXqQlG9TIhdSyA qrzn1b8pHfT+ugRz6FpI0tKunJg9bosfBMGm+H2LiiU66H5RpnRE0wSQkEpIpO2N/+hc IupzI61yzX2G7U2l3jIO/7evZHA6BqE3cH0cys9FWHhdp6FB4YcYxsdriZirvx8d2LjT tCzl279TXqMe5QDw0hyfW1Gvw5V0WnujtelFsSeZ0darm/qSKITyyqEmeothubVw7TJH GYhR2+2GbBdsVlXalBlMB9TtoZ+hgQ/Ff4OgJo9vRf/MWs28feax+ax4+S0KCmm7UBYW lHNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kx14-20020a170902f94e00b001bbfbe6bf3esi5364101plb.504.2023.11.05.02.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 02:32:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5FD8C804E2FD; Sun, 5 Nov 2023 02:32:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230042AbjKEKcw (ORCPT + 99 others); Sun, 5 Nov 2023 05:32:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKEKcv (ORCPT ); Sun, 5 Nov 2023 05:32:51 -0500 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61FEFE9; Sun, 5 Nov 2023 02:32:47 -0800 (PST) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 3A5AWRwg002706; Sun, 5 Nov 2023 11:32:27 +0100 Date: Sun, 5 Nov 2023 11:32:27 +0100 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Shuah Khan , Zhangjin Wu , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 3/6] selftests/nolibc: use XARCH for MIPS Message-ID: References: <20231105-nolibc-mips-be-v1-0-6c2ad3e50a1f@weissschuh.net> <20231105-nolibc-mips-be-v1-3-6c2ad3e50a1f@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231105-nolibc-mips-be-v1-3-6c2ad3e50a1f@weissschuh.net> 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 05 Nov 2023 02:32:57 -0800 (PST) Hi Thomas, On Sun, Nov 05, 2023 at 11:09:57AM +0100, Thomas Wei?schuh wrote: > MIPS has many different configurations prepare the support of additional > ones by moving the build of MIPS to the generic XARCH infrastructure. > > Signed-off-by: Thomas Wei?schuh > --- > tools/testing/selftests/nolibc/Makefile | 12 +++++++----- > tools/testing/selftests/nolibc/run-tests.sh | 2 +- > 2 files changed, 8 insertions(+), 6 deletions(-) > > diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile > index c5df1617cbc3..15c12f3c27ba 100644 > --- a/tools/testing/selftests/nolibc/Makefile > +++ b/tools/testing/selftests/nolibc/Makefile > @@ -40,12 +40,14 @@ objtree ?= $(srctree) > > # configure default variants for target kernel supported architectures > XARCH_powerpc = ppc > +XARCH_mips = mipso32le > XARCH = $(or $(XARCH_$(ARCH)),$(ARCH)) > > # map from user input variants to their kernel supported architectures > ARCH_ppc = powerpc > ARCH_ppc64 = powerpc > ARCH_ppc64le = powerpc > +ARCH_mipso32le = mips I *think* that what you called "mipso32le" above corresponds exactly to what is commonly called "mips32le" in toolchains or distros, because, unless I'm mistaken, "mips32" currently uses the O32 ABI. So that would sound more intuitive and natural I think. Willy