Message ID | 20200821194310.3089815-7-keescook@chromium.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:522:0:0:0:0 with SMTP id h2csp634399ils; Fri, 21 Aug 2020 12:46:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAHc+Z6RUV+J8BnNOGeZHjHZl7zz83xe53Zq7ItQpCM81CKyOXvrectf8pNKy6V7RKIoze X-Received: by 2002:a17:906:2ddb:: with SMTP id h27mr4416191eji.203.1598039181416; Fri, 21 Aug 2020 12:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598039181; cv=none; d=google.com; s=arc-20160816; b=tsefe62Xq+IvH10HjxtA3HRzPTwyWJjyHXAKUJThmS+KAwTwXQGcLemubm+hT3zEwL kiu17MzQSTCp9lanxNPNRJiPJ5xXZ+MCLXKDFrPQRlvG1nk7a8MJVx/3CZjiH9uw1XTq M3jyVBebTl5s0yB1bUpNqky3/5wLJ/PO9nr/59vn71LuaaealZ5D+QSHyz+B5KWtyLty uxdJASnyZHyYmkMz+ImHJhqg8RDU242QFnsbqM5nLZGBsJ6DKmczE372+Y5HWA+3zJFX fLd+ly/45cJX/Y0fNw0Lsjd8z/SxgKQqqwwlFvjplMhgdzQc16x4OLrfh23oyGFTHKkp VXHA== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LhHa8hwizWicyR7AmABsSaI963QK2ejKgNvGzEzQJyI=; b=Ugt9Nr5zke43kIorh1PYWXh9S4tsufvhBpBeG4BB3PmC7nZJL8OcrEBZsyBX6CADOm 7FnsGRssOgmvZ0nAt/ZRWupZWsuXNrUyHYETRneZQeO0U60j1e6auHCb8gH88jJFUecJ pG8xl+LV3hZvgl6R5WleJSvirezI68T6tVqe6zGekAmAPeV38/vda0SZ7ol9IEkCmHpy bLZBN838A3Ij9/uggutd+11nIUnUIWpNRviwA924BGYzp3Cm8fv+M4E3DLsaUET6VmsZ NOudEkm/mtKvihxbgjoYkQWr51QDGILd2fDK7854kLegUV/H7RhkZ6AEofF0/aZ7yd+B 0RZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=S9JWqqSo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i20si1883860edx.426.2020.08.21.12.46.20; Fri, 21 Aug 2020 12:46:21 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=S9JWqqSo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S1727010AbgHUTqU (ORCPT <rfc822;semen.protsenko@linaro.org> + 15 others); Fri, 21 Aug 2020 15:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbgHUTo3 (ORCPT <rfc822;stable@vger.kernel.org>); Fri, 21 Aug 2020 15:44:29 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82812C0617A3 for <stable@vger.kernel.org>; Fri, 21 Aug 2020 12:44:25 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id mw10so1251178pjb.2 for <stable@vger.kernel.org>; Fri, 21 Aug 2020 12:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LhHa8hwizWicyR7AmABsSaI963QK2ejKgNvGzEzQJyI=; b=S9JWqqSou1s/FK9u3DQ4o9uu0Z66hNrndmRM9lwRys0IRRdCU3reoSB3x/0i4D3/0d FE38SPzh4Sjdcmnpux/wEu2YEvs49KaQ4x96TdKBVxMC1MQo/Pu6aF3uTjn2T4WoNN1/ 69NCo9CYct3Ga+OFZvqV0/uxV0gjNFTPm/uUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LhHa8hwizWicyR7AmABsSaI963QK2ejKgNvGzEzQJyI=; b=mjjPR+CCdWhIJfGN4P3bHgnDL8fjpEGf+r8x4+nTz5NoSB4QEnO+YDqx/xi6NF2PrE dbZkKvs4wDWQU8fEZm22dbmwNDS9PP+uFnG98G1lFg2fKD3Mg70M01vd7y0ynLSLVE1n WhNPGI51DVYeWnDeHDLwrqqZ6U8kSZWtqdo4UsGtaqwJNXjoVVenvf02IdFe0o44blbx CuNmaeMeHu6cst1cPpnJxvNyM+4EgVgLVoAKuzZNxT7lJ5iV4Hc9E44U7Bx7mYvbK8Eh psOhVYTk+NTW1T8aS2CNK0TkuHQmQDh0F30JztMrIDMasjmi4Pds/17YVsOM0YYtpPS9 iOzw== X-Gm-Message-State: AOAM533HF7TZ11VC8bnKL7qKOhnsooqK+JPkwgkhj1eakk9gQIogHObT +l14ylxOaUMX7CeaTOs3QxJL5g== X-Received: by 2002:a17:902:b70e:: with SMTP id d14mr3365610pls.253.1598039065065; Fri, 21 Aug 2020 12:44:25 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id a193sm3460814pfa.105.2020.08.21.12.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2020 12:44:21 -0700 (PDT) From: Kees Cook <keescook@chromium.org> To: Ingo Molnar <mingo@kernel.org> Cc: Kees Cook <keescook@chromium.org>, Nick Desaulniers <ndesaulniers@google.com>, Jian Cai <jiancai@google.com>, =?utf-8?b?RsSBbmctcnXDrCBTw7Ju?= =?utf-8?q?g?= <maskray@google.com>, Luis Lozano <llozano@google.com>, Manoj Gupta <manojgupta@google.com>, stable@vger.kernel.org, Catalin Marinas <catalin.marinas@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ard Biesheuvel <ardb@kernel.org>, Peter Collingbourne <pcc@google.com>, James Morse <james.morse@arm.com>, Borislav Petkov <bp@suse.de>, Ingo Molnar <mingo@redhat.com>, Russell King <linux@armlinux.org.uk>, Masahiro Yamada <masahiroy@kernel.org>, Arvind Sankar <nivedita@alum.mit.edu>, Nathan Chancellor <natechancellor@gmail.com>, Arnd Bergmann <arnd@arndb.de>, x86@kernel.org, clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 06/29] vmlinux.lds.h: add PGO and AutoFDO input sections Date: Fri, 21 Aug 2020 12:42:47 -0700 Message-Id: <20200821194310.3089815-7-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200821194310.3089815-1-keescook@chromium.org> References: <20200821194310.3089815-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 98d013dcc11a..91dcfb91ac45 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -581,7 +581,10 @@ */ #define TEXT_TEXT \ ALIGN_FUNCTION(); \ - *(.text.hot TEXT_MAIN .text.fixup .text.unlikely) \ + *(.text.hot .text.hot.*) \ + *(TEXT_MAIN .text.fixup) \ + *(.text.unlikely .text.unlikely.*) \ + *(.text.unknown .text.unknown.*) \ NOINSTR_TEXT \ *(.text..refcount) \ *(.ref.text) \