Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4121265pxu; Mon, 12 Oct 2020 10:00:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUPWSDEZl0Yk5dBjH8Y5j/YCz3L2/jG6R09mo1yR+Z+4vTBPlZ5xTowlTj1ZCzZXDdUhXq X-Received: by 2002:a17:906:1f08:: with SMTP id w8mr28430927ejj.181.1602522044434; Mon, 12 Oct 2020 10:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602522044; cv=none; d=google.com; s=arc-20160816; b=WqNeZY1yqwQUHUKlrF7LRYqFABoqwf0/Ik+xmLBDpmrOhUI4Cn7KPKfDyOcoSegiPP R6wMuR8joKe1xGDjA71HaONQQQ48vkIgj6XfI8RAVihefYVUtBgvafG6Z2D9ryJgLV+U RJ7Fii+Oic9XCweOjP+6edHtUhbdGnQvMqqEOfopNnXr7sNMoDoTXGK94jYtl7x59KzX V5FBw0Z6UeDgbbO06y0g9i1Ijkrm+ksIrUoOPhYCAIaDC2Bok9a4S12QEpen+8zBHpOY qpuVtiFmq8aXeDbM/cv3qxPqfSf0M7JNVRWLxT28RxOyHY2OWssSYiwxZeWyydJrlI+2 LHAA== 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=uGtCXDE+yC85EATgAOWUy4OTm5QzADu4nBEjXio7les=; b=FOMIPqsPo7rLPaCRy+gPatqcHJ45WmnwT0PF7Aeej1KhFHymfPRgvXkI5/8uptxqix o0/7r/bMFusnN7hJRB7Wk0iPgtKN5NOZiUYasIyn3UuofLKc4i3tqW17NlO/w3XjpsH6 YrzVm1s/1lx20zk4dXfYLq6yO8pNPj+tK3LX77tWIjom2iYUUd9wtU5d7oevptIZbRUB ppdMiXLNG6j5W7+11ZCuyXmdaltQeld+IaHM4+89tB5KFPFSweQM6mooC1lOazNVDWWj FJud/sCgc3n+308D2oGgrmWHxcKabEKGEeTE4BKCvzBgP14WcdMknSZ441YI9bIq3bqD xnkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sxb8k/hw"; 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 f5si12755051edq.501.2020.10.12.10.00.18; Mon, 12 Oct 2020 10:00:44 -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="sxb8k/hw"; 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 S2390741AbgJLQ4L (ORCPT + 99 others); Mon, 12 Oct 2020 12:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390534AbgJLQ4L (ORCPT ); Mon, 12 Oct 2020 12:56:11 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59A72C0613D1 for ; Mon, 12 Oct 2020 09:56:11 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id n6so18338256ioc.12 for ; Mon, 12 Oct 2020 09:56:11 -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=uGtCXDE+yC85EATgAOWUy4OTm5QzADu4nBEjXio7les=; b=sxb8k/hwI80eNFQLW8lSIbzTmeApaNpfv6ABK6bk3K/LiMAEfK9TvfMXucceZ/iZbE v2m0frgqW08gpea1+w4hvt4IXC6RJklW+UikIz2ciDsmSedBAykU9y0aTnLE5efQSqjq GPQFww8YoMOV7vS+ODWAh1hWTmHiQYIS0/nCJYoXrdL4Arz/i6rADS50od0KSsxuSUHg CYzzh3z6i9KAlkLMklJQ6KaqZO3GPl0lYNmyzimbaDTYAW4hiSogWx3Cq08hZi5sTlul qq3dc/NCGjPox7yiYHs8Cj03B5GZpOq11yUk0X5bJEkFKAIhUwDstOXsSmYByCBI9JaP Zq8g== 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=uGtCXDE+yC85EATgAOWUy4OTm5QzADu4nBEjXio7les=; b=IrXvwxV6VixiEZm1nG8MVKRLMl7vAenb/cm+VraOs+rYbNrgq8lO+zd5jbjuSbyFwN /db/Vo9EC75PFTlQAX+NV6HBiIqN2o/ThEqcjk6aIz8YBPzuvqQ9a4EYAlQJ+NTM2kTn fplN6elxgsY/neCUS2IPVOMVNJcPxoKyCuF2PJ2DIuWb5zncWr9P1EIswpDKDQtzgq3n CM3+P7kJrvdqtPJTe+2/9Unin8o/r8LWvZ38qUE5EqUJ/di4RBFUYTHUHYlYlp19Xna/ T0iBKVdazb2Ye2/ZapEHdUVlgW7e44I6A3d1mB6y9BJ5SmixYxOjI43hkAwD7Wo8rD9E jupw== X-Gm-Message-State: AOAM530CoWiVtXlsiwwLqYTMaj+NKvjdU19k3R9ev2A6I9ygc2/tSzpl EqFj0kGQ2NJ8wE/D72ic72PfXPgPm1/mrQu08bEz+g== X-Received: by 2002:a02:7817:: with SMTP id p23mr19909334jac.57.1602521770491; Mon, 12 Oct 2020 09:56:10 -0700 (PDT) MIME-Version: 1.0 References: <20201012095158.779c6d9d@canb.auug.org.au> In-Reply-To: From: Naresh Kamboju Date: Mon, 12 Oct 2020 22:25:59 +0530 Message-ID: Subject: Re: linux-next: manual merge of the arm64 tree with the asm-generic tree To: Arnd Bergmann , Stephen Rothwell Cc: Catalin Marinas , Will Deacon , Jean-Philippe Brucker , Linux Kernel Mailing List , Linux Next Mailing List , Nicholas Piggin , Qian Cai , 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 Mon, 12 Oct 2020 at 13:33, Arnd Bergmann wrote: > > On Mon, Oct 12, 2020 at 12:52 AM Stephen Rothwell = wrote: > > > > Hi all, > > > > Today's linux-next merge of the arm64 tree got a conflict in: > > > > arch/arm64/include/asm/mmu_context.h > > > > between commit: > > > > f911c2a7c096 ("arm64: use asm-generic/mmu_context.h for no-op impleme= ntations") > > > > from the asm-generic tree and commit: > > > > 48118151d8cc ("arm64: mm: Pin down ASIDs for sharing mm with devices"= ) > > > > from the arm64 tree. > > > > I fixed it up (see below) and can carry the fix as necessary. This > > is now fixed as far as linux-next is concerned, but any non trivial > > conflicts should be mentioned to your upstream maintainer when your tre= e > > is submitted for merging. You may also want to consider cooperating > > with the maintainer of the conflicting tree to minimise any particularl= y > > complex conflicts. > > > > Sorry about that, I had pushed my asm-generic branch to the correct > location on Friday after I noticed it was missing. Removed it again now > until the end up the merge window. arm64 build failed on today's tag 20201012. 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) | ^~~~~~~~~~~~~~~~ Reported-by: Naresh Kamboju ref: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/785569731 > > Arnd - Naresh