Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp4504pxb; Fri, 15 Jan 2021 04:26:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWHAypuHAwZcX8+YWzMgcWNU7ZRsQGYht2hKCAYpA9ZwgHDVso3q94YpbIWAGTq40xduiO X-Received: by 2002:a50:e80c:: with SMTP id e12mr9005723edn.288.1610713571973; Fri, 15 Jan 2021 04:26:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610713571; cv=none; d=google.com; s=arc-20160816; b=Ls0rknebJoa5Ay6/Vp5tjeFANu77ZlwbPqRIpx8/mqZJafhrXc6gW4B69tfUTQp3Pu M5ccvtjPemOPHj4y2hN05GlfbiKcO/lggl2LyHFwLC4CW/nOr8ljcG9U5QIbEIgHukI4 zn6kLAN4a2aG2QzF3KD74DEqxe2zdkQyLAMY6WG0mUgi+rZcqAMEIXN5JXViLKiJbhKZ kch8xUCl5DZK7NcmSL9/ul4utX1Nqrw6nE5sYMyWu1+S4t8w2grfNPOSbk2ZBMzdOHdx x9Sf4srmirybuCytVqw1cQjjO6ZbAEFbGjsjLM1TiWVW2gd/9Y6V3iny3rEIirI2Jr1X 1q3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=ehbmQFTDr5k+HZe2dszKnvwpbrqmYSCrHUN3q9hskco=; b=OzeRgjzfw0JfWlsURyn19ww2yreQxzfbJDtN7zKvzkf0VxglNjERhXeMRZ5SyML8Af 88zpzXB0hK7+lOVsOerJ83lwZj8BF1T8a6MFRISiyG4BmE3JflfTz853txdvdOQZfGLF lW/yMK0WH9WLcCKwRWwwJ1utW/JWgcGvk1qBVSBW4MBpLC9uwXD/Gbo3dKaS4V2NHQgP DjEM69J7vQYI3UoI4/w+3yz06tfP6wNAxIWod3lIDkvdfYbXCXoMzGxHpa1LdwDuRUdl b2YpvRTABJegAZ+DjLQfh2qfPbmTj7fstRlNfbbxJ3tWI2c2XZ28w2S7mme+mIs2YVk0 5O6g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si190462ejr.548.2021.01.15.04.25.47; Fri, 15 Jan 2021 04:26:11 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730642AbhAOMYf (ORCPT + 99 others); Fri, 15 Jan 2021 07:24:35 -0500 Received: from ozlabs.org ([203.11.71.1]:34483 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728947AbhAOMYe (ORCPT ); Fri, 15 Jan 2021 07:24:34 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 4DHL2J52GBz9sWQ; Fri, 15 Jan 2021 23:23:52 +1100 (AEDT) From: Michael Ellerman To: Nathan Chancellor , Michael Ellerman Cc: stable@vger.kernel.org, Paul Mackerras , linuxppc-dev@lists.ozlabs.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Nick Desaulniers In-Reply-To: <20210104205952.1399409-1-natechancellor@gmail.com> References: <20210104204850.990966-1-natechancellor@gmail.com> <20210104205952.1399409-1-natechancellor@gmail.com> Subject: Re: [PATCH v2] powerpc: Handle .text.{hot,unlikely}.* in linker script Message-Id: <161071339895.2210050.3375251012287631556.b4-ty@ellerman.id.au> Date: Fri, 15 Jan 2021 23:23:52 +1100 (AEDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 4 Jan 2021 13:59:53 -0700, Nathan Chancellor wrote: > Commit eff8728fe698 ("vmlinux.lds.h: Add PGO and AutoFDO input > sections") added ".text.unlikely.*" and ".text.hot.*" due to an LLVM > change [1]. > > After another LLVM change [2], these sections are seen in some PowerPC > builds, where there is a orphan section warning then build failure: > > [...] Applied to powerpc/fixes. [1/1] powerpc: Handle .text.{hot,unlikely}.* in linker script https://git.kernel.org/powerpc/c/3ce47d95b7346dcafd9bed3556a8d072cb2b8571 cheers