From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DA7BC5479D for ; Wed, 11 Jan 2023 10:27:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2B4F68E0002; Wed, 11 Jan 2023 05:27:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 264918E0001; Wed, 11 Jan 2023 05:27:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 12C738E0002; Wed, 11 Jan 2023 05:27:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 02C0A8E0001 for ; Wed, 11 Jan 2023 05:27:10 -0500 (EST) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B4CBEC07FF for ; Wed, 11 Jan 2023 10:27:09 +0000 (UTC) X-FDA: 80342140578.21.F776E44 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf23.hostedemail.com (Postfix) with ESMTP id F368C140002 for ; Wed, 11 Jan 2023 10:27:06 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="N6AM/R95"; spf=pass (imf23.hostedemail.com: domain of ardb@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=ardb@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1673432827; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=n7Kaxge/gjLzlmCDazEfHIdEBVUWHsjJFhGaJsjlyVc=; b=VpYca0ZESa5jj/yZDqfq0I0SqV49wUVhol1PcZXRMevgVMImXfWyQtQyM7TyGQLCy7o5lp qGHBj/PxnQzXAWzXBvyF0ittQSqbf3PiOEXxS4MlNbQGW0VOSZisAuggjP8OBfB0Of+pfL tSJlRp7KBBOcToHK41pb0FbWOW0Nnc0= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="N6AM/R95"; spf=pass (imf23.hostedemail.com: domain of ardb@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=ardb@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1673432827; a=rsa-sha256; cv=none; b=2QuHii4RgM2NP8F7AOjASIIEnM+DQC3a6AEl+8i7egKHNQdJcVnDKLqWenemPoprgH69OB CqBQrkgE24PT/EGSW36Xe2JZ6MCBBx1M/2BRc3YbQjoB7lvCdtKYxUQpk7/t4Vwxwfjywd ayeFPiH7zvWKpUaLUlfsJfQ57kS0Cjg= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CF59961AF2 for ; Wed, 11 Jan 2023 10:27:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43FCDC433F1 for ; Wed, 11 Jan 2023 10:27:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673432825; bh=h8TxIxPqDFkhpYbcLfoV6BQoG0WhTrglcCMN9K0uJt8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=N6AM/R958N4u18XHrq8UNFqyP70G0+gFwMjnQ7yqMsG47nguqfl6pW+209xvjJbjo rbyiV1w6ouyXKlZ7pR08EkBzODxgmNUTobWEUTrURUNmsiM/RuXCO9kxLqze0HyhcR S6C/niQFotI+kRCFg/uXnEq6zKAWOBRw0nS0DWmyZjAkNvygext7RU932qc4NbjrQS KV0HgZHWYoLzmXVOUeoidM1prvbzJLc7G6Y56qtqNpZx4XmtMUCyuFD3A2CAvUgequ zGm3mij0lsMIAscKAhWH2v20gJAspQzMm0kSukOEDurAvSSWc71hsGMCkJQLn4kfXu IsWN6cuZdIQww== Received: by mail-lf1-f49.google.com with SMTP id g13so22820416lfv.7 for ; Wed, 11 Jan 2023 02:27:05 -0800 (PST) X-Gm-Message-State: AFqh2kq9ivRLflvCmNGT2jM4fg1wTyhx2noJVqFf1BRB4rE0chaofrSG 79xKEthwNW1zXeQaIIEFidWPy1mg+iJuIrmfV44= X-Google-Smtp-Source: AMrXdXsLArq0Wo9nCQp1TG2fDBNEKyKeOcVuKtJtKzZgvOKKPRl44qz6sy8RasrBp5p6S+z6L6lslWMdW/csV0WAiDQ= X-Received: by 2002:a05:6512:15a3:b0:4bc:bdf5:f163 with SMTP id bp35-20020a05651215a300b004bcbdf5f163mr3731265lfb.583.1673432823315; Wed, 11 Jan 2023 02:27:03 -0800 (PST) MIME-Version: 1.0 References: <63bc16ce.IBWX7dhtPEB7dLIq%lkp@intel.com> In-Reply-To: From: Ard Biesheuvel Date: Wed, 11 Jan 2023 11:26:52 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-next:master] BUILD REGRESSION 543b9b2fe10b2e12b8d773af65314d322f91e479 To: kernel test robot Cc: Andrew Morton , speakup@linux-speakup.org, linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, Linux Memory Management List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: F368C140002 X-Rspam-User: X-Stat-Signature: 76h4o1w1gqtxbt34ciparqbjfhnqzo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, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 9 Jan 2023 at 15:38, Ard Biesheuvel wrote: > > On Mon, 9 Jan 2023 at 14:31, kernel test robot wrote: > > > > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > branch HEAD: 543b9b2fe10b2e12b8d773af65314d322f91e479 Add linux-next specific files for 20230109 > > > > Error/Warning: (recently discovered and may have been fixed) > > > > aarch64-linux-ld: ID map text too big or misaligned > > This is caused by linker veneers ('stubs') that are emitted into the > ID map text section: > > *(.idmap.text) > .idmap.text 0xffffffc018c04000 0x38 arch/arm64/kernel/hyp-stub.o > .idmap.text 0xffffffc018c04038 0x28 arch/arm64/kernel/sleep.o > 0xffffffc018c04038 cpu_resume > .idmap.text 0xffffffc018c04060 0x38 arch/arm64/kernel/cpu-reset.o > 0xffffffc018c04060 cpu_soft_restart > .idmap.text 0xffffffc018c04098 0x468 arch/arm64/kernel/head.o > 0xffffffc018c04098 init_kernel_el > 0xffffffc018c04290 secondary_holding_pen > 0xffffffc018c042c8 secondary_entry > 0xffffffc018c043c4 __enable_mmu > 0xffffffc018c0440c __cpu_secondary_check52bitva > .idmap.text 0xffffffc018c04500 0x3c4 arch/arm64/mm/proc.o > 0xffffffc018c04500 cpu_do_resume > 0xffffffc018c045a8 idmap_cpu_replace_ttbr1 > 0xffffffc018c045d4 idmap_kpti_install_ng_mappings > 0xffffffc018c047bc __cpu_setup > *fill* 0xffffffc018c048c4 0x4 > .idmap.text.stub > 0xffffffc018c048c8 0xf7c8 linker stubs > 0xffffffc018c1c8c8 __idmap_text_end = . > > It seems unlikely that the entire .idmap.text.stub section is > dedicated to veneers for code in .idmap.text, and the linker probably > dumps them here because the next output section is non-executable. > I bisected this to commit 5e5ff73c2e5863f93fc5fd78d178cd8f2af12464 Author: Sai Prakash Ranjan Date: Mon Oct 17 20:04:50 2022 +0530 asm-generic/io: Add _RET_IP_ to MMIO trace for more accurate debug info which seems entirely unrelated, but looks like it may be causing the number of direct calls (and therefore the number of trampolines) to increase, causing the ID map to blow up like it does.