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 2E414CCA47F for ; Fri, 22 Jul 2022 07:53:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A0F418E0001; Fri, 22 Jul 2022 03:53:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9BCF56B0073; Fri, 22 Jul 2022 03:53:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 884818E0001; Fri, 22 Jul 2022 03:53:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 741E26B0072 for ; Fri, 22 Jul 2022 03:53:47 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 410DE120BA6 for ; Fri, 22 Jul 2022 07:53:47 +0000 (UTC) X-FDA: 79713971694.13.C160BA4 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by imf18.hostedemail.com (Postfix) with ESMTP id EA14F1C00A8 for ; Fri, 22 Jul 2022 07:53:46 +0000 (UTC) Received: by mail-wm1-f44.google.com with SMTP id r1-20020a05600c35c100b003a326685e7cso4173674wmq.1 for ; Fri, 22 Jul 2022 00:53:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=g3X0thJEsCWIOzOzMBtExWar34oEgPFC4eBjEJc+Q/M=; b=jhwjXe5+00591ui1+4eJAgxNtWH0CPVmyKMMOtn6qMMVFAlZqF8nu7MYeJT29Iv93R iEImoFe5h6Uy4uX6muYoTtfmyiRrd7PHFIX5Tq5ltHpPYTf9EYj0vlgpi7wrLXJQYMc5 8sUCrLoTyKecPeiGiA6QSQlQXf0F4Lug47HniAIBQFkaLfW5WcUeHcLYrhVDlMVhL8Jh D1UQHwJQMqcnXMmuEDMI3FzNR1has4UKW9jivIDbH4DqZo0dKen3/ANQWuV4JOIbs2AE 185DXt46s6G8/l2ehuXNaGTD0n59QIu42I3EioBdRXqezhowUR4ZHZMu+Q0R9Zn+pS9O r3yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=g3X0thJEsCWIOzOzMBtExWar34oEgPFC4eBjEJc+Q/M=; b=wP+5rBwKv1IEdYiya4McgA6Cye8tCTiQppfVyek83E7JRi2TcpYGP1Dh8txXPji9F+ 7bmD4m2eM+X1e8fwOpT81glQLRfSpmxPt8Qj2qS1g6Yx21FBpxZfXmeajAiNq98IWjma XhL19xy7wMcLk4+XbRS/eLqNtV8vcdO9XSEjeHwzfR+u5ohvI8YLNJN/Exf4DluKW7s2 ACmFhHLjgCyePG33XthwKawnpQwSZ/7vP57WLNrvS7Sc+2se58Asr6EGsyQ4gjlx1H3s INbpQnEi4A7978QYr2KuyDwypuS+NfmiojORvEtL9zKid5VRqdCI6Kgk+FR0PWIMXzUT 9XiQ== X-Gm-Message-State: AJIora/KAKaCMy3QJ9wZW31gWD8EB+ndbxwSv14MSNIBPxfoGxzwSY3V Afub1jXD2M2/RQDdThYVCKI= X-Google-Smtp-Source: AGRyM1uZmThHHo3HU8Kz8irV9I9+G0HiM7LJisLBSmpY1M8Jn6/n8BJ73QG0fMX20r9rjuFCp9Iknw== X-Received: by 2002:a05:600c:3b1d:b0:3a3:1fda:efcf with SMTP id m29-20020a05600c3b1d00b003a31fdaefcfmr11100899wms.49.1658476425341; Fri, 22 Jul 2022 00:53:45 -0700 (PDT) Received: from debian (host-78-150-47-22.as13285.net. [78.150.47.22]) by smtp.gmail.com with ESMTPSA id e24-20020a05600c219800b003a2cf1535aasm4094868wme.17.2022.07.22.00.53.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 00:53:44 -0700 (PDT) Date: Fri, 22 Jul 2022 08:53:43 +0100 From: "Sudip Mukherjee (Codethink)" To: Peter Zijlstra , Will Deacon , Linus Torvalds Cc: "Aneesh Kumar K.V" , Andrew Morton , Nick Piggin , Arnd Bergmann , linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: mainline build failure due to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658476427; a=rsa-sha256; cv=none; b=ftzgv6wtfkZFlmqJ2Cqivn/OkLTQdNESwjNkJjsjt772OSIBGneXimdqGnjeergJ7w50jF +jx3BI/UdynoE7uMWl6RszdDTjdQRDkwyckuSfT+Nn/6pvzm8d7VKQppYSwuUpzwmoO9Pf HTMRA6ukMSMt166BnGcuXRQo/tMZf/U= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jhwjXe5+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf18.hostedemail.com: domain of sudipm.mukherjee@gmail.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=sudipm.mukherjee@gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658476427; 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: references:dkim-signature; bh=g3X0thJEsCWIOzOzMBtExWar34oEgPFC4eBjEJc+Q/M=; b=CMnQoxcg5FRmBuInhcG459B7fc//Qrqbyxc6yJtfuaUbR1phKJ83H7KPClqQClN8dG28+T bogr6W46v8MdGsbsKo+GcNL8gRJNUe4votJ4IJVT+1hwPTuEnlz2/OJE0GgDbVo7f7/Gk4 bFB6N3JiTFdIBnR6ocUwa9kKnDraatI= X-Rspamd-Queue-Id: EA14F1C00A8 Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jhwjXe5+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf18.hostedemail.com: domain of sudipm.mukherjee@gmail.com designates 209.85.128.44 as permitted sender) smtp.mailfrom=sudipm.mukherjee@gmail.com X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: 37j6kc5ttzqmq8ys456ftxn8sqywc8hd X-HE-Tag: 1658476426-654040 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi All, The latest mainline kernel branch fails to build for alpha allmodconfig with the error: In file included from ./arch/alpha/include/asm/tlb.h:5, from mm/oom_kill.c:48: ./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags' 401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ ./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)' 372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { } | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/alpha/include/asm/tlb.h:5, from arch/alpha/mm/init.c:32: ./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags' 401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ ./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)' 372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { } | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/alpha/include/asm/tlb.h:5, from kernel/sched/core.c:77: ./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags' 401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ ./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)' 372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { } | ^~~~~~~~~~~~~~~~~~~~ In file included from ./arch/alpha/include/asm/tlb.h:5, from fs/proc/task_mmu.c:25: ./include/asm-generic/tlb.h:401:1: error: redefinition of 'tlb_update_vma_flags' 401 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ ./include/asm-generic/tlb.h:372:1: note: previous definition of 'tlb_update_vma_flags' with type 'void(struct mmu_gather *, struct vm_area_struct *)' 372 | tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma) { } | ^~~~~~~~~~~~~~~~~~~~ git bisect pointed to b67fbebd4cf9 ("mmu_gather: Force tlb-flush VM_PFNMAP vmas"). And, reverting that commit has fixed the build failure. I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip