Message ID | 20240202-llvm-msym32-v1-2-52f0631057d6@flygoat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-50309-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp616433dyc; Fri, 2 Feb 2024 10:23:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+nA/bE2JSPM/AiWIk8wc2be2DAYthtRVclI6cWzF4+Rz0iNlsXvEc7nkcGrk5X87OapqH X-Received: by 2002:a17:906:2819:b0:a36:7dd8:637f with SMTP id r25-20020a170906281900b00a367dd8637fmr2213433ejc.23.1706898181583; Fri, 02 Feb 2024 10:23:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706898181; cv=pass; d=google.com; s=arc-20160816; b=vt6HjmqeuZSJiCPtSJFxtAvLVkaKYberYbul+phhDl+tNKXDN7+q3HGN8Djoddahqp qfMyum7rfDO7GojxlTXIemfUkJebaRzyCQ3+mPJ3FwgioEkc5n+EFp8Omja7maGstsqt on0o7Rrz3u45dNqEusLnEv4UckIL6nkYtFNWm6e4tYTjIniB3MQpDN9PrzHdXqe3r3kp W3MUIJSn1GuEpDIz663cbgjFmJ1hRgi29+Ql43ufRd8wpG/7PrS5bNgI7zc36yo1r3+N uVa4dd5klCmFuwWnN0uKh6wbuN3Jqb5mEqGeLgr09YTsCzbRFck3sblQntufhY+B1bRe xSWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:feedback-id:dkim-signature:dkim-signature; bh=7wgclmPc7Zcc1oFkurQBvEr0p3fHo8FQzvtyaCB6UcM=; fh=o6vcwXVOa2IAAzTlaJz6MrcjSjKfTF6t9SWEqx/+0B4=; b=Taso6HQGnw/5PUG71gcaDq2SkvJK37o1e7OpvJFnCEat81p8DBXOICUWK66To/mq6h ZD+25EgQY9Y39eftsNkhG9ce/VR37TCfRSwmfDO7WV3Y3p9HdDr3srTDijZng2NDH3BL lxRPM8KeKb+21IjR2La5xjDLE0JVM5RnPeLhoopjByfUmYy49MAa+zGAEQPpYoyoWc82 Dty7PsN/jGM9Z9Xqof/Y8lD47uX5CCitwXNzU2vrRp4+jv0G+1oj2vo3CI2hFCAiVIyh xE6D4R825QbRaAK3CagnN6irtpJRpDNkl+YPbr7PB/8UP3Hj2wDeewkE7L60qqHrTGoN NWWw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b="a/bM/jNo"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=W3QCf6yk; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-50309-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50309-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com X-Forwarded-Encrypted: i=1; AJvYcCXi7HVkJ54ZkZeU78zxgUVo7tBE3JydMyWF1J1RubpumIEUVhIerSAehtsUfRhCJoTxjLAFeWpzCSdPa2GZp8qAkYFNAA== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id rn24-20020a170906d93800b00a353eb7f6d6si1055369ejb.724.2024.02.02.10.23.01 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 10:23:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50309-ouuuleilei=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; dkim=pass header.i=@flygoat.com header.s=fm1 header.b="a/bM/jNo"; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=W3QCf6yk; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-50309-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50309-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com 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 0D26B1F2307D for <ouuuleilei@gmail.com>; Fri, 2 Feb 2024 18:23:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 34BF31509A9; Fri, 2 Feb 2024 18:22:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="a/bM/jNo"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="W3QCf6yk" Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EE79150986; Fri, 2 Feb 2024 18:21:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.21 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706898121; cv=none; b=KDH1uyfhhHG49lzIHE8A2PH+ANB0NNHwgvAPexHgSpnehxzapEToXzD3MPKm3ASVxX0g9Xu5cdeZF4iMMN8CRPreXgNA5kmAaxbWPZFQVbBgJvK7iw3VE277tyKPPHcWOFGdR44Pt3eY61nhRO223OAPDiCqIePOklETjGk299g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706898121; c=relaxed/simple; bh=dISe+F7C2E/OK8vn8VrH+/L47GTB4CFDBhY7zPjHwyE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LswExIEtCbmY+GpuAVY/ARbWLawLCdOUkyweR5OZAYJuEwHj5xMzn4t7xPB2tf8H97ZIrxFHP0PfTq386rJ86undLmXpm4OIf6SUOicGNsJqlMMve+1QsIfDgSPJE9JKgfD6CrMFx6NYH3m2yB+VIBNTgmRndvMXnM7WalzqJqw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=a/bM/jNo; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=W3QCf6yk; arc=none smtp.client-ip=64.147.123.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 931843200A70; Fri, 2 Feb 2024 13:21:58 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 02 Feb 2024 13:21:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1706898118; x=1706984518; bh=7wgclmPc7Zcc1oFkurQBvEr0p3fHo8FQzvtyaCB6UcM=; b= a/bM/jNoNSVsm0Nm2UZ44k0tDLkXAmooFTyqsy5WYFgpNIxjflRtKgAQL+jRlRbO VvvQooBuwuPU/WEqP7wJOR1csLKT4/Uz4QjOvzEeuwlVH0VsF3UvYyMHv1bhGz57 rqcg4Ap3zwbm23e/b+kB6ANl7rm+oQ3iPbyEym4QIZwDtbZ1JG+L0bLcjIwTE3sf /eRXA/JpGAdcPRTdDCNFJrxBn1o2WPehvRx1aBLoEOi5A/ZKd53oDhAGVzzyM4nY Q0RnxIYGYxPFp/hZ6KiIz9nBsS4dPac8mSntsnzq/s1Ii2kXeueFE4h41/CPtLPu 14MSyL0veMwnJ752dqXyNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706898118; x= 1706984518; bh=7wgclmPc7Zcc1oFkurQBvEr0p3fHo8FQzvtyaCB6UcM=; b=W 3QCf6ykzdQJbwC/HRB67d3Hckq0nyXLifBVJyEGkTmdetbQjSCts9lrrPJh14OJs ds3ZX5l7dhWyE/W87iF8bi/l8by5v+9AMrKenSyztD0w8OwJb3noBedKmEkstUJu Rm4XkNve1HJTP9UqoOkmnQmRxIO1DKjgISwwFs18xrqEgibAC3IYvZ11QddbF+ie GzENWcLyWeHA+B8yaVbMzosP7sYOOaUGp9KAio7EJYsC7Y+5Duc2pT6LEwEIOR2y gsqwBbT1BPktYdVrjaBcs/mv1AIO98Vi7QYUThtI3QP/ef1rwpXmOCqBJrzBxkC0 nYhcJWtswOJr7zYyOdmmg== X-ME-Sender: <xms:xTK9ZfbN6FAPEGUdLskbEoXjRKuWfv5AZewS7MEtbcGdFDqTXsCJdA> <xme:xTK9ZebR6BYxA7OsOwHnlGXmi6afVLwdk2Z_nYKRsVqJxbzETUCucLYM9wv5v4ytj 4kZpDR9dSHGreFKtt8> X-ME-Received: <xmr:xTK9ZR9bHtm_r-mHtgjXzGD1O0Ou5zgBnv2YU2QNcTb_URBlAbdttGrbDmHPWXOYNA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedugedguddutdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomheplfhi rgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqe enucggtffrrghtthgvrhhnpeevudejhfffhfevkefhffekteevgfetjeekuedtudeiheei geefjedtleevjeetudenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdihrghn ghesfhhlhihgohgrthdrtghomh X-ME-Proxy: <xmx:xTK9ZVoSQt80UT39RPYlTCzvwli-Qjr8rRAqOgF2ALyIaLTAmSxcxA> <xmx:xTK9Zapw2p4NkdgZ7jclo0g28TlXxE2Nan2P2ZQyVMULDwpyjMPsng> <xmx:xTK9ZbRQ2a3tkX0GU9o9nNvtI9GKFciM91-f818nfFiBVFGlYOcbvg> <xmx:xjK9ZaKhYvGDPTwC7CasFLwFzuAsove0uKEErjktY0g5OB5_aRA5wA> Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 2 Feb 2024 13:21:56 -0500 (EST) From: Jiaxun Yang <jiaxun.yang@flygoat.com> Date: Fri, 02 Feb 2024 18:21:41 +0000 Subject: [PATCH 2/8] MIPS: Remove cc-option checks for -march=octeon Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240202-llvm-msym32-v1-2-52f0631057d6@flygoat.com> References: <20240202-llvm-msym32-v1-0-52f0631057d6@flygoat.com> In-Reply-To: <20240202-llvm-msym32-v1-0-52f0631057d6@flygoat.com> To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Nathan Chancellor <nathan@kernel.org>, Nick Desaulniers <ndesaulniers@google.com>, Bill Wendling <morbo@google.com>, Justin Stitt <justinstitt@google.com> Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Jiaxun Yang <jiaxun.yang@flygoat.com> X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1156; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=dISe+F7C2E/OK8vn8VrH+/L47GTB4CFDBhY7zPjHwyE=; b=owGbwMvMwCXmXMhTe71c8zDjabUkhtS9Rns+XGj/k285+dCeH281Hx8W+tVWu+uLj+8k+wfHm 48uyDil3FHKwiDGxSArpsgSIqDUt6Hx4oLrD7L+wMxhZQIZwsDFKQATMahjZPhw5c/m701u/ow5 W6Z9nspU+fHQgtmBJWHr/n9sn2hUbO7EyNC4aMm9PdLPnF+vEz57rj5mywXeIj4fgemrP5aZWDy w3sUIAA== X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789812467520934077 X-GMAIL-MSGID: 1789812467520934077 |
Series |
MIPS: Aggregate build fixes
|
|
Commit Message
Jiaxun Yang
Feb. 2, 2024, 6:21 p.m. UTC
Nowadays our minimal supported GCC/Clang all support -march=octeon.
Remove cc-option checks to simplify code.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
---
v0: https://lore.kernel.org/all/20230414080701.15503-6-jiaxun.yang@flygoat.com/
---
arch/mips/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 0888074f4dfe..daa569ca4372 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile @@ -174,10 +174,7 @@ cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx) cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d) cflags-$(CONFIG_CPU_R10000) += $(call cc-option,-march=r10000,-march=r8000) \ -Wa,--trap -cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += $(call cc-option,-march=octeon) -Wa,--trap -ifeq (,$(findstring march=octeon, $(cflags-$(CONFIG_CPU_CAVIUM_OCTEON)))) -cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon -endif +cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -march=octeon -Wa,--trap cflags-$(CONFIG_CAVIUM_CN63XXP1) += -Wa,-mfix-cn63xxp1 cflags-$(CONFIG_CPU_BMIPS) += -march=mips32 -Wa,-mips32 -Wa,--trap