Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1872345pxb; Fri, 10 Sep 2021 16:42:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxwV+sn00YfpE1gcnaJafcpp8j0mS3yDut3I9UNhgVEP6vWeX7psOc/EUo4y5DpsX7Sm3e X-Received: by 2002:a02:85c2:: with SMTP id d60mr207992jai.85.1631317357313; Fri, 10 Sep 2021 16:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631317357; cv=none; d=google.com; s=arc-20160816; b=wOMbp8zWKgsD4U2qIgFu5MramxUsJtyJELDVac86VC9l/9xkBGMRpTJWYiFONYnes+ IkuynxYVORgedgXwiqNFEbYLZKrx3wnF6TMD/8nz/bGVutenQJgcHhFaIhMPr2ljLQ/K pqn5Z6VV6w1bvcHmvDG9JT/HMXZjA5Yo6RPcEwXy/Tru5qiRdJnck8SjaAtocFZX43DD nPX5OjauAYUcJxvPJlMTSq/QOKsirHZvxpW96nMvQZjHYeI5TzpnBvfBmyqQNpF3jEmX xVq3fR3Rg3GDxV1UQlz6OFEgoYsTBEOy9X4GgGghm0JpBB8266uNH8DRpYFdHysEeHEJ ULuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=YcybJ36BhVQqnQ/Zp3BgBUwuPlp4Dytcf9sCPFcMjQI=; b=XsTMw66Wm3RcSF0uAuvt2dN0SRwoUUQ91KYySUTzcB0TYFsfw10PiEqDFeR/dqNgYW uNZP/YGD+PC/jbReekIZHwOTCjJMrUYMn8z3MsoE9KWruOvH0xpfgJF4diihEIkhPa2e XCRSyj/1K8yY7Yvyhp7I11splg1sgxCg5gSYQDpJDlPTUIAqemVR8asxMTwBqKve5aLv HnmE3GVJHh38e+7NLuvbKkmc7AYnrElFLlPXsPirrNaNTAHYajQTaOAA/FZNnGOlQg/l 8BndsHThc2hz0V4/r6U/eAuShQet+wPf2Ftsh4Da4hbYcImLF8GGIl6aSLYL72Cm4rSH ZNuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=YgJpLsay; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h26si84506ioz.60.2021.09.10.16.42.26; Fri, 10 Sep 2021 16:42:37 -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=@google.com header.s=20210112 header.b=YgJpLsay; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234972AbhIJXmX (ORCPT + 99 others); Fri, 10 Sep 2021 19:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234859AbhIJXmP (ORCPT ); Fri, 10 Sep 2021 19:42:15 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAA7EC061574 for ; Fri, 10 Sep 2021 16:41:03 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 124-20020a251182000000b005a027223ed9so4553268ybr.13 for ; Fri, 10 Sep 2021 16:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=YcybJ36BhVQqnQ/Zp3BgBUwuPlp4Dytcf9sCPFcMjQI=; b=YgJpLsayXI0kRA30Qyay/Kq/6VBc852ZzPTDo9EzTjJTNtF9D0UVBAUgqY/mnDPOl+ pGTUFD61EqoICDCAXs//AXw0PdPDQ06DEbrW0h4xmAfxhA1egiPkgqeuA7aKa8DqjerJ PkrJtScmhKJbvHhlEWfI0lnnSj1rsD/G/nSp5hmtW+wkXtRhBg9B1Pr1u9QjmvKsjABP 4t5hd33qwRgzZ8nO7gWCYz+rmQJH3tPDL9uozMFUhmmG0u0lAtZvjl2tiHD4Tt+my1V7 m0LFoef1gwGQFGCuSx+R+cF4s5MbzwcLeEGELfhig5F8S/YsXDwM6cw+dQEFKnbIgIYN tP1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=YcybJ36BhVQqnQ/Zp3BgBUwuPlp4Dytcf9sCPFcMjQI=; b=5sTTnG0gcHEQ3ycSKI8wIzY57yArOdbrUhWIguE1uXj5xEkjJEEi3bDequcDa1E7/Q GvWKxyHeYIAnPgUEbisBBc5FCIbmb7IWOteKSGxi6UWJyYdF1mnJaLx7gvZAY9FIQ2YW RKgPO+wn6CUlO1ZVqlri5JLOimsA60E9dPpW+8uY0IEZJacQ5igjgcgKP2ScP6/5eDJW C4ioQKJ59XiHlnyHSDjJeT+vpjRurVMIjJBnYXP5VHCXXEUZYeqZcBPjr43iEE/jiHrG mj9feJ4moaatVP8cBpZlp5J405szFFkA/SerxIRLzV2B34YNKzPt6J7VGihSY2gaF17G A8ig== X-Gm-Message-State: AOAM532VV0b+YbhsyCB3EzRr2fZW8mSVm4Av2IVUUArW1AJpH2yuX/gC 3IeCDRCa0xJsoVkbrc5qk82scQDrCHgG7ikVfqU= X-Received: from ndesaulniers1.mtv.corp.google.com ([2620:15c:211:202:2b76:71d3:b5fb:3734]) (user=ndesaulniers job=sendgmr) by 2002:a25:2302:: with SMTP id j2mr315979ybj.507.1631317263067; Fri, 10 Sep 2021 16:41:03 -0700 (PDT) Date: Fri, 10 Sep 2021 16:40:42 -0700 In-Reply-To: <20210910234047.1019925-1-ndesaulniers@google.com> Message-Id: <20210910234047.1019925-6-ndesaulniers@google.com> Mime-Version: 1.0 References: <20210910234047.1019925-1-ndesaulniers@google.com> X-Mailer: git-send-email 2.33.0.309.g3052b89438-goog Subject: [PATCH 05/10] riscv: remove Kconfig check for GCC version for ARCH_RV64I From: Nick Desaulniers To: Andrew Morton Cc: Linus Torvalds , Rasmus Villemoes , Nathan Chancellor , Masahiro Yamada , Joe Perches , Arnd Bergmann , Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Nick Desaulniers , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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