Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp21461868rwd; Thu, 29 Jun 2023 16:56:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFxj3xKXphV8IBhxn2TsWhJI8xHu2IfLFUBscTYpBl/Y83HXbjC7RJy458W5pl/mbH2BIMc X-Received: by 2002:a05:620a:4316:b0:75b:23a0:e7e7 with SMTP id u22-20020a05620a431600b0075b23a0e7e7mr837376qko.72.1688082969083; Thu, 29 Jun 2023 16:56:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688082969; cv=none; d=google.com; s=arc-20160816; b=JT6sI7R+t9wEqYbLt9CxwXjPvn8MTg8NOGsID5EbBzJBGRDy0DOMcz8LrlYfGJf8Zz K9U6mmDBfRBemSM/bTxE88+6As0RlBREOOTSXt7R43VouKTneB5Up75gUZ3QLB0n37W4 0muAK7nu2l5f4Wwz5qxVEWvn6ClwESPDUDQhsLZZ+B96nJ3GN1bG02H1enOR4I8WT/nW qAqX5OmzuMKyFTrEbQjH9HLGzuQrCFo7/0ur9DzF7KqZZyE8jhPZuwH/alZ6tP1MUpNC r8g7Zjp3Jej3wkqhHhU5J9OOtQZZCmHEglBUy49b9OFAz+NNh/Ka/lfMs+UGKmUDYVHf pebg== 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:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=hI1W3vZtR+9nkE20l1uechEUk7Tap/X/lCCO/vArtS0=; fh=/LjJBqwDCI+CjB/GmW2IdnTfBsdKoHfwRpT4gTGTja0=; b=XO/OTVmP2yk3FJUueoh/T3Ab5RBdWiXRmJhn7oKP9ntJ4ITLlZoPtqfpXqaaJU1tXf hAmLIc03M8doaNFlUMEpdkilmxt1Co28jOtoJ+chimVzbfOXRtZcx43f2fT7oQUyyBiv i3HXKkf+MtIm989ngzI+vetiJuKrvxfXj3p9jd200ZgkHBtPHT+gUPz73b9dG/M0S4NW TVb7mw2jPIZ1usmLWBHNNOaqz4sLpDdF7CriMwbGl5cSGd8pOpUnzcUubiLLbeVXXK3X 3E3kToe86ZWBPOdBRvUdOkYiKLOOuijQPmDyxYKjzt8+6gc2vqh7QPieJ4VTGPUBDdXc Sj0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Q99ataBr; 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 p55-20020a056a0026f700b0065dfb27ee3fsi9930932pfw.246.2023.06.29.16.55.56; Thu, 29 Jun 2023 16:56:09 -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=Q99ataBr; 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 S232099AbjF2Xnd (ORCPT + 99 others); Thu, 29 Jun 2023 19:43:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231979AbjF2XnC (ORCPT ); Thu, 29 Jun 2023 19:43:02 -0400 Received: from mail-yw1-x114a.google.com (mail-yw1-x114a.google.com [IPv6:2607:f8b0:4864:20::114a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 493B43588 for ; Thu, 29 Jun 2023 16:43:01 -0700 (PDT) Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-57059e6f9c7so19020357b3.0 for ; Thu, 29 Jun 2023 16:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1688082180; x=1690674180; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=hI1W3vZtR+9nkE20l1uechEUk7Tap/X/lCCO/vArtS0=; b=Q99ataBrVMMj1/30tDgNlRKyHCZSqEUzPhraQDs3af5FWGxtd2xiR791ZBqr2urUmj VziLScNBQ/wNWoPtUo1GAUxfiWBt9Z23+sb2cvAXrkc5X6S+q+YKXakjQkafV4+c0wMV mIem4WXC4+1cb9fZ9sMvLDHFBHfw3NE6HVnt4gkfrtdFFWcfUvvFGQSX5ZMSg58mbuEq uFN3qIf9GcgB+gPtV18WbJfCQ7HjodVRNQg0sLGufXuzlI7jOu5cBkVrjaC5a7vvLQmi PPaIQ1ztJBsIFlA4BHqNj+Clm1YzG7bFL2WSAqSMtwK6hgryaYoOO4zbuc+E7FsISDe8 v99g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688082180; x=1690674180; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hI1W3vZtR+9nkE20l1uechEUk7Tap/X/lCCO/vArtS0=; b=iA0qgyGKZl4ol22u1bLs0jsGf8TyfStm8s+F3/u5nwMZzaLqB00JQyy/fXUEnEBPQz AoUdyI+HflGEoCCqEOjjwEd40l5uSkDBsIWFUrgULfe1o/mJBCo+4b6dV9/BBh33lSLk /NhnILCZPi3gabFXebMPJqoZcrcKAPUyPyTvJPV9A703vhZEYpn6Bqpbh9Ekc6f1gIBr Y5t808EKLgcSWoXNIdfOw6qvFEqVpVtL3QMIiyF/IAAhXycGaR+6ByajnL7AYyAa2S1E zct2eZyNO/VsuEnrac/3M509jFtriFgTYNHj7HxTR7d6BQFTL/owrh1DnoxzYzbDqQRv 6eEQ== X-Gm-Message-State: ABy/qLajEbLvmG05RCnjCfLpcMkFNR5Yb80vRy4LAO0wtVIN6JiY/Agw 6IrD0RAvsu9/pIrtIxCqyWtQT9CkRcpIrPDwLMo= X-Received: from samitolvanen.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:4f92]) (user=samitolvanen job=sendgmr) by 2002:a81:aa0b:0:b0:56c:ed45:442c with SMTP id i11-20020a81aa0b000000b0056ced45442cmr22810ywh.5.1688082180469; Thu, 29 Jun 2023 16:43:00 -0700 (PDT) Date: Thu, 29 Jun 2023 23:42:51 +0000 In-Reply-To: <20230629234244.1752366-8-samitolvanen@google.com> Mime-Version: 1.0 References: <20230629234244.1752366-8-samitolvanen@google.com> X-Developer-Key: i=samitolvanen@google.com; a=openpgp; fpr=35CCFB63B283D6D3AEB783944CB5F6848BBC56EE X-Developer-Signature: v=1; a=openpgp-sha256; l=689; i=samitolvanen@google.com; h=from:subject; bh=g8cSbJ3YqGqII3Es78fHzl0mN4OnPxVObPCoUIO2Cw0=; b=owEB7QES/pANAwAKAUy19oSLvFbuAcsmYgBknhb1jX6BLvnk0FKQHZsmyPKyvo4TJBI2RL/Fa sauJUMVL5yJAbMEAAEKAB0WIQQ1zPtjsoPW0663g5RMtfaEi7xW7gUCZJ4W9QAKCRBMtfaEi7xW 7nuMC/wLrmKtkYfd+iRZVIIgu+Y5m2M9if9FoIpZHdzE1sPHuEoeRb71eU9RY0XTpDiHCGPiMNP YbjG6hBOYmthlFvkkZe34E7uxSmP2qlWDjGtIh0Z+psbI9KOhxLdNO6136VZOaifKjMNtqGQvlz rAgmqkVNLA6Q710CI5OrJ/lUad7tNT7cx5lRpvzeTrgaUXI9mcWBOP5vr0xb3P7K+bjMf6WOWLa w/RroR5VNlXhzLL3pamA1Y55QzNu7u8sbUvvaZgRSfOvpNWm1tfqGS+vci2Q5WBLkmGw2lawL43 d3BruriP5Q3JTisr5jHg8Zysv4VFxW78GL7dTSAkv7nPLw21lFpZtWpyBU274NKrD4PeFzdqjaJ /8ZopxIQJG64TVeMX+Dwfx0bhZ6Pz5B7r5CxdwL0z+p15PaXWqhx6uTWtmMEKOFLB2AAprrNsZS 5mth9xbFP0G2ongMFbaDFjlNdXZ5tmF94r/B3WQ9UzapWOCids09pksdQ/AFipOMR1Dkw= X-Mailer: git-send-email 2.41.0.255.g8b1d071c50-goog Message-ID: <20230629234244.1752366-14-samitolvanen@google.com> Subject: [PATCH 6/6] riscv: Allow CONFIG_CFI_CLANG to be selected From: Sami Tolvanen To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Kees Cook Cc: Nathan Chancellor , Nick Desaulniers , linux-riscv@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Sami Tolvanen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_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 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 select ARCH_USES_CFI_TRAPS if CFI_CLANG select ARCH_USE_MEMTEST select ARCH_USE_QUEUED_RWLOCKS -- 2.41.0.255.g8b1d071c50-goog