Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp265975rdb; Thu, 25 Jan 2024 14:58:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IESpwUKjzPnQS6LmRmrjVIoJ6/XLEB1tpFePMosWhFYIqK5jsHfJ+0vmfVHbpputZhOIhAL X-Received: by 2002:a17:902:a583:b0:1d7:85cd:e93b with SMTP id az3-20020a170902a58300b001d785cde93bmr33951plb.15.1706223537665; Thu, 25 Jan 2024 14:58:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706223537; cv=pass; d=google.com; s=arc-20160816; b=KhGSgNzoPatCuLb0gxSm7hJNA0foValCRgCiZIFT5MbSS3zZg1R8CDfrBATtqKqajS 1xcG/1AzeOeXuQ2i8TgXCg+ZJDxyfPKrqHdrhUrBA92BqR2tY8CWrTjPJ5UHp3oCNEZq 2yukbYioAMoEkkZyI7u+CK/7blSZtL2KeMJ0SS9qcFfRZYM8nSrTt27WzyWK5mDARXVJ qkKFgUYNiUhCNM4kZxxmYtwa7XDex0c/s2G/8AxKDHcrX+XvbNyDfPmXwhGYNxx6LFmW kOCnD4O9Go/yc/M0x3WbUfs4CuNPcDzAOumivyP3ghH0pNHPI9r3Cz2d+E7ovFlZwpNe p7vQ== 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:dkim-signature; bh=95MEac9udbLvyXyhi2NsulFdwgb4gvEjEvcJy8eWR88=; fh=WtwVvHt7aZqMVIe5Esxrsa+ZwfZhV9MYgQOhMR5Pjuw=; b=fe9PhaOMuPHDP00ntHr2KSMFjkn7XsBaFxbL+aucIb/0jxFoLq1pClco/1Tnk1h+Ok o+SZIVw5USwrVaQjmU9wnEgMBu3seWyyubAcVdYjygOkmZHLgBNMOf4VbMJ7ZYWZcpbb CrVG2kxAA4Hs9ctFaXrCh9C10RAabCQkcIesVGW9ti5O63mmYJUv/vFHhE74Y6U8SM3z Ey35zCOAJIEw59Y7NcJ27FlzjEx/noa7htfavBs/FMjRfIYgPORX4dch0Hw/4PhX6ar1 uEIBVFRicePmF9AsrgH2sTQv7Fr5FOTmPxZEHzUIXP06EfQbpLdLdabrSDv5pkpCu75j ZVow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+5uAyWQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ix6-20020a170902f80600b001d787d9d62esi13191plb.210.2024.01.25.14.58.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 14:58:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+5uAyWQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-39387-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39387-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B2E052980A8 for ; Thu, 25 Jan 2024 22:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E35DB1B810; Thu, 25 Jan 2024 22:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="b+5uAyWQ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0C5311B5A0; Thu, 25 Jan 2024 22:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223367; cv=none; b=bdD7qh4YqZ0rXs4rRddYswxhMEmQIZbVZHCHJmH0a6U/LC1oBcocMkMG6hki4Zus9nEaMaaHjCXRYbx5NtCY1RQneADPW78AIy0XlYnEsZm5NmBQ3Q8Sk6NjFkPsftLhA2wFTpgKm68kbSId+gJXQ3AuJtIZhIfWVdHEB1AfpUY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706223367; c=relaxed/simple; bh=gyCTtEy5PbjNvE5leNKdfOXPtZtPUb3cK4c+4fo9cSY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QNxLrPxouQNPfEr+8GkxJCkMEsyCC4fNUFDipmXRANR2xb1ppDmZvRdVc1iWZa2/KaWEAkNd0A4qOt879kSsIIAi6amSSR1iGxnfIt2+WR09OgtNgsTUx4bpS3RmBs7y8OderVd5HzA2UmG0VA5GKU0xNu15y8fPf7JgHJBHW6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=b+5uAyWQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AD65C116AB; Thu, 25 Jan 2024 22:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706223366; bh=gyCTtEy5PbjNvE5leNKdfOXPtZtPUb3cK4c+4fo9cSY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=b+5uAyWQjhVltyJThWXdiRTZFOBrbBcADIyK1nXaGYW6yKEUyCLs+nV1COVJqLtwH iz2glq9GdAfqgs93croz40dlgnxZu6xoBNsn34+MVamoQr+Uacvxqw1ck+Vj0XMVUC gVqeFfL1kyD9HSQHm9LcHhnzxzdR4QLWtAdN6D5XKp7zvzA5pxYKYK16kDzCc6+goq YsaKCBjU1GYrFvI6I/vDUUUvw02Dfh1OMbjFAWrvqB/eaaN0NM4PU3PFwZhhe3jWSS 4jriwKyjQiTRC369pjnW2Dit4ttKVL5kJ2pBM1+CFHWEXa1tTSvpN5MWuZxYAO2nfo CtmixarE0E8KQ== From: Nathan Chancellor Date: Thu, 25 Jan 2024 15:55:14 -0700 Subject: [PATCH 08/11] riscv: Kconfig: Remove version dependency from CONFIG_CLANG_SUPPORTS_DYNAMIC_FTRACE 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240125-bump-min-llvm-ver-to-13-0-1-v1-8-f5ff9bda41c5@kernel.org> References: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> In-Reply-To: <20240125-bump-min-llvm-ver-to-13-0-1-v1-0-f5ff9bda41c5@kernel.org> To: akpm@linux-foundation.org, masahiroy@kernel.org Cc: nicolas@fjasle.eu, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, linux-kernel@vger.kernel.org, Nathan Chancellor , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, conor@kernel.org, linux-riscv@lists.infradead.org X-Mailer: b4 0.13-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1021; i=nathan@kernel.org; h=from:subject:message-id; bh=gyCTtEy5PbjNvE5leNKdfOXPtZtPUb3cK4c+4fo9cSY=; b=owGbwMvMwCUmm602sfCA1DTG02pJDKmbnv071LT4ru7uzV6rVb5Z6r34Ps/2UlJJxG6j4rkfJ vb/+1Li21HKwiDGxSArpshS/Vj1uKHhnLOMN05NgpnDygQyhIGLUwAmoiHL8E/7SNnxB+EG5R7d E5heTxPWT5G4/t8kmePN+4aytLDrCasZGe7fbYuPipjZzKZlyuzUe6Lo22/h8Ls82+4WJ+xU/fO ghx0A X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 Now that the minimum supported version of LLVM for building the kernel has been bumped to 13.0.1, this condition is always true, as the build will fail during the configuration stage for older LLVM versions. Remove it. Signed-off-by: Nathan Chancellor --- Cc: paul.walmsley@sifive.com Cc: palmer@dabbelt.com Cc: aou@eecs.berkeley.edu Cc: conor@kernel.org Cc: linux-riscv@lists.infradead.org --- arch/riscv/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 69d24f513922..00edc4ff589c 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -174,8 +174,6 @@ config RISCV config CLANG_SUPPORTS_DYNAMIC_FTRACE def_bool CC_IS_CLANG - # https://github.com/llvm/llvm-project/commit/6ab8927931851bb42b2c93a00801dc499d7d9b1e - depends on CLANG_VERSION >= 130000 # https://github.com/ClangBuiltLinux/linux/issues/1817 depends on AS_IS_GNU || (AS_IS_LLVM && (LD_IS_LLD || LD_VERSION >= 23600)) -- 2.43.0