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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B0D5C433F5 for ; Thu, 17 Feb 2022 19:24:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245126AbiBQTY4 (ORCPT ); Thu, 17 Feb 2022 14:24:56 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245120AbiBQTYz (ORCPT ); Thu, 17 Feb 2022 14:24:55 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2223F94D9; Thu, 17 Feb 2022 11:24:40 -0800 (PST) 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 4D9C161CC7; Thu, 17 Feb 2022 19:24:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2D5AC340E8; Thu, 17 Feb 2022 19:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645125879; bh=r0FFFkQf0v+Vq0994D2RUjxFXog+gDvbX6KefPHK3dM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ny4nH9oRvZxO4sdirwRFEzdQyb+FedPG/TtZtia5tof0ulcZG7V7kVFVztg3KsQhn q6nHNP8tHb3ERbAlhvHyR6BmIiOOUqU/RG1+TmbfXFnUyyDwpXnL5HrLjtUQtj+fbM DPF5vGQUJsUFOvURAG2AgHzFd/yU8JGjnyQcD/qDxo3aw4aS0CPSmg8+KpgO4VeRwT j81K1m0ilN1jHDGdUxp2ldSzyXp4BNJvOx4gLD8b0HETBykTK0b7FknOxuMiWocTIH V/PsUIFUOMcKy7/YItFJ79f2PsGduZJk12mFQcKJmlYFSVk5p/ZnH0RYb8QjCLhcG+ uIdAs2bRZYfzA== Date: Thu, 17 Feb 2022 19:24:35 +0000 From: Will Deacon To: Stephen Rothwell Cc: Liam Howlett , Catalin Marinas , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the maple tree Message-ID: <20220217192434.GA11800@willie-the-truck> References: <20220217191857.6d9917c2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220217191857.6d9917c2@canb.auug.org.au> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 17, 2022 at 07:18:57PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the maple tree, today's linux-next build (arm64 defconfig) > failed like this: > > arch/arm64/kernel/elfcore.c: In function 'elf_core_extra_phdrs': > arch/arm64/kernel/elfcore.c:13:35: error: 'struct mm_struct' has no member named 'mmap' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:69:9: note: in expansion of macro 'for_each_mte_vma' > 69 | for_each_mte_vma(current, vma) > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c:13:57: error: 'struct vm_area_struct' has no member named 'vm_next' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:69:9: note: in expansion of macro 'for_each_mte_vma' > 69 | for_each_mte_vma(current, vma) > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c: In function 'elf_core_write_extra_phdrs': > arch/arm64/kernel/elfcore.c:13:35: error: 'struct mm_struct' has no member named 'mmap' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:79:9: note: in expansion of macro 'for_each_mte_vma' > 79 | for_each_mte_vma(current, vma) { > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c:13:57: error: 'struct vm_area_struct' has no member named 'vm_next' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:79:9: note: in expansion of macro 'for_each_mte_vma' > 79 | for_each_mte_vma(current, vma) { > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c: In function 'elf_core_extra_data_size': > arch/arm64/kernel/elfcore.c:13:35: error: 'struct mm_struct' has no member named 'mmap' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:104:9: note: in expansion of macro 'for_each_mte_vma' > 104 | for_each_mte_vma(current, vma) > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c:13:57: error: 'struct vm_area_struct' has no member named 'vm_next' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:104:9: note: in expansion of macro 'for_each_mte_vma' > 104 | for_each_mte_vma(current, vma) > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c: In function 'elf_core_write_extra_data': > arch/arm64/kernel/elfcore.c:13:35: error: 'struct mm_struct' has no member named 'mmap' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:114:9: note: in expansion of macro 'for_each_mte_vma' > 114 | for_each_mte_vma(current, vma) { > | ^~~~~~~~~~~~~~~~ > arch/arm64/kernel/elfcore.c:13:57: error: 'struct vm_area_struct' has no member named 'vm_next' > 13 | for (vma = tsk->mm->mmap; vma; vma = vma->vm_next) \ > | ^~ > arch/arm64/kernel/elfcore.c:114:9: note: in expansion of macro 'for_each_mte_vma' > 114 | for_each_mte_vma(current, vma) { > | ^~~~~~~~~~~~~~~~ > > Caused by commit > > b09e8361a4c3 ("mm: Remove the vma linked list") > > interacting with commit > > 6dd8b1a0b6cb ("arm64: mte: Dump the MTE tags in the core file") > > from the arm64 tree. Yikes, this is quite a mess. Liam -- how would you like to resolve this? Will