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 X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C291FC4363A for ; Tue, 27 Oct 2020 09:59:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3E02021D24 for ; Tue, 27 Oct 2020 09:59:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SvptCW0h" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3E02021D24 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BD3D46B0062; Tue, 27 Oct 2020 05:59:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B85D36B006C; Tue, 27 Oct 2020 05:59:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AC12E6B0070; Tue, 27 Oct 2020 05:59:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0184.hostedemail.com [216.40.44.184]) by kanga.kvack.org (Postfix) with ESMTP id 8213D6B0062 for ; Tue, 27 Oct 2020 05:59:47 -0400 (EDT) Received: from smtpin29.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 1C7B8181AC9B6 for ; Tue, 27 Oct 2020 09:59:47 +0000 (UTC) X-FDA: 77417258814.29.fire05_2e05e982727b Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin29.hostedemail.com (Postfix) with ESMTP id DBB7C180868D5 for ; Tue, 27 Oct 2020 09:59:46 +0000 (UTC) X-HE-Tag: fire05_2e05e982727b X-Filterd-Recvd-Size: 6215 Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by imf40.hostedemail.com (Postfix) with ESMTP for ; Tue, 27 Oct 2020 09:59:46 +0000 (UTC) Received: by mail-il1-f196.google.com with SMTP id c11so927579iln.9 for ; Tue, 27 Oct 2020 02:59:46 -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=usfplqa+qJQAziOe1mo6w6IfKhsrwJJj00MeXYg7IhA=; b=SvptCW0h3KqyWUTvUvXBMtFiEBk6j6OpalEJoZylz2xyXcj5kZmUTFVVLFJfSHJjDF JbIfNqzq2EujC9158/ZYxRmo0aG+Hndm39nz68uAAFn1yEkXBo0G925CUp/NSSUacDN2 utMN1gWJDQwzy99ypoFeRr1l+QpnSLJFzdynRaayIHPcUToy0m6vmIh7sCyF1sBMoTn2 ud5J5CJmUMsvm0RgumUbXEdTg+qxD0XJwVkksBJhLJDQkhpuEt69/+ofHZs4bx5Tro2I WJvD4AGKeU6cpdTCE7uNyN134l6aFL3Ok63AoohakPmseNRCvzqZrSPme5zi2IlGFkqT B2NA== 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=usfplqa+qJQAziOe1mo6w6IfKhsrwJJj00MeXYg7IhA=; b=IdHL28lI+Qji8UsyqcZfsc/vIJRV5VFVbCRLTWMqr0iEleIC3MFC3Q+xAVQbcN+zYR PPGetXk2lkBp69VIumMewjs8blccRZgBfIWhvGU3lw/lbYHk6xVmbAE8e0b33liH9giR b0EJYQAofz4XLWm5m+olygy9zmtOR+L5Etv+Mc/vszlwHnPAs9J+2IuZwB5QIMukw22a QCm+UJp6VVOk0LIIzKmL//GTGZVXmqdVXPg1NRolmGbnaOENPDOfKQcY2S75+83ZVhbT sZCQNwvXxmGxNEgKAgZNtO829luenMMuFOiw+JwXhxevkJlDb7sW0ohyk3wUXW1ARuHE 1iRg== X-Gm-Message-State: AOAM531URYf7PFI4aEEMq5Oplyzj9iC1km1A5aVl0jUiDKGeKgxazF1w 46oH9uAeL7ZWFEtYs18xT4HcRpJKUBHh9nRZwfXg0tojEuUVT7Li X-Google-Smtp-Source: ABdhPJx0OWukHLrAYRuR0iUMopMDG1i2ka1ksbrqEfNxUTFAw6vjeqAtMwNdohBWK2MqZk+rPW64KGdBzSPJIPTEH+U= X-Received: by 2002:a92:d20e:: with SMTP id y14mr418095ily.252.1603792785654; Tue, 27 Oct 2020 02:59:45 -0700 (PDT) MIME-Version: 1.0 References: <20200826145249.745432-1-npiggin@gmail.com> <20200826145249.745432-6-npiggin@gmail.com> <20200826152510.GB24545@gaia> <1598458759.6wa1mql9py.astroid@bobo.none> In-Reply-To: <1598458759.6wa1mql9py.astroid@bobo.none> From: Naresh Kamboju Date: Tue, 27 Oct 2020 15:29:34 +0530 Message-ID: Subject: Re: [PATCH v2 05/23] arm64: use asm-generic/mmu_context.h for no-op implementations To: Nicholas Piggin , Arnd Bergmann , Catalin Marinas Cc: linux-arch@vger.kernel.org, Linux ARM , open list , linux-mm , Will Deacon , lkft-triage@lists.linaro.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: On Wed, 26 Aug 2020 at 21:50, Nicholas Piggin wrote: > > Excerpts from Catalin Marinas's message of August 27, 2020 1:25 am: > > On Thu, Aug 27, 2020 at 12:52:31AM +1000, Nicholas Piggin wrote: > >> Cc: Catalin Marinas > >> Cc: Will Deacon > >> Cc: linux-arm-kernel@lists.infradead.org > >> Signed-off-by: Nicholas Piggin > > > > Acked-by: Catalin Marinas > > > > Thank you, I see I stupidly mis-rebased this patch too :( Sorry > I'll fix that. arm64 build error caused due to this patch on linux next 20201027 tag. make -sk KBUILD_BUILD_USER=3DTuxBuild -C/linux ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- HOSTCC=3Dgcc CC=3D"sccache aarch64-linux-gnu-gcc" O=3Dbuild defconfig # # # set -e cd /linux export ARCH=3Darm64 export HOSTCC=3Dgcc export CC=3Dgcc export CROSS_COMPILE=3Daarch64-linux-gnu- scripts/kconfig/merge_config.sh -O build 'build/.config' 'build/frag.config= ' # # # make -sk KBUILD_BUILD_USER=3DTuxBuild -C/linux -j16 ARCH=3Darm64 CROSS_COMPILE=3Daarch64-linux-gnu- HOSTCC=3Dgcc CC=3D"sccache aarch64-linux-gnu-gcc" O=3Dbuild Image # In file included from ../arch/arm64/include/asm/mmu_context.h:257, from ../arch/arm64/include/asm/efi.h:10, from ../arch/arm64/xen/../../arm/xen/enlighten.c:19: ../include/asm-generic/mmu_context.h:34:19: error: redefinition of =E2=80=98init_new_context=E2=80=99 34 | static inline int init_new_context(struct task_struct *tsk, | ^~~~~~~~~~~~~~~~ In file included from ../arch/arm64/include/asm/efi.h:10, from ../arch/arm64/xen/../../arm/xen/enlighten.c:19: ../arch/arm64/include/asm/mmu_context.h:180:1: note: previous definition of =E2=80=98init_new_context=E2=80=99 was here 180 | init_new_context(struct task_struct *tsk, struct mm_struct *mm) | ^~~~~~~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:283: arch/arm64/xen/../../arm/xen/enlighten.o] Error 1 In file included from ../arch/arm64/include/asm/mmu_context.h:257, from ../include/linux/mmu_context.h:5, from ../kernel/sched/sched.h:54, from ../kernel/sched/core.c:13: ../include/asm-generic/mmu_context.h:34:19: error: redefinition of =E2=80=98init_new_context=E2=80=99 34 | static inline int init_new_context(struct task_struct *tsk, | ^~~~~~~~~~~~~~~~ In file included from ../include/linux/mmu_context.h:5, from ../kernel/sched/sched.h:54, from ../kernel/sched/core.c:13: ../arch/arm64/include/asm/mmu_context.h:180:1: note: previous definition of =E2=80=98init_new_context=E2=80=99 was here 180 | init_new_context(struct task_struct *tsk, struct mm_struct *mm) | ^~~~~~~~~~~~~~~~ make[3]: *** [../scripts/Makefile.build:283: kernel/sched/core.o] Error 1 Reported-by: Naresh Kamboju full build log link, https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/813497297 --=20 Linaro LKFT https://lkft.linaro.org