Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1017476pxj; Wed, 2 Jun 2021 18:18:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxd/rL0djS/KPMjYzVr5OC7IBPT69rv+ycepfq/w9GGHW8GmhbmQ3yczalwbBCQhhBqfn2O X-Received: by 2002:a17:907:990f:: with SMTP id ka15mr36773594ejc.132.1622683105420; Wed, 02 Jun 2021 18:18:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622683105; cv=none; d=google.com; s=arc-20160816; b=WJV5GnETNKYO5KOKDFSVoUC2cvIwkchS8MQMWpEtBDicppwBW4l543z9C9N/mNCKSp ixp4IyVPIhZlKEJy2ZS2IBQTH5owQht7csbzHGWAVM57c1nGp8FBos8RZa9AAmp9CuDC 10vsiZwrFk43Wd8Y9MEzeely8eLKeqlRd8SQDzYoiYmHDmjZ5hqwhwjXDC5R4StNxlQf RpWF9T1cINw5VDcIHG0rC6C4QdXVlORkPqiZEwhI+IqXHfsb6hL24Ve295MeOdlKmbR2 ASgG+40+UI6XoyAnigyI4/QRWMVxKi4EF+tGoqppTUH4qNLSLkOi3wesXH2s8dqGbNTQ oxkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=8nAVQND2dyj6aUVu+JpjDMTZxGbulkt6b1FMqbq65Tw=; b=RvaDgXTwxPM5FEWeDRXsaww/KNb4+4iq/7xfKfc3QYyjyrFstZt7rDxQcB8EXN5FK9 RDq2aJ6wLrory6+iYNhFED/NN5nAJGSClJB+P/r17gUYIzLSb30mwIe8ht+04CFoH876 1PM/q6/l8+FUlbO7MLysgs6Ced71JFL1xyxoNimHm+kk9UrV90lhGzrV+cz1Ha+GwJPr Lk1CprlwtzrnIgwqzYaTGGevgMwhrn6QuyRluMTFyZVMJSaFdkjA7EzM9mErper8nHFj 2Hu7pWHOGTeOflenDLQN6Qvkr+YFBCgduxxk//SK1gb/QlhcvOqdhMrNBI7+kDOIzSG6 4y5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qoch9BCd; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si1132585edc.370.2021.06.02.18.18.01; Wed, 02 Jun 2021 18:18:25 -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=@kernel.org header.s=k20201202 header.b=qoch9BCd; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbhFCBSy (ORCPT + 99 others); Wed, 2 Jun 2021 21:18:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:39104 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229568AbhFCBSy (ORCPT ); Wed, 2 Jun 2021 21:18:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D9BE360FE4; Thu, 3 Jun 2021 01:17:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622683030; bh=ZZSgtz1O7vXnB7wNRF8Y8LlDQZi1WwpqQfJvHz5bu6E=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=qoch9BCdyC8kVv3yCNZkT1g36Sdj2yVjowUBaB07sk59NmRiIwdrkIh/25EE5mAOP iqi95KyHpggyg/BpN+p2NOklidv5unS9kehBQadAMqd/omAjHhF5lMHdt3rBvMRFIz HXPuCWLQBiFrICQnvoHkI6RZvBkpGgfgAP0VSxXBLpgUQys0BTVYW8YXeQiLNlC9E3 I2tM4BZjKWGaeRkK3LE/IsafAlNYLdk0zSQsXBMEQ5aXV5xz5HBXmest/guXTL9tTj gHyKGk0W3uSfY9hi+dbREBUEI7w7b5oQHaDyXBmcT977PcxtpuqfuLP1vYOJpe0HJu SqMVFUR98+7Mw== Subject: Re: [PATCH 0/3] hexagon: Fix build error with CONFIG_STACKDEPOT and select CONFIG_ARCH_WANT_LD_ORPHAN_WARN To: Brian Cain , Andrew Morton Cc: Nick Desaulniers , linux-hexagon@vger.kernel.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com References: <20210521011239.1332345-1-nathan@kernel.org> From: Nathan Chancellor Message-ID: <0f3ac242-d187-57b5-e715-ea25933dbd52@kernel.org> Date: Wed, 2 Jun 2021 18:17:09 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210521011239.1332345-1-nathan@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/20/2021 6:12 PM, Nathan Chancellor wrote: > Hi all, > > This series fixes an error with ARCH=hexagon that was pointed out by > the patch "mm/slub: use stackdepot to save stack trace in objects", > which is in -mm/-next. > > The first patch fixes that error by handling the '.irqentry.text' and > '.softirqentry.text' sections. > > The second patch switches Hexagon over to the common DISCARDS macro, > which should have been done when Hexagon was merged into the tree to > match commit 023bf6f1b8bf ("linker script: unify usage of discard > definition"). > > The third patch selects CONFIG_ARCH_WANT_LD_ORPHAN_WARN so that > something like this does not happen again. > > Nathan Chancellor (3): > hexagon: Handle {,SOFT}IRQENTRY_TEXT in linker script > hexagon: Use common DISCARDS macro > hexagon: Select ARCH_WANT_LD_ORPHAN_WARN > > arch/hexagon/Kconfig | 1 + > arch/hexagon/kernel/vmlinux.lds.S | 9 +++------ > 2 files changed, 4 insertions(+), 6 deletions(-) > > > base-commit: 7a42b92b6d30c3f09629c7d5ada9e3de2aba01af > Brian, did you have any comments on this series? ARCH=hexagon defconfig is currently broken in -next, it would be a real shame if this continued to regress after you just got Hexagon building in mainline. These patches seem like they would be worthy of a 5.13 pull request. Otherwise, Andrew could pick them up with your ack and stick them in front of "mm/slub: use stackdepot to save stack trace in objects" so that there is no build regression. Cheers, Nathan