Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp505114pxj; Fri, 14 May 2021 08:40:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweDEEksWcNSRAr/cv77PcJ0ULD5Voj8ZgtJEtBvgjdxUPPL2UkYz6p6OFySNoOmxHR6l0l X-Received: by 2002:a17:906:58d1:: with SMTP id e17mr50342869ejs.179.1621006839225; Fri, 14 May 2021 08:40:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621006839; cv=none; d=google.com; s=arc-20160816; b=LvjT92mdQ8vYJXRLOKbS2lLh2F/hGV8X9X+l8fiKMAK/gG3dLCH/qdD+TqzHII4Ulq x+WlJ8EkBV6P7XjoVRigIgvh+q71dYeG0OkASXH++6sw2cjpLv1IRhXGXMqB4fFuzCpA ra0txECuYc74ZiiCZjLuCJ6Y7lMdxn4hJUBWu/bb2VPO60czEcOEL6OA10C5uK0/qZLA PpJ9ZrIgd4rqMwcXw92X554WgwVUjFKm3SRDATWS9+0Yv7GoYA5nmef5fB6LlO297MLZ 0VpKAgze6m9aLpDrJKi2iI323TXtfWQE71sgvZ4DO7QM2L74rZMPyqlGwRGrcnckq3nb KMKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=6Qmp+RccQaxdzALO6v4g1kv976Ka2lpKYW4G5pC6mxc=; b=i2A/gpDmYrw4n82YcjKoui9HgOVySAEO/qzsra5O0E3NvZ5xvWC3aREkWMSdAwcuRM R1HJRN37b5fWDQRpxp5vlRDzBH6Dt/9k0oSj7VGff0Nm1fxVTbetb/hxif+ic7sTvMhk vUfhHxXWVCwdFGzhy2cCYylpGanj2U5jaGvjh6zdvgoSX3joVOQyDi26DJHXqzkWtWoO HUrTQOZ/rJVLRzXg5JRur0yLIwSKcBCtPqd/a6wJW8pLodcgYVoNs3o8lrdF/hu+7vl/ SJ/rM/1Jscm3vq0vBNuYYKNZIaPxtg+aQtVonx9I36y/fBBwolU3SvDifD0kxsy+jJZQ LKww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H0ZgaAtV; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq14si7238408edb.242.2021.05.14.08.40.16; Fri, 14 May 2021 08:40:39 -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=@linaro.org header.s=google header.b=H0ZgaAtV; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231679AbhENJrG (ORCPT + 99 others); Fri, 14 May 2021 05:47:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231719AbhENJrF (ORCPT ); Fri, 14 May 2021 05:47:05 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57FC7C06175F for ; Fri, 14 May 2021 02:45:54 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id i13so4084397edb.9 for ; Fri, 14 May 2021 02:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6Qmp+RccQaxdzALO6v4g1kv976Ka2lpKYW4G5pC6mxc=; b=H0ZgaAtV/qgmajkYofHy4Jl64BMzxDXTCZOWbrS87/XJHvtmz0x2MTAjX+tj+6V/Sx NGhiHe41B0FafmHCx++/otmptF7/7y7EKBkUh+uvMZDV/FadmJC4WUPCkAGq95b+bWeT 7Q59T8ogJHKodDvTUcjQIailDdXiU119nPj+rNcPmOp4nzd37H+G3h7YaIu6R72X1eMy 2LdwYtLFvaz7kZsKfkkhjugFOA3zZZT9PljBelvV845WQoah3XcMI6XuS1hbL3rn+Eh5 qaVyrbDCCH2+vkIHmdT2sjdA0TjG7aldL3MlThQT5wLFEL3xdkOoDjziBEgwQinbC+2t 1Gfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6Qmp+RccQaxdzALO6v4g1kv976Ka2lpKYW4G5pC6mxc=; b=Z3/RtDgqpV2hUipAQMVQPN1tahiURieJXCYOXTsO27GWEdLnbKIUakwwk2fWaTripO 0dqEvyQJYbWtxggPDyKCJ4smnUo8s85I1MGrBrk7Zf6vZHF/wqFWvWACM9sGNGTD6UvF 2+7unCfcGWjY+KQKjNOVISjHULbMmAswCIpxO97ojp81fpa85e0kzQ2kg/olDNkG4YhS FgDQGlIiJ0MbisRBSeZdY8+aMZpORRYfIkdRrv5AyMFpNSBLCcL/hwF4d3LpPGxuSgB7 /PhoHSw0lZRdeAPocH6OpH2bZB8z849Izf6UCr+2buuEi6znhjKmiv81nYHLBkzygvcv MsCQ== X-Gm-Message-State: AOAM533WzK6jOUBaC/DC5246u61RJwHt4DNoG9zWbgGB8F+AgvE0Ibxp MRXBmNCS+u5bUmuEDRwW0xgkclxpVSDWGPGyFInGOw== X-Received: by 2002:aa7:c349:: with SMTP id j9mr54146167edr.230.1620985552748; Fri, 14 May 2021 02:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20210513044710.MCXhM_NwC%akpm@linux-foundation.org> <151ddd7f-1d3e-a6f7-daab-e32f785426e1@infradead.org> <54055e72-34b8-d43d-2ad3-87e8c8fa547b@csgroup.eu> <20210513134754.ab3f1a864b0156ef99248401@linux-foundation.org> In-Reply-To: From: Naresh Kamboju Date: Fri, 14 May 2021 15:15:41 +0530 Message-ID: Subject: Re: mmotm 2021-05-12-21-46 uploaded (arch/x86/mm/pgtable.c) To: Andrew Morton , Randy Dunlap Cc: Christophe Leroy , Mark Brown , linux-fsdevel@vger.kernel.org, open list , linux-mm , Linux-Next Mailing List , mhocko@suse.cz, mm-commits@vger.kernel.org, Stephen Rothwell , lkft-triage@lists.linaro.org, Linux ARM Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 May 2021 at 02:38, Randy Dunlap wrote: > > On 5/13/21 1:47 PM, Andrew Morton wrote: > > On Thu, 13 May 2021 19:09:23 +0200 Christophe Leroy wrote: > > > >> > >> > >>> on i386: > >>> > >>> ../arch/x86/mm/pgtable.c:703:5: error: redefinition of =E2=80=98pud_s= et_huge=E2=80=99 > >>> int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) > >>> ^~~~~~~~~~~~ > >>> In file included from ../include/linux/mm.h:33:0, > >>> from ../arch/x86/mm/pgtable.c:2: > >>> ../include/linux/pgtable.h:1387:19: note: previous definition of =E2= =80=98pud_set_huge=E2=80=99 was here > >>> static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot= _t prot) > >>> ^~~~~~~~~~~~ > >>> ../arch/x86/mm/pgtable.c:758:5: error: redefinition of =E2=80=98pud_c= lear_huge=E2=80=99 > >>> int pud_clear_huge(pud_t *pud) > >>> ^~~~~~~~~~~~~~ > >>> In file included from ../include/linux/mm.h:33:0, > >>> from ../arch/x86/mm/pgtable.c:2: > >>> ../include/linux/pgtable.h:1391:19: note: previous definition of =E2= =80=98pud_clear_huge=E2=80=99 was here > >>> static inline int pud_clear_huge(pud_t *pud) These errors are noticed on linux next 20210514 tag on arm64. Regressions found on arm64 for the following configs. - build/gcc-9-defconfig-904271f2 - build/gcc-9-tinyconfig - build/gcc-8-allnoconfig - build/gcc-10-allnoconfig - build/clang-11-allnoconfig - build/clang-10-allnoconfig - build/clang-12-tinyconfig - build/gcc-10-tinyconfig - build/clang-10-tinyconfig - build/clang-11-tinyconfig - build/clang-12-allnoconfig - build/gcc-8-tinyconfig - build/gcc-9-allnoconfig make --silent --keep-going --jobs=3D8 O=3D/home/tuxbuild/.cache/tuxmake/builds/current ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- 'CC=3Dsccache aarch64-linux-gnu-gcc' 'HOSTCC=3Dsccache gcc' /builds/linux/arch/arm64/mm/mmu.c:1341:5: error: redefinition of 'pud_set_h= uge' 1341 | int pud_set_huge(pud_t *pudp, phys_addr_t phys, pgprot_t prot) | ^~~~~~~~~~~~ In file included from /builds/linux/include/linux/mm.h:33, from /builds/linux/include/linux/pid_namespace.h:7, from /builds/linux/include/linux/ptrace.h:10, from /builds/linux/include/linux/elfcore.h:11, from /builds/linux/include/linux/crash_core.h:6, from /builds/linux/include/linux/kexec.h:18, from /builds/linux/arch/arm64/mm/mmu.c:15: /builds/linux/include/linux/pgtable.h:1387:19: note: previous definition of 'pud_set_huge' was here 1387 | static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) | ^~~~~~~~~~~~ /builds/linux/arch/arm64/mm/mmu.c:1369:5: error: redefinition of 'pud_clear_huge' 1369 | int pud_clear_huge(pud_t *pudp) | ^~~~~~~~~~~~~~ In file included from /builds/linux/include/linux/mm.h:33, from /builds/linux/include/linux/pid_namespace.h:7, from /builds/linux/include/linux/ptrace.h:10, from /builds/linux/include/linux/elfcore.h:11, from /builds/linux/include/linux/crash_core.h:6, from /builds/linux/include/linux/kexec.h:18, from /builds/linux/arch/arm64/mm/mmu.c:15: /builds/linux/include/linux/pgtable.h:1391:19: note: previous definition of 'pud_clear_huge' was here 1391 | static inline int pud_clear_huge(pud_t *pud) | ^~~~~~~~~~~~~~ make[3]: *** [/builds/linux/scripts/Makefile.build:273: arch/arm64/mm/mmu.o] Error 1 Reported-by: Naresh Kamboju Steps to reproduce: --------------------------- #!/bin/sh # TuxMake is a command line tool and Python library that provides # portable and repeatable Linux kernel builds across a variety of # architectures, toolchains, kernel configurations, and make targets. # # TuxMake supports the concept of runtimes. # See https://docs.tuxmake.org/runtimes/, for that to work it requires # that you install podman or docker on your system. # # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake # # See https://docs.tuxmake.org/ for complete documentation. tuxmake --runtime podman --target-arch arm64 --toolchain gcc-9 --kconfig tinyconfig -- Linaro LKFT https://lkft.linaro.org