Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp930296ybt; Wed, 24 Jun 2020 15:08:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfiWCyMdtP+z6dERfF0QYSFKrUrpIv0VJ3Y+WUF/A2eSTjg7qZDZ0rQi9oTwbHAkhJgh09 X-Received: by 2002:aa7:d15a:: with SMTP id r26mr25735441edo.161.1593036497300; Wed, 24 Jun 2020 15:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593036497; cv=none; d=google.com; s=arc-20160816; b=U1TeKbbzZhZmEtyboTbozqypKEdBbbHYjmaoS1OjnP3GRHRNvGfIjh6KmmmcWWMuzQ yjtiwEtXUbs+aUMpvPwo/1x+Ds/aNjJWrAqdz9k2Jrdik/eCmd/NWR0Tyocww2IKBc0/ f7SnB5OmbGBL+tPOCrgwo+ng0hRPs1Y4L60T55sNbSAJrAVd307e/SSOyNCac9/EgoHO OjI882lHs24IGonL85Of2Z+YmTxbm4HCzfyDI/DVIEgFXAeR6nW9pT08/p/oZ1Ab9z3U 2nK8pcBPx34rMTx8cgzdbAxEDDtVIuCp0ThJ2AywAyaA9OA0xRRPcJYUdEqo/7zK5ocZ 79Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ZlZyjdUHfTmn42OuhaukPgD3qQeRnM/SwkQPWmFMjno=; b=vXWz087lHbip8e1m/8PdyCQf5mXpqo05e9adkXu4fQ/t9urn6T2jW5wS4knpye4asy 31O84CmEj4Bn0wVUIg3eeZAES5LzchpHKywCFYhmiT/Vnhn7OyiQoBz7+ezAeNV/yJ+Z Gx06qqTLuaWWF+dmSULf8YNfzVlnOyhHpOIYZ/xcJYkDha6kB9tpjP5EmL5T+Rvbvyl5 5Sd6BUpImW6B8CfDHuqBNAkGR2Nf1H0yg8xvdrKFGZlOWcbH7gt+EZyqUGLGQt92jMzg s5il7sOhEYyfykcJJjrvDIvHWrEkB4iT0dY5QUXspeyCq6MbSl4JZm8A5C0IwY1O5FGD ci6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gkQ03mH+; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be3si7340280edb.179.2020.06.24.15.07.54; Wed, 24 Jun 2020 15:08:17 -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=@google.com header.s=20161025 header.b=gkQ03mH+; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405283AbgFXVwi (ORCPT + 99 others); Wed, 24 Jun 2020 17:52:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404825AbgFXVwh (ORCPT ); Wed, 24 Jun 2020 17:52:37 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58681C061573 for ; Wed, 24 Jun 2020 14:52:37 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id ne5so1782519pjb.5 for ; Wed, 24 Jun 2020 14:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ZlZyjdUHfTmn42OuhaukPgD3qQeRnM/SwkQPWmFMjno=; b=gkQ03mH+pPQbaY26mXH9tyFtYNKkc69RJVql3zuiAJ9HIg/y5EOgT1k1p8MPr1NS2p 0+9hv/B8bA8y01i7lTNiIORUq/cOqzJHzcy92+dzag7XYVdUX0EM3i8tlsySkKFAcx1W EsBVlaYTjHyKIaqiR5f+zZkVnqGQKjJtrJF7neBM45lEg19dUfITLa6w50pvskzp+H3Q 7+LiARiXwvKUf+3wbAxBMvD0W3zQDujuEi0Ff7RCeS/cXPDUV5GS8pCW67UEdB7YUlbF 0gxAzEoMpBl65jky4H43Nbd4ZEdySbpIt0IKZBbG4xl5q5BlvUG77XQRz/Foyl8g2Bff X4gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ZlZyjdUHfTmn42OuhaukPgD3qQeRnM/SwkQPWmFMjno=; b=Xf6OtSlzMN9dnmScwoEiV/Xf51MDdnF9iLNPAINP7K7UNYpm4lDqW1a68QueQA94ke CFQCkJ25A4tvesKgFb5SMn9+/mqmYAjQka9zISBQ8v7t/RQ6PvPz+Hq5L+yvUtnsjUO0 M4lrgDpxN/hwJ9anLb+qDywV7fcrLjpuYdGtETP+VwI1bx5qIhDxeqHx+Ekgop60u20o 6S9jnRh2Q6qHTL/0Bb98CW3yePfUr7cBqziGqiUEpvgLfPyDnU432JfL8yKhmqt0y2yj R6oVCmNAxXRaLkrzlvonwj2vYIApooYGL9b5Hl4wJMg/sUV0lsZFzrdxb60Bmr3xYsGX lkdA== X-Gm-Message-State: AOAM533rooD4rsejaxhvYXbCTOcN31gYVVq6M76vvpmpqfPcFkxWLUMT snOFaIHg8jOyk1e8lv3ZeSR/Fw== X-Received: by 2002:a17:90a:dc16:: with SMTP id i22mr30660369pjv.84.1593035556605; Wed, 24 Jun 2020 14:52:36 -0700 (PDT) Received: from google.com ([2620:15c:201:2:ce90:ab18:83b0:619]) by smtp.gmail.com with ESMTPSA id 2sm6487093pfa.110.2020.06.24.14.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 14:52:35 -0700 (PDT) Date: Wed, 24 Jun 2020 14:52:31 -0700 From: Sami Tolvanen To: Nick Desaulniers Cc: Masahiro Yamada , Will Deacon , Greg Kroah-Hartman , "Paul E. McKenney" , Kees Cook , clang-built-linux , Kernel Hardening , linux-arch , Linux ARM , Linux Kbuild mailing list , LKML , linux-pci@vger.kernel.org, "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH 17/22] arm64: vdso: disable LTO Message-ID: <20200624215231.GC120457@google.com> References: <20200624203200.78870-1-samitolvanen@google.com> <20200624203200.78870-18-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 24, 2020 at 01:58:57PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > On Wed, Jun 24, 2020 at 1:33 PM Sami Tolvanen wrote: > > > > Filter out CC_FLAGS_LTO for the vDSO. > > Just curious about this patch (and the following one for x86's vdso), > do you happen to recall specifically what the issues with the vdso's > are? I recall the compiler optimizing away functions at some point, but as LTO is not really needed in the vDSO, it's just easiest to disable it there. Sami