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 73D4AC4167D for ; Sun, 5 Nov 2023 10:49:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230203AbjKEKtP (ORCPT ); Sun, 5 Nov 2023 05:49:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKEKtN (ORCPT ); Sun, 5 Nov 2023 05:49:13 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45A24C6; Sun, 5 Nov 2023 02:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1699181349; bh=5SKORb9FIzkRjaKU7RPndo/ilKQp7h3h2ADgE+ZVSeI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FFulsfCCdxJnz5d+BqwKvkSeDq7f77UROakZPMGfOCF0JeKfnw6kjJ/JqkpBRuU/n hfkJ9TYMSb+XWHvx+zOFOiCq1nP7m7MURc/I/nA1gkKaO0Wywtowt5JDQP6fyYJ6Ka BzAuC0SkaV75A4DdbUw+K42qeaCOay0W+a9cqopQ= Date: Sun, 5 Nov 2023 11:49:08 +0100 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Willy Tarreau 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: <5f35c048-c0bc-4b16-a655-cea54c9f8cf9@t-8ch.de> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-11-05 11:32:27+0100, Willy Tarreau wrote: > 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. Ack. I did the same for mipso32be -> mips32be. Thomas