Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1532625pxb; Tue, 8 Feb 2022 21:20:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwM6b9cw98q5xoWaOwblpRqP1jUh4PRaZO8thDOfrvtoDYXD9J3eAmz/TjbI5I7ZnPygvKq X-Received: by 2002:a63:1d56:: with SMTP id d22mr594124pgm.149.1644384042734; Tue, 08 Feb 2022 21:20:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644384042; cv=none; d=google.com; s=arc-20160816; b=dEkvUpiVBqEIn/XeDxSrQg0+iGsp/94gbwWK+F0qLQHFoYtvqoVT/ESjIpFmoQfkVb XdQT/nFKiOHFpwi5BDYAD67iKgPeEYkNisVyBjGzLqUL19zVvRRZckpj2cKQSxurqqy2 G5IozuATv4YpU5dMeuue9mBPieOmJmACD+JMyjVqWPf/VQG25R8jGds1VW6qnndnlBDj EthQSTdWAwmNr52RNrbj3rZuJI3f17ozbUWq7PRU0Zfxx/vj/aG5QdQJiTnsC90rA6uS a46zKEK+9k4xReO/LZNI2Bhc74pA3omh48Z3n6ajpQ0wDgFDel5992TBjeaV2WlDaXLj Vvig== 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=tt9FiP5idMjzoNBaDHEbLZaC1UNrzt6HulNs0GkyWgw=; b=0BBxXzpdZZwddoPXYzjmcVLiS/Z9UHm/piTYNsEkiFZsA3DFL+b5OWJy8d9oC4wlFM iwRs2K7cDB6ygPTcAQsVjG5A3AZnuJGo8b7lq+jL+l+71Bn+scMb4hs1sXrxg+Hxfvlz QWzWstu0Lzg9u5lq7ABLe78fdOW7umszx3yg6wY3BYJHco2DBn2s6W9KqnSRYiLIRY4s oQf412+ZRxy0XO0loQwGU7DONpEm1CwMLZK49SEKEXfn2eAGe2ITOi/uEo53+I8BAFLO e1Gj0wtilDzimvw8dX4WCYfTwJFl0htevFcnpJI/KNVQwmweTChnPfCeRW3wy0WdIVPT /gSg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k16si14309384plg.518.2022.02.08.21.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 21:20:42 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 12733C03325D; Tue, 8 Feb 2022 21:19:53 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344606AbiBGRq1 (ORCPT + 99 others); Mon, 7 Feb 2022 12:46:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383727AbiBGRke (ORCPT ); Mon, 7 Feb 2022 12:40:34 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C5A1C0401D9; Mon, 7 Feb 2022 09:40:34 -0800 (PST) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1nH7yl-0006Gx-01; Mon, 07 Feb 2022 18:39:07 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 66847C2116; Mon, 7 Feb 2022 18:35:50 +0100 (CET) Date: Mon, 7 Feb 2022 18:35:50 +0100 From: Thomas Bogendoerfer To: Nathan Chancellor Cc: Huacai Chen , Jiaxun Yang , Nick Desaulniers , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v2 1/2] MIPS: Loongson64: Clean up use of cc-ifversion Message-ID: <20220207173550.GB16822@alpha.franken.de> References: <20220125221925.3547683-1-nathan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220125221925.3547683-1-nathan@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Tue, Jan 25, 2022 at 03:19:24PM -0700, Nathan Chancellor wrote: > This Makefile checks that GCC is 4.9 or newer, which is redundant after > commit 76ae847497bc ("Documentation: raise minimum supported version of > GCC to 5.1"), so cc-option can be removed. > > Clang does not support -march=loongson3a so it needs to continue to use > -march=mips64r2, which no longer needs cc-option because all supported > clang versions recognize this flag. > > -march=loonson3a can be used unconditionally with GCC because the > minimum supported GCC version has been bumped past 4.9.0, which won't > have the bug mentioned in the comment. The _MIPS_ISA macro redefinition > can be removed at the same time for the same reason. > > Suggested-by: Jiaxun Yang > Suggested-by: Nick Desaulniers > Signed-off-by: Nathan Chancellor > --- > > v1 -> v2: https://lore.kernel.org/r/20220120214001.1879469-1-nathan@kernel.org/ > > * Eliminate ld-option call (Jiaxun). > * Eliminate _MIPS_ISA macro redefinitions (Nick). > > arch/mips/loongson64/Platform | 21 +++------------------ > 1 file changed, 3 insertions(+), 18 deletions(-) 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 ]