Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22778826rwd; Fri, 30 Jun 2023 12:31:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlGl3NnUcZD0qOY2HW0I3EHGVNOagrKFOyLlE8TEXbRWk7gbKGhswDyFtUeykVcyqK4RS6lc X-Received: by 2002:a17:903:1107:b0:1b8:2537:542b with SMTP id n7-20020a170903110700b001b82537542bmr3616294plh.44.1688153460863; Fri, 30 Jun 2023 12:31:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688153460; cv=none; d=google.com; s=arc-20160816; b=PXKfEX6B3TjgftTjzohTJt/HRkkcjRXMYFzoUzjBWXGm0I21Vm2KiG5U/py1mpbaww tOblpfaaCR5rmm2/UYeWgTnyBtW8r9F3JSwaDlG1IUCwy4ycr78UhI+rS28vne5hNXve 73vqL2LfL6187fPq5Aod2pap6T4S/yaSzq1o7PzRI3KLcObN9aJA2/E2SIJNlbIu4+Dk lDt4scXGbbH+Z6g+PiDEpqkbA5Xs8jhG5DBYkKz4Mi/eDCYdMh1QD16qTCnXPaCkArii yG9mt209dMhfn802TnBHGEpBFE/TPAV7cjzE7qJ5m5f+CO5clprsyFmKPWwl0FrVSdaF vOEg== 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=ADo++ra1qRNHeAeXJnnLLvrFE1KvUWlbdq/S7VrNPkw=; fh=qQoCkl4TSVHivxfsz3qX3rcKtvWrmSrfCZ4J57YBKo0=; b=fVtJPdQHCAl+R891OeMBSc88MjbP34ZoTYJCFyEIagOQdAME9gmDyjmrpnJllh6ZhR iydeYN8h/Z7f5j1met0RQuZU+5CEfA8L8Bug6CbUD58hPAlKCopTf0BRUzu5JUnVO/FX vR6N80++yrEGd6fHn4KAgu52McweWyLf852+EjNbnGHLEK5Bhk2uq9K03bUJHrNVpbtu ryWB6VsMigy1zWZ9iB00SQTCwHF/tvi/cuL0GUTwfx8oWp88eNCyUKa9ZMg8rvX1xTbj YXw2u18YCE6f+q60pmtb2Z52kSOyu98bs4DioNIL6yUh2Fbbn8Gp9g6Em2oVXzwEUcJy YkiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bgwsTvAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h10-20020a170902f7ca00b001b80bcb306asi9063802plw.69.2023.06.30.12.30.44; Fri, 30 Jun 2023 12:31:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bgwsTvAv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232144AbjF3TIE (ORCPT + 99 others); Fri, 30 Jun 2023 15:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232134AbjF3TIC (ORCPT ); Fri, 30 Jun 2023 15:08:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8971D3C17 for ; Fri, 30 Jun 2023 12:08:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1CDE5617E8 for ; Fri, 30 Jun 2023 19:08:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7867BC433C0; Fri, 30 Jun 2023 19:07:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688152080; bh=17MXOGeiI3F3FBpWaJtF9ruFS/NqAZ5ZllRZXut7AOU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bgwsTvAvkh4gCPbOx2sT1SZmELaQ8AlxcMn4Y4vR8uravryYhFKtVaqyfFatd3Lwg h1qs8GsBfu/X4timESeOK4csKXK9w/vwGrB897jXL9Amps+ksxBuk1KYs3h9u1sVhG MVBpTiVVoBxaiQdXxwF5LjBu76UmBa9oLcg4ZBm9K6w3Y/6m9dIQebsRcZ/06IjzPk 9uj+dIc5E+uzQFUjp0sBWv9d9nQeobGBaPX+DQTbyYZSs3e5HDrQzaKEkSM8HCI1ZG 83tvDErk8o04Xe7qWN+IucnZRL0w6neppqbWb7BfYai4eERz/HBtfnTSeaHKSo7apR odtwAbfzF6tLw== Date: Fri, 30 Jun 2023 20:07:56 +0100 From: Conor Dooley To: Sami Tolvanen Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Kees Cook , Nathan Chancellor , Nick Desaulniers , linux-riscv@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] riscv: Allow CONFIG_CFI_CLANG to be selected Message-ID: <20230630-rake-clubbed-bba8a9c27219@spud> References: <20230629234244.1752366-8-samitolvanen@google.com> <20230629234244.1752366-14-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nIytQ0cE4OI/O9o2" Content-Disposition: inline In-Reply-To: <20230629234244.1752366-14-samitolvanen@google.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 --nIytQ0cE4OI/O9o2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 29, 2023 at 11:42:51PM +0000, Sami Tolvanen wrote: > Select ARCH_SUPPORTS_CFI_CLANG to allow CFI_CLANG to be selected > on riscv. >=20 > Signed-off-by: Sami Tolvanen > --- > arch/riscv/Kconfig | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig > index 20a40927175e..2699e1f8fe33 100644 > --- a/arch/riscv/Kconfig > +++ b/arch/riscv/Kconfig > @@ -44,6 +44,7 @@ config RISCV > select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU > select ARCH_SUPPORTS_HUGETLBFS if MMU > select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU > + select ARCH_SUPPORTS_CFI_CLANG Please add new entries in alphanumerical order, thanks. > select ARCH_USES_CFI_TRAPS if CFI_CLANG > select ARCH_USE_MEMTEST > select ARCH_USE_QUEUED_RWLOCKS > --=20 > 2.41.0.255.g8b1d071c50-goog >=20 >=20 > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv --nIytQ0cE4OI/O9o2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHQEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJ8oDAAKCRB4tDGHoIJi 0tBQAPjbTVlYsXsyPEXbChKm896xE4tK0LzcWglSDjocpk2uAQCf4jf8R7g7Veb7 13b70HROD+koWjNEGZd6gmiTTxBFDQ== =/P/0 -----END PGP SIGNATURE----- --nIytQ0cE4OI/O9o2--