Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp840416rdb; Fri, 23 Feb 2024 01:19:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXs4XbquwwdbId+rC5MUSSn/8y0NjbtVtRFzuxOHKeVAEJX9R+vcO6JvYeihed8mBu6mpUL6H76FpHbrMTJVLDxyqjKz/CT4JIQSSTy1w== X-Google-Smtp-Source: AGHT+IGeIhcyBWrOaaiVbyDrQECH7aX2jy8l36ZNaFGVGSCqeDsSwEeV9OTnct7tqTMDRnbL2ftY X-Received: by 2002:a17:906:7113:b0:a40:f821:4d11 with SMTP id x19-20020a170906711300b00a40f8214d11mr108178ejj.35.1708679975774; Fri, 23 Feb 2024 01:19:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708679975; cv=pass; d=google.com; s=arc-20160816; b=k9FzrViIHBmW/BHVlOeWilHy4geEaGkm+N9P+aupsun4XQRLH2PYfUzVpz6INznDeh G9bFdHwfG68cNjmiCjhsExkPqLvkEn7viYV2gYSB/vyZC4Xe+l6T+v0deP4BXI/1QvnF BgWfFqh4D64QpfkL6Zc2lD/HQ2sI0C/R2ienoMidVTeozHiuxHWRlI3uB4cfjAdQVOwp 6PL9pufe8YOePWWbC0t6NDQYrfLpapDfesZhxGoAkmAGVF7ZF5RSj0mfmYMa4gUCtTjN h+dWTKLLlNgSRsSFvpbidiOTeZT442/O5Bm1gPi2/GD8SSIZkDOvch3HSR9braxaflfL wpYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=Pi0mhXgUJiSfEhbV0mqKuE7p/jESfH2MbIU9PQfYsfs=; fh=GC7miT8j+zj8P0kvo2WSvSd9YcnpZxgyQtcyNzsM9Po=; b=wUpwkabD/SMdb21Ynp6/Sy1y+kLkTFgTZQ8VZGTlYTeYL1I86WpEVuExxzzYXgRgXu +nqODfny5k9DuvwCZGoTF7HIIs7nFJNxM4uv6SsI4ob8PapjIc5QGpDSRJi6dHl8UE+s 4IAaRs21BquePzGY5entNIixFBitJ4C3vgB2LBkDIFFAI2BKtZtd5CZA8N4HV4luX9gJ QEbex7b0A/OtMiSuNWvZD/HDe1PNg+BvPqBZmkFOXLeQmi2wl1TIqYALplTqX6CbQwm6 NLAr4S4TVxsXOxEi6UE83MnzxgI66JTRUdvHsmPGpfxlr+DJT4fSDyXS884WdieRhr23 QXeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-77994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77994-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ce3-20020a170906b24300b00a3e4575e5f6si5407120ejb.893.2024.02.23.01.19.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 01:19:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=alpha.franken.de); spf=pass (google.com: domain of linux-kernel+bounces-77994-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77994-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6F8811F225EC for ; Fri, 23 Feb 2024 09:19:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A62EE5C8F3; Fri, 23 Feb 2024 09:19:28 +0000 (UTC) Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5323E1A731; Fri, 23 Feb 2024 09:19:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.175.24.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708679968; cv=none; b=BwdRAooxNYuNn6CXbTo0nkoGnmI9w1SETPTwFevZPOAXyYWjqcaRrytrIjOkxU5wgXGdTP4bks1v5VJeXjnELQKLo6HyNr9dF5U1JmDOyA6R6Az/h2IhrKrFzM/Cn75mzAuV6bEHX/4QD5CtXHhZ00LZZB5wmaBXuMAywxyFMAo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708679968; c=relaxed/simple; bh=B2LN/yniV9iT2GJ1kbsrmW4avghqfoHXIm5XQIcvZAg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X6isupdtZ5TbkEBf8dji4BwmY7H3ak/Sqva/tY1r1FHcjsAAZcA+Rn6ZTlYDBLERb/XMgh86OCQX30yDKb30PBzGCgtYP4VcwaLhUz2rJBYt4IYvIklOHfmSeLWgJZFmPIk6G5+7Arf60QZ6uNIAv1TPWn2L8zZJB7d3WuvccQ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=193.175.24.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1rdRi6-0003JB-00; Fri, 23 Feb 2024 10:19:14 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id C738DC0267; Fri, 23 Feb 2024 10:18:00 +0100 (CET) Date: Fri, 23 Feb 2024 10:18:00 +0100 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Guenter Roeck Subject: Re: [PATCH 0/8] MIPS: Aggregate build fixes Message-ID: References: <20240202-llvm-msym32-v1-0-52f0631057d6@flygoat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240202-llvm-msym32-v1-0-52f0631057d6@flygoat.com> On Fri, Feb 02, 2024 at 06:21:39PM +0000, Jiaxun Yang wrote: > Hi all, > > This series is a collection of build fixes that have been lying > at my local trees for a while, some of them are for Clang built > linux and others are for some wiredo configurations. > > Please review. > > Thanks > > Signed-off-by: Jiaxun Yang > --- > Jiaxun Yang (8): > MIPS: Probe toolchain support of -msym32 > MIPS: Remove cc-option checks for -march=octeon > MIPS: Fallback CPU -march flag to ISA level if unsupported > MIPS: BMIPS: Drop unnecessary assembler flag > MIPS: Loongson64: test for -march=loongson3a cflag > MIPS: Limit MIPS_MT_SMP support by ISA reversion > MIPS: Implement microMIPS MT ASE helpers > MIPS: mipsregs: Set proper ISA level for virt extensions > > arch/mips/Kconfig | 3 +- > arch/mips/Makefile | 46 ++++--- > arch/mips/include/asm/asmmacro.h | 22 ++-- > arch/mips/include/asm/mipsmtregs.h | 256 ++++++++++++++++++++++--------------- > arch/mips/include/asm/mipsregs.h | 22 +++- > arch/mips/kernel/vpe-mt.c | 4 +- > 6 files changed, 211 insertions(+), 142 deletions(-) > --- > base-commit: 076d56d74f17e625b3d63cf4743b3d7d02180379 > change-id: 20240202-llvm-msym32-6392d410f650 applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]