Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22727259rwd; Fri, 30 Jun 2023 11:43:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlFz4YndQfp1VZXcBIgl+cU6xremoy2QFlzLpxISXYnSzveM7PJ+N6LB1WDkNm0xAxS5jKyn X-Received: by 2002:a05:6358:51d7:b0:134:d27d:a338 with SMTP id 23-20020a05635851d700b00134d27da338mr1566050rwl.25.1688150620999; Fri, 30 Jun 2023 11:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688150620; cv=none; d=google.com; s=arc-20160816; b=yCJPmyIkSvw0nvTswSbbzxMAFTteFEsm1aEPx1/c/DABLelHuz4t7rvAQ3+aKuFfCd Sepm56Mkzx/+WdzWyVN/U0NmBABiVw1akVpQaWmTmqIq5Yt4ZeOGcOJ/l6jAAbfJOAQA YU5vIiU6p2h8hMM8l+uLUvg1t3OCZmvjlW9u/fXXEM/Lflf4kuuHy6BILt5jvVvv7aoS IPZhsJYazHPoooX1K0nmG3CCKYwZl6qzsCX7C/pHcy8O7PRz3XEn/iZPirA5eisUaujs eEiKhTcMtanDVEP/NYHyCnuXjGveXMTXGsfKv0bEOgwps6slC1mji22lxyc8fylW74yx TGVQ== 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=BCaYu7xdiD6BYe4W0cxKoMr/LaGK6LhgIOaIA+QBb3Q=; fh=OCV63wBTrJIWgXPg7RMQ8/IXx8xZ6cUExDp1DigCJ+o=; b=oeeG0yh3+62g8DjmPRMhn0fHEJzs5Db57IvFjKCt9AiWdijFJvzkJbHlhx0RIale2E 8g2kUYuV3T+4YZ23EXLMB9nUTMbrVh0T/ZI1xUmZw0ban8bYfmQqW7/0saKzedVUrhRm ufhR9A0dyHe5ZyEvYj3pLi+Lumu99kBSlZfnMA6/zsxrTpMRGyAXGw/Nd5mmsRyd/tkE TUZIrCAxIhiZ+3olLuwxmubARuGRaVKqRD5lNdQFd3O7ndaYvt0UEq8NlwXXgTJ20KMz RqS+COgE47jruVCDkdpaLBen9zqCEcnlViVPMxnqNRFG7nxdZZYBPUAlmEtlHN0h6kIx pYXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nWBu4aSp; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r12-20020a6560cc000000b0055383df74c7si12944301pgv.224.2023.06.30.11.43.26; Fri, 30 Jun 2023 11:43:40 -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=@chromium.org header.s=google header.b=nWBu4aSp; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233089AbjF3S1U (ORCPT + 99 others); Fri, 30 Jun 2023 14:27:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232141AbjF3S1S (ORCPT ); Fri, 30 Jun 2023 14:27:18 -0400 Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 835343C01 for ; Fri, 30 Jun 2023 11:27:15 -0700 (PDT) Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-553a998bca3so1425990a12.2 for ; Fri, 30 Jun 2023 11:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688149635; x=1690741635; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BCaYu7xdiD6BYe4W0cxKoMr/LaGK6LhgIOaIA+QBb3Q=; b=nWBu4aSpwIzbfoKGCfhgKgbCs6gDjEv/fnSx1CZ7ic42Qqt1/WL8TD+UVwGZETfDwV QQjyRZ4dCdNb2q1kRyMCOxZDVEIeJBBXl3s1lSTBfxu9RMPdQBTcm2qwPHx2yOX+FF3f SrPrpOqomzg/3qgcVlXGzRn6taGxmQw1uUQZ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688149635; x=1690741635; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BCaYu7xdiD6BYe4W0cxKoMr/LaGK6LhgIOaIA+QBb3Q=; b=h6HVrkeypaqB79CZc1ZI7RegMZfl/ATxLC0wqxiZcY1kRpguD4wTZO7gicqXGCDMp/ 8SAaeUrh5vwD3a/aU8J15vL6WsumM5Q3ulqH9Jq6D4HAgqV+zaAPeXiBHGnYesap1ld+ doZdK7f6NXur8kV/nla0X17B/AqwclOwDaahb70GY6w9oBaJ6cv1ZSzrHfdo0mykfNgy 9LCznU3aL1JXZZbcoevXAHiRGOIhnHd9HZ0ztR0Vqpkc1F9lLPcJ0BcVzTrU55860yYP ry1aVd2TuYScV+Td7QwCr2wNgtvMhquuLFHSZHx1fMUj4JobkhmqwPaOYga2lBeozt0+ 57vQ== X-Gm-Message-State: AC+VfDw4AfcBQaDHwDE5LY8GiEKio6pM/6Jom1nVcMGjFrQfTeoXW1Wl mSbHQmo9xMD7M4JvGRpQFAFndTfbJqROQ03Q9kQ= X-Received: by 2002:a05:6a20:96c6:b0:11d:4c79:90ee with SMTP id hq6-20020a056a2096c600b0011d4c7990eemr3081600pzc.25.1688149635037; Fri, 30 Jun 2023 11:27:15 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id u23-20020a62ed17000000b0064d74808738sm10138390pfh.214.2023.06.30.11.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:27:14 -0700 (PDT) Date: Fri, 30 Jun 2023 11:27:14 -0700 From: Kees Cook To: Sami Tolvanen Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , 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: <202306301127.4EEB06A4@keescook> References: <20230629234244.1752366-8-samitolvanen@google.com> <20230629234244.1752366-14-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230629234244.1752366-14-samitolvanen@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 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 Reviewed-by: Kees Cook -- Kees Cook