Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1889593pxb; Fri, 10 Sep 2021 17:12:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqZsQWS9N13hTrwvgxSST10l0LS3/ubr6vMOC1QLBhGL67ZjxQ6aX6XuCByYdUgks1Q2fY X-Received: by 2002:a17:906:b7cf:: with SMTP id fy15mr196909ejb.397.1631319145491; Fri, 10 Sep 2021 17:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631319145; cv=none; d=google.com; s=arc-20160816; b=VVDoO2bV8gJ0kcZfgL2wxvwM633w8hF1+uqu2ozNEYssD0uDOaMJQ5sl1ElCvnBX+1 +izr4NwkG2CWL8RxF6MDD/ikAny0fu9b+smqZOi8DcDq4Js3VuZDlyaAPtfRjN+lAkAK g5BEbOFojVNMxwL7ww7JnpnUDA7ZYJUSw4vfrNnrlwzooIQDD8Fu2/DKzZG/K658inOO KlAIWt1B0fQtur4FQko2/c1A7naUoUkHS2WRF2/aUXgwlwsxbWuiVnchTJh1cILQMFum aBFwLi7RuRAP3//vsGNWhmHUN+v4BfvAp1Ld/ghhL80SBZD23YrHLO8nH/DZ7sjt8sCD jJgg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9KyAJqdS0n3wN8lLQMgBbknJkp4FBYM/3HqXltVlwCg=; b=MTLhCjW4NznwOD3pKek6Gu+levalm/FOWOpxViharGFvgjvW85ms317Klp9A/cOswF I8mMZxNO9sWVcfvncbmxz38VpJNtpiB/rbkDTGzCYd//+DecsetVBA3YoomAfx4/vpf7 ObDaLC+dptj7OpVJYTrGlz7JsgO8AhRuk6AIrQ5SSoL5g+aKa6GlRmOcYqJ/TLCS+gS+ sIpf1zHOOt1/VBaFZPAqQx63V68E2lGzky8Sa2T32na7nlHjNGZt1ghLIufjhsA8wGzq D2hR0t0MtLb/aALUry2vqh4/yS/GkbnhiroeCBpEfu1a1gVIodHOtt/C7T+J+u9tTr2i VMNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hmv5TRqS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d1si137491ede.332.2021.09.10.17.12.02; Fri, 10 Sep 2021 17:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hmv5TRqS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234950AbhIKAKc (ORCPT + 99 others); Fri, 10 Sep 2021 20:10:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:48456 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233946AbhIKAKb (ORCPT ); Fri, 10 Sep 2021 20:10:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 518C4611BF; Sat, 11 Sep 2021 00:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631318959; bh=0YuBUzN72gkNDxmeZ5kJyvvvXFpC+53qFp+/zstmt9g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hmv5TRqSAS/BsSeUTEibp7up/z8FC7Zncd+zxhBvJXZt+59mJpA9lnYFUMKStarVU v9n6xzm0pz5TFMy2lLdAD56pxskSpwmyD/Qwk2x+0MsLPMkyWrsotNexrlUUx9sMTO QSXID0uMhcQaIcwYyLnChGlGf/5R6mim7v+zsF7QXsJEp++tdi4WOnL1w/6KKqOrjm qsL7W0FvrIpKokD0DvJUHnYFgYO7R2AGXcQLtj7If5DoSexiavFxZ5n+J9GyJ9qmJ9 Q35lu2pPDxaoTktyiqVGVW86G2k5MwHRlFUzHFd4/eCIXkbEFVS7wtHRouXbvGH2zU 1IASjekyXc0Bg== Date: Fri, 10 Sep 2021 17:09:14 -0700 From: Nathan Chancellor To: Nick Desaulniers Cc: Andrew Morton , Linus Torvalds , Rasmus Villemoes , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Subject: Re: [PATCH 05/10] riscv: remove Kconfig check for GCC version for ARCH_RV64I Message-ID: References: <20210910234047.1019925-1-ndesaulniers@google.com> <20210910234047.1019925-6-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210910234047.1019925-6-ndesaulniers@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 10, 2021 at 04:40:42PM -0700, Nick Desaulniers wrote: > The minimum supported version of GCC is now 5.1. The check wasn't > correct as written anyways since GCC_VERSION is 0 when CC=clang. > > Cc: Paul Walmsley > Cc: Palmer Dabbelt > Cc: Albert Ou > Cc: linux-riscv@lists.infradead.org > Signed-off-by: Nick Desaulniers Indeed, I meant to clean this up a while ago but forgot :/ Reviewed-by: Nathan Chancellor > --- > arch/riscv/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index c79955655fa4..5fc1d0cc82e1 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -235,7 +235,7 @@ config ARCH_RV32I > config ARCH_RV64I > bool "RV64I" > select 64BIT > - select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 && GCC_VERSION >= 50000 > + select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 > select HAVE_DYNAMIC_FTRACE if !XIP_KERNEL && MMU && $(cc-option,-fpatchable-function-entry=8) > select HAVE_DYNAMIC_FTRACE_WITH_REGS if HAVE_DYNAMIC_FTRACE > select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL > -- > 2.33.0.309.g3052b89438-goog > >