Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp157233ybh; Sun, 12 Jul 2020 02:02:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGdu6Nh2Y7IpfxiesFdEHgpx49Ps0FaVd7pUtNWFcaNkBVqoZB16s3GO5xyjRpN9wkMiPE X-Received: by 2002:a05:6402:1bdd:: with SMTP id ch29mr75421228edb.134.1594544538274; Sun, 12 Jul 2020 02:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594544538; cv=none; d=google.com; s=arc-20160816; b=lp8CzLvoFJvA4YFs58X3Iva8pqzEMjcs0mqFqLVJc00CaW30snb4+SAT6l7qP2zlaI a6kxHeu++c7eJhlgga80ZNeJ4ns1VjvMzWvc47gd3tL3NswOBG+tUrowHpmayCyPtTyk qkZkoxtZa64CVMMYA44Bo1JUgUHw+9U3tIDW3x0KF/h3deSjXLj+TY5e5P7UrXKRk88J 9antA8C/LRq2jTK4qTcIuq2yCQFYa40BmdrKUstU2RnQVShaMk9N5Pgl496MXuIotEjo oFKpNlM6YeksXHEY9drdis7XNWO2cG5hoIYsMTC2Tany4JKy2Rc8ZxYk7Li0E3G8IiRy bl3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:reply-to:in-reply-to:references:mime-version :dkim-signature; bh=+Dl8Q1XzZiYA4GO8ZZtoY/mYTNvNLG4yL/TSgXjOVXM=; b=wTmkWKFxeKq+iM7QNeNDPU4RUjIIFt9dP7zj/lmb6O9FMNHcA9PN32TsknNvkD1okL YQgA+hgaioUngyFhpRZtI7R3KI5gJ4dTZwTtHrY3g9W9YP2uMbmERFXDoH+9lxya2aY0 NHRlYWjfqUZEn3pOT9cTNlH5RfPGsX9SyQFriFzO2cuPVaz4+Oj3+gkvfgMDKWaxqVlL 0x8IEi59A5M6tzclvibF334ReFh8n19NLKcirHlivFQNh3EynJM9NZRUcL+FFlNjc2gp v8Qp7+x5Er+xEIGK34QRdg2trL/DJuwQo/T1Pr46uEobHwbiXqi1QIsee4ZVuk/XwN04 zxJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=et8c4srf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id du12si9111989ejc.441.2020.07.12.02.01.41; Sun, 12 Jul 2020 02:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=et8c4srf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728354AbgGLI7c (ORCPT + 99 others); Sun, 12 Jul 2020 04:59:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725765AbgGLI7a (ORCPT ); Sun, 12 Jul 2020 04:59:30 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08E66C061794; Sun, 12 Jul 2020 01:59:30 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id v8so10415484iox.2; Sun, 12 Jul 2020 01:59:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=+Dl8Q1XzZiYA4GO8ZZtoY/mYTNvNLG4yL/TSgXjOVXM=; b=et8c4srf7jKz/ghq6ldgJw1wpsajAh/iicKsgGLSk5HCxGZ5CQ86IFUST3G/dAZS9R BK+JEehQthnnir07FeiPcL/qpVUZ2NGCyUjND9byzvK8PnixOnaWkF96m/M5kUymOL2C LII6vqDG01OkywVTUDEiMrt1QcYjd+y6es/0VA01BLEP3VrfKh/wxRZhab4S/+5xDWOB xe88vsXrHJ2oYLtwubG993g1CAsa5aM8/V0M7++JN1XNtMqDZiEmh7FXGrho8fAIGKiT KJW0LpTSPQuedYjKrMO8KvYmRECOyDbXavBRUCJEaU4kO1PGAriZ+FRdd/Me8DIzlfab p9uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=+Dl8Q1XzZiYA4GO8ZZtoY/mYTNvNLG4yL/TSgXjOVXM=; b=CafyuPnaQWggO8PEixrRbkVAkgjZD8f+UkmoKcWcFsIIRaq3RLpP5cwWOhMKEYh4g8 7WxtNI9ca8lHQjl1ja7ble2ASNCYrAXjbMY4EDJhmkYKvfYZ+opVMil8K3MAJ4AUxtp1 ThSji8sFkAuCrCmuoI8SKYA/MUZ2lYLZJbG3fCmkC6CJnX22aAki8TujsHHuyKuqXE1c JGVxO18dDrfMHjtyX9YzEM/x6A0CS15REVPqzvxL5SpXT2NINXroaR5kuuPEZs3Ssa+8 O7GUgeZZ30hY3jNuXo92vW3anwL6vy/EqoGatulaOuTz3X2ABz27nuyd2vdbcj1sbCZT HGQg== X-Gm-Message-State: AOAM5327tf9z0the4zjHMjxdw8A4JgjbiCsSC1ieJkvlNQ9WMeswB739 cjSsXZ8h9jX9FML4QC/xNOGhWU2wnuT4JxOdrLw= X-Received: by 2002:a05:6602:1555:: with SMTP id h21mr6773338iow.163.1594544369052; Sun, 12 Jul 2020 01:59:29 -0700 (PDT) MIME-Version: 1.0 References: <20200624203200.78870-1-samitolvanen@google.com> <671d8923-ed43-4600-2628-33ae7cb82ccb@molgen.mpg.de> In-Reply-To: <671d8923-ed43-4600-2628-33ae7cb82ccb@molgen.mpg.de> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Sun, 12 Jul 2020 10:59:17 +0200 Message-ID: Subject: Re: [PATCH 00/22] add support for Clang LTO To: Paul Menzel Cc: Sami Tolvanen , Masahiro Yamada , Will Deacon , Greg Kroah-Hartman , "Paul E. McKenney" , Kees Cook , Nick Desaulniers , Clang-Built-Linux ML , kernel-hardening@lists.openwall.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 11, 2020 at 6:32 PM Paul Menzel wrote: > > Dear Sami, > > > Am 24.06.20 um 22:31 schrieb Sami Tolvanen: > > This patch series adds support for building x86_64 and arm64 kernels > > with Clang's Link Time Optimization (LTO). > > > > In addition to performance, the primary motivation for LTO is to allow > > Clang's Control-Flow Integrity (CFI) to be used in the kernel. Google's > > Pixel devices have shipped with LTO+CFI kernels since 2018. > > > > Most of the patches are build system changes for handling LLVM bitcode, > > which Clang produces with LTO instead of ELF object files, postponing > > ELF processing until a later stage, and ensuring initcall ordering. > > > > Note that first objtool patch in the series is already in linux-next, > > but as it's needed with LTO, I'm including it also here to make testing > > easier. > > [=E2=80=A6] > > Thank you very much for sending these changes. > > Do you have a branch, where your current work can be pulled from? Your > branch on GitHub [1] seems 15 months old. > Agreed it's easier to git-pull. I have seen [1] - not sure if this is the latest version. Alternatively, you can check patchwork LKML by searching for $submitter. ( You can open patch 01/22 and download the whole patch-series by following the link "series", see [3]. ) - Sedat - [1] https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.= git/log/?h=3Dlto [2] https://lore.kernel.org/patchwork/project/lkml/list/?series=3D&submitte= r=3D19676 [3] https://lore.kernel.org/patchwork/series/450026/mbox/