Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp120250pxx; Tue, 27 Oct 2020 23:34:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcxOCctexIrGgcGzkfxnIpF1LG2jUcS+EzNFN8Uyb6PImob/VuDh/UwAZXF8B4ybduPJeF X-Received: by 2002:a17:906:6409:: with SMTP id d9mr6085473ejm.344.1603866875237; Tue, 27 Oct 2020 23:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603866875; cv=none; d=google.com; s=arc-20160816; b=MJ9CCj8LG3cVv0/GFYlrSrgk3JoDYcdSNqA0iSKFzrigxRWlYgAevlvCUNoLdoL3/B Zq3G1Okp2f640LI+h49jRF9/BEOt5uUOuoP/idmn+eXbNsyUhwE2IkL/7MEKXPRVJjDJ np0R9V8+h3xHEZVcoNsktSJdEiOeUEP93JQKPzREXLYauqimJbQoL9UCSrjMHEfjcgkO s4LS23N/iuADho+Kn3gYh0J2feglJ2gJ1QYd984RHI9iI2sjchU13nGnQPKPZ/V0buOc FV134vcsyqktHxiUTUuKf/8nn7uBIzUmJJWzFxJZhuLpH3tbVKvWgHU7mpFWv8PM8ofl rhpQ== 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=usfplqa+qJQAziOe1mo6w6IfKhsrwJJj00MeXYg7IhA=; b=Vd3oKdYEhmbZIDtonSKYlGfrwdbHCMu4VlOVamQjiznMp4pQKjVKPHOzF6zzq/245+ EkciuUz2k3oG9AJEjq9IPd7CHfYxvBpz1CWCcmLLMXTYdp7ZOB2Fy3tO72p0Uu//pJg9 1OfZCYU/uISfCvKYJtwL9Gp80dI/pAbjaKIgYNBLAY1acNtA4wqfTlRaPWv0wVF1ebo7 rhDO60FzoiatVBvA3LR1RZGBPMCHn2j/4U8O75PYCcspZBXF/QRXccvlZN5NErGNA7La ucDB5/hTgvzJjuJqdMxT4L/FJtdJqRo4BgH6H2OBdRCLwha6FS9TvjvQdiiF0G9x3VH6 qQTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SvptCW0h; 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 y20si2582811edv.92.2020.10.27.23.34.13; Tue, 27 Oct 2020 23:34:35 -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=SvptCW0h; 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 S2896679AbgJ0KAf (ORCPT + 99 others); Tue, 27 Oct 2020 06:00:35 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:34025 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896656AbgJ0J7r (ORCPT ); Tue, 27 Oct 2020 05:59:47 -0400 Received: by mail-il1-f196.google.com with SMTP id v18so962034ilg.1 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=FKrDzAmtbUm8lhqX+P7Z0d8bMVRvE81x8lmjZgaWp+f6Npb1w7gQZ/WWOiqxF/+AIZ GdUjXrygAXcJCvRsy0pAPyk8jPI72FRrA8ACLRDFzedJFEI8AONTGhZeh5Eh9f24/sJ2 ZwVGbDSeVOOjiHf1ICnyIKGyGSuAnCRjsiwr+VRClDjq+uTE/O0g7ydb6RXvFCK/P1ui 2clj0vChcqVvbcUsdNIEO6L9YxIPr1bLPyEepAhshh6X2ug6rovM28STkSUedmEfXDFy 75xHLr4/RnQM1WhNFGbFGIKjoHMHI+29cltTkMI9ugWIRgOi3VGRntW7ePHOrynDpV6X EzyQ== X-Gm-Message-State: AOAM532jXSsq2zyScQT5kWWAM+n4samsaCWN9wCIDdzrzhEgvzfeSftg LqkbjZ/UTZLpbiwfnM60CJFZySVeiAtuAUDdtKFlfw== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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