Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29580292rwd; Wed, 5 Jul 2023 14:11:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlGLryXxAC17UJtiyylK3OYqLK3F6F+Osyo1510rnZqaAaVrEN4WCcmelF8dF+JyjkMXVR9f X-Received: by 2002:a17:902:da92:b0:1b8:b841:3ff2 with SMTP id j18-20020a170902da9200b001b8b8413ff2mr67303plx.64.1688591490246; Wed, 05 Jul 2023 14:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688591490; cv=none; d=google.com; s=arc-20160816; b=In0IX9LrFtHkqUx68uwlsoJoQ5bsNCvEoamjNp4xwzW/3wr2ycunRPYrLR5xboBj7j 6yO7hUSzE5oYeHv8jwyUYKTwRfMfOGHoGyZGcBbXMJUyzcljWq0bIr6Y4JT8vHUEEYd6 Rrk0co7+JTtHs0eEYxEliUm/eyfCZFYSkGusLf/a9LR+S/kKW/N9C59UfmXZHO/Er7nm wwdLs3EmpOPSrReS1VZ0H/MihSIUnsIqiQg82QRaTGUzYCR9erefOaOlZhO1oWVphyvb 4p9Zujz81ZJDB99dhO89wpWP6Cn492RKiaTGU5ieRePNt48e3Tp4keDlwknrINUYSQMu pZ+g== 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=k9IOBh2dErzq5pc0UHadZ7sAXf6kWe3n0/dn9RfHGYo=; fh=wZgFM1uv/TsAmzWzj3k6Kds6rKlwfWq62iEGk2LFnxo=; b=0Db76E+7/8sLgl8cQZqtUiGkovbUQ+LX0YxQBZu9aSwZGASkrA3IgVrDBCjcnh+5wl PbrNMQGGCXzDDmu4Jbk2nvsewwQ+2EhslU7gmr3jeIMg1sXHqtOuJ14DRhCZmJG49Xwb roE9yPo+7PUuU2fDzYR//Jz5k7rbMz1TNsN/pY+ZWzP8uaKQOJGE1khuepRVmczkDuaA GNDITNV6gQJU4POgnmcCv4AjiLGPeiLtNhP7rQbJb8Kn3Nc4fmrGQmZrvGhJEsk/ESJ5 t+VhrwHU04io2+LQKyhstRrKmeu7qsUQxGKfXRYViilYLdY5D1h3ofvVydbvqvhwiXUE /Twg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=dh4WoR3t; 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 w9-20020a1709026f0900b001b89613687bsi7088722plk.439.2023.07.05.14.11.14; Wed, 05 Jul 2023 14:11:30 -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=dh4WoR3t; 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 S233361AbjGEUma (ORCPT + 99 others); Wed, 5 Jul 2023 16:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233439AbjGEUm3 (ORCPT ); Wed, 5 Jul 2023 16:42:29 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 487D419B for ; Wed, 5 Jul 2023 13:42:27 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-635dbfa710dso815296d6.0 for ; Wed, 05 Jul 2023 13:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1688589746; x=1691181746; 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=k9IOBh2dErzq5pc0UHadZ7sAXf6kWe3n0/dn9RfHGYo=; b=dh4WoR3tlKTcrXQJem35j9FNYUIenpsZPsRsu3o2yL/euzR3wgpNzFqRsyPvjtniX9 BGsTSgz5HwMiKXmztwf6HK4vEMBgpB3lkyj2Cz211Vf4iA518z0wdqt9dCU0H2kDwDO7 0tDgNaFk3pNdxVbcagamldZztzPyJDuioE1zv9d4+rARk5gQ3SJC+ChUBasjRWHRlwe3 D126qlNKwo+q/dkpU41pQ2FTa+o3P/2ij5eqp4c71aNUxifzhGntBeO1zSGWy1Je06Kx 1FuuX3Tky8IM1L5vLiI/e3mB66822aXFocZSTtzWT5cFoQ9Pq3Nn0sUAB/1QwATZD6N+ M+eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688589746; x=1691181746; 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=k9IOBh2dErzq5pc0UHadZ7sAXf6kWe3n0/dn9RfHGYo=; b=cFSEhaqQj3OKtExBOMxlFjhipg9qIk87tc6X1k/i1QGTyrVYYC4KuFDPN/Hu46Xo/D LwkvZjtHjpm4f9nJnzkQUvezepr+lg8CniMidWcbad2YiyACF8IEmF3GFll4lmxjazBk XlOTmK7feW9NsmRePbNUQpnyxAl4ke0NWw/mHNNMR511mNVX6KYbqxjeBGpWEyKdKzoO CDoPyYH517uJoE+hsZPuJHFiiL/nDv5y5BCTBEDcGgN03Ccnpowvj8Qe2xTiv38E6zfc HEGrPEhj6iIiR+z6ZbsZCmp2OkR4ka8PRQa6VXPgGVYMUw7fCM5WXABpK8zx+jnXIKpb /SyA== X-Gm-Message-State: ABy/qLb/3VrrneKvnuln1zCUXCW/YJVF/pODHCaWd5jXf1MJpfIR5djQ 8vtQE6jEuAxlhCwI9lL06AwHj0u7Q2b1iabi9fKYrg== X-Received: by 2002:a05:6214:b6c:b0:636:cc82:8cb4 with SMTP id ey12-20020a0562140b6c00b00636cc828cb4mr12099439qvb.33.1688589746277; Wed, 05 Jul 2023 13:42:26 -0700 (PDT) MIME-Version: 1.0 References: <20230629234244.1752366-8-samitolvanen@google.com> <20230630-phrasing-strung-12e53988ad81@spud> In-Reply-To: <20230630-phrasing-strung-12e53988ad81@spud> From: Sami Tolvanen Date: Wed, 5 Jul 2023 13:41:49 -0700 Message-ID: Subject: Re: [PATCH 0/6] riscv: KCFI support 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 Hi Conor, On Fri, Jun 30, 2023 at 11:48=E2=80=AFAM Conor Dooley wr= ote: > > Hey Sami, > > On Thu, Jun 29, 2023 at 11:42:45PM +0000, Sami Tolvanen wrote: > > This series adds KCFI support for RISC-V. KCFI is a fine-grained > > forward-edge control-flow integrity scheme supported in Clang >=3D16, > > which ensures indirect calls in instrumented code can only branch to > > functions whose type matches the function pointer type, thus making > > code reuse attacks more difficult. > > > base-commit: c6b0271053e7a5ae57511363213777f706b60489 > > Could you please rebase this on top of v6.5-rc1 when that comes out? > This base-commit is some random commit from Linus' tree, that because we > are currently in the merge window has is not in the RISC-V trees yet, > and means the series wasn't applied by our CI stuff. Sure, I'll send v2 rebased on top of -rc1 once it's out. The random commit was the ToT at the time this series was sent out. Sami