Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29589540rwd; Wed, 5 Jul 2023 14:21:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHfy/6nsaL0pseXdoakZb/6VnRqIVov3TcBMPBijbfhz3Xj4VXKlj+36a2mCdXJ/94CxKz5 X-Received: by 2002:a17:90a:d202:b0:262:ea3e:e248 with SMTP id o2-20020a17090ad20200b00262ea3ee248mr4977761pju.7.1688592070315; Wed, 05 Jul 2023 14:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688592070; cv=none; d=google.com; s=arc-20160816; b=CR0j4gg+UX+RMCUL8a45PMleLSReFTrciRZKOLYd1HnMeJCQZNxJzMEwZMoKb08Pny AAe3W2DMm/vzRNFOoLo0f1PS8BqRqG/XRo4R+bVbo7vdmDOptCk1Z5OPP9vVwWB7XiRc bdt0qexzDO09DNVRHMcCiCmncFqJ2tdnIkpw19zBCLJXtiRZkq8YxrCZ8RGznte8OB1r l5YpnLEsV6lcU217YAB+NjnyrBvu2O4INnpyEe5CLXpcsfNYdjR8y/Eu92OLCq4cKYd7 +enwtu8YDZf0UGA9YNJJxHyXhSnByhPupmai1DZHlyDGKVq/uK4IIyvfCQTMZnXiH4Z0 zm2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=BLtlZez9GAkHzasHFvmV0dDR+vDOeVbGvtxiizQEwv4=; fh=0ijQoK7GSn8L6nle8J9OkNLlOImN4yw22DTLar90Yy0=; b=gtVpAl5AHdxq8ITxML3XQDBhpxbZ9luRi77UBjwlN2ujzS1J7S72CEYC1AxbGYSprD fqs7xM9g2HXUJVUBEd9IdkT0dJq5dySos7HmpclhV8ZSrTgXcJrpOKdOqgu1OWkOVRRw o61DdJtCXtAIyHnjtTIAjACAwFWeeOVyFlXwJ4HmPFli36QOmf6K13knYagJLYaFN8+D Tz7kSnejncPY0nY7P3SbgBjPr2vqH54n5i9jt2caHU5gHsxvpxVXfieMtFsuVODS3HDc f1H5TDT78nuLfC1wtKgtFZ+kKOEwMHehwgRy6Bgjm0z77Vnkt3pYKO5Po9e77uTjyMlF WJew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="qoJ/WcIn"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l70-20020a638849000000b005538c5bef9csi9292pgd.452.2023.07.05.14.20.55; Wed, 05 Jul 2023 14:21:10 -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=@google.com header.s=20221208 header.b="qoJ/WcIn"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232039AbjGEUnm (ORCPT + 99 others); Wed, 5 Jul 2023 16:43:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233789AbjGEUnj (ORCPT ); Wed, 5 Jul 2023 16:43:39 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC5A19AC for ; Wed, 5 Jul 2023 13:43:38 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id af79cd13be357-7659db6fb4bso57135685a.1 for ; Wed, 05 Jul 2023 13:43:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1688589818; x=1691181818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BLtlZez9GAkHzasHFvmV0dDR+vDOeVbGvtxiizQEwv4=; b=qoJ/WcInnMvxpe/7GYFg2GXpLKxlltJ2gqvaiqY44B6DdIWAU+YP7JMLutJNgP2G0p PS8eidSRJn3Fl9ZhTpgMUdMGP9jXV/2myeCTFXsR1jOrQlsxSti0P/bFqLgGGAnLNjnm Y851GXtefxphylLWbgQlxgBzgZhgWRyCqfiSDetpCtO/Xi0C543Cw6dwegH6QRbcXoUK RcSYsRYqN8niT0QAh6V7Uc6lLPp1u39bDKH1+LKlV2xKlfXmkeXr8NFZY+UGFtYvuWAR xHsfrwwatncC14sspoLrcoiGsd+1VNKlXU7OakZirS5BPjzbW4TH/OzYlR1bQONPJgx1 IimA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688589818; x=1691181818; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BLtlZez9GAkHzasHFvmV0dDR+vDOeVbGvtxiizQEwv4=; b=V653cB9o0j3SwxZYCI3HKOTCGc+ZYsYkp0xizcF67eSFamv6oR3qiQwwIaSOy9EGet 1VFExxVoxuiYPUYOt2x7kWg1tur8pwGtXP0FvMRMeUjyAVM0v2CgnM41VXDI1nfcesIW VuaQb5xIfZ0rhwVUw+ltbDotBUI4RE4lFJJuWsCskMl/0rocSnkcVX4B7b/uxs36ZXdV ktvJP2wPs18zEgCQi7R1Dn65I5lOxdXWoQjfAu0uma7GZTf8pHZqwkoOULQALW0DBAHO VfpiukEUfmsJNjMOrABfcjijBHnUHwx0OmZcEWxZ8VqJcjurt7KHiqKtQN8mV57jRjgS vWog== X-Gm-Message-State: ABy/qLbDBkJgYHbq/HkXvSuNoJG/jTLmWkwd3Vr2H0I24XTtzLPIb6L/ Ybsth6InP7Wv3nThVoWSIHLhNLzmcaA9B1KOLdgdpw== X-Received: by 2002:a05:620a:29d2:b0:763:bac8:39c4 with SMTP id s18-20020a05620a29d200b00763bac839c4mr4044453qkp.18.1688589817815; Wed, 05 Jul 2023 13:43:37 -0700 (PDT) MIME-Version: 1.0 References: <20230629234244.1752366-8-samitolvanen@google.com> <20230629234244.1752366-14-samitolvanen@google.com> <20230630-rake-clubbed-bba8a9c27219@spud> In-Reply-To: <20230630-rake-clubbed-bba8a9c27219@spud> From: Sami Tolvanen Date: Wed, 5 Jul 2023 13:43:01 -0700 Message-ID: Subject: Re: [PATCH 6/6] riscv: Allow CONFIG_CFI_CLANG to be selected To: Conor Dooley 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 On Fri, Jun 30, 2023 at 12:08=E2=80=AFPM Conor Dooley wr= ote: > > 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. > > > > Signed-off-by: Sami Tolvanen > > --- > > arch/riscv/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > 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. Sure, I'll fix the order in v2. Thanks for taking a look! Sami