Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1135788ybt; Wed, 8 Jul 2020 22:44:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJws4gFsCkkOSRYdXAJxVQLOzQXCS2wOZNgHeqKhTvjuf0NIAq1m2+oU4XXnfFWKzAOrCLxz X-Received: by 2002:a17:906:5008:: with SMTP id s8mr43789794ejj.147.1594273453309; Wed, 08 Jul 2020 22:44:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594273453; cv=none; d=google.com; s=arc-20160816; b=hrZ3u8yFZKn+dYOEMLkJwUxwjdkH5mFm+Pxxf1HvH49jDF7bGc02KpGeTSbD7j5ViP wIjmxjuPmIQp643QunNw1vhwoJBgtKz7Udnm0SROfd20cKpmE2TWsZckvpaayZdYRSFN fHATkU8A5Fh7bSGzPy/Qw3bUddlQ1280kzm3z89hensf+muSTdzi0xLd91Vw1NbxTTQb SEESyb2185xT5R/b90glwiStvIbysz2mpro4xD6+TR1EdSfP1cTI4R+jNA5zrK5kHhyp BNl4rmzKpzV2uKUD9GUOVtbJBePYCKcLtmdJa2TdLnWCC5R5Qt27GifN18YI5LawN/kh N1fg== 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=Njmc1vyPe75JslBINheBTnA8lemCls4rpnddifbo0bM=; b=cMgSyPDoXYPeXjhJB76eA+JFy0e7AEvsR6T0QUxO8YEtE5iRdNX8E5V49AvFf4ybAS 5MtcwSX0pukiWHwCv9BCJS20KssE/wkIsgfitepRLHG6qibNpoyHIKcWROGv9Rs+hH9j tUR9EbX+5h4HL+veRTMJiAsb6uinBaeZV0lGEprusSVCfiyvPbE4uFukcS2/1O/JXsPl nEtezCPJ/puexzSGwe7PaL1KIZ+5SgEwaaB4Wh49nTvXGDHsjsVT6FTMhgvEErj5fSHf EuX/OJW8hyNbs1/5pq6oZ3TtNrZhechtFjkH0PsmgThN0HMny2/YerJWrskGIg7DLyoS 3F7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Tvlbnc6M; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b11si1292676ejg.42.2020.07.08.22.43.50; Wed, 08 Jul 2020 22:44:13 -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=@chromium.org header.s=google header.b=Tvlbnc6M; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbgGIFnW (ORCPT + 99 others); Thu, 9 Jul 2020 01:43:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgGIFnV (ORCPT ); Thu, 9 Jul 2020 01:43:21 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47BAAC08C5CE for ; Wed, 8 Jul 2020 22:43:21 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id x11so374446plo.7 for ; Wed, 08 Jul 2020 22:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Njmc1vyPe75JslBINheBTnA8lemCls4rpnddifbo0bM=; b=Tvlbnc6MDGfSfqeM/smYqpc0feAlERrwBiblUCBtKfK+it2lz045dBNfFnJEu0fzPE Zs72nVW0drH2HES6CA6ikXmAaLcxcpgGm66YqbDh53Aq6l2mjMgqSjki6gsO/mhmobGV WMxSlbeRt/Jip07ibeC/Q3b17ZuehPlBLDyFI= 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=Njmc1vyPe75JslBINheBTnA8lemCls4rpnddifbo0bM=; b=b/J/2kD62Jr3GvHkKfaOsPVDcmWdzETk/Rw3Q8QKRHw37y/xHRrmSuIhNGbXX5SQgw asApruLW3ZuetDjyUSFFjlIL1URAHz7KHDdmV9ursxxtWPj+I0IDLSnbZIPhrE2xnji5 yEs0IYqJ/4tP0Tl8KeU4Z/3etbCuJGYugjrnrJqHyqL3fGc8b/OLnZtQTSuK6dvcgsZq /2Ky/T3uxVre90wWDcRX8zhwCwVKIBWLe5J3O8ypHk0zArlcBYc6FYssCRhiA+RDTMsA 7mCRT4KYLjZKi0hglpb4/3fj6G7npZiQkxpkO1tiW2TDWQPGooQnjL6Hx3HQBLwGs7/w BG+g== X-Gm-Message-State: AOAM533C7cj7lxVm0bccPMHbHSzsocW/GBIUg+wOLs7+a+KXuFpB8OQn sTqwaJ4UgPnrCQIwgNSUtmW48A== X-Received: by 2002:a17:90a:e618:: with SMTP id j24mr12895872pjy.41.1594273400806; Wed, 08 Jul 2020 22:43:20 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t5sm1431481pgl.38.2020.07.08.22.43.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2020 22:43:19 -0700 (PDT) Date: Wed, 8 Jul 2020 22:43:19 -0700 From: Kees Cook To: Nick Desaulniers Cc: Arnd Bergmann , =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= , Jian Cai , Luis Lozano , Manoj Gupta , linux-arch , LKML , clang-built-linux Subject: Re: [PATCH v2] vmlinux.lds: add PGO and AutoFDO input sections Message-ID: <202007082240.815932C2@keescook> References: <20200622231536.7jcshis5mdn3vr54@google.com> <20200625184752.73095-1-ndesaulniers@google.com> <202007020856.78DDE23F4A@keescook> 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, Jul 08, 2020 at 04:13:54PM -0700, Nick Desaulniers wrote: > On Thu, Jul 2, 2020 at 8:57 AM Kees Cook wrote: > > > > This looks good to me. Do you want me to carry it as part of the orphan > > series? (It doesn't look like it'll collide, so that's not needed, but I > > can if that makes things easier.) > > > > Acked-by: Kees Cook > > If you would be so kind, I'd owe you yet another beer! Yup! It's on my list; I've been clearing other stuff so I can do another revision. (I want to move some things out of discard and into 0-size asserts, and possibly collect Arvind's runtime relocations series too (since it seems basically done but no x86 maintainers have snagged it). -- Kees Cook