Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1280072ybt; Thu, 9 Jul 2020 03:12:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVJl/x9dU1nOMJcSLjR/LqkW3Ffs8j/6DgARa03R/EkIC9QtYaMiGnlYwIdqVVhUJtV/Qd X-Received: by 2002:a17:907:20af:: with SMTP id pw15mr58077118ejb.204.1594289569098; Thu, 09 Jul 2020 03:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594289569; cv=none; d=google.com; s=arc-20160816; b=C3ENYuICKiacE/mrKvSf1ITJo5VkA8SIod2rAuSd12DhIzfX0ho1sc20nxQGd1cu/b qK4wmjvK/f3hC2FS1nqMUkWnDk0jJ9wuraNlzL0viq97dQzqQSTAmfx0ud1LcWu1UL1G yXi2rjtaF7q0OBnnVIZzYNmQ5t2+0S44au8zzLx6CWXeRP/RLMJ822f6paMdO48gdrgw kxlYNyYziaJih87SFMN6+kYz1Q2kmkFoRC60xnLKAucA4F20DDGen1wpfwclM0C5mMIN n6Zeplfw8FvZ571C44nGd/t9osWphcgDrQshWwhyUDECqfazTtnZ9HAJw05Ioz0b2hD8 7eaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=F5zNt+/8MBcTXKU9z4OwwwuHVh/xb7W+PbDlLB2EagE=; b=Qvtmf2SvIGrlGwgGYfL5Y+I5rgEixuosIatJaRXvFjsy1UwcIlIvrD8kdgjWWTVSGN 9IowWgZog9i1aevD0vsl9mApWg9PVXH417EwUDBiLvRq6OuGcbBQ28W2OArTmEmQA7uz bNpHRuo//rweBJBBfNWBkrozDhCWN7dPLa7KYhqFlrfkpehaxGBXz1tmVKEVhGA8t1nC J1yOfyDknsxil2hlNq669i9paBM/5OzaRbc9NVmDFU718dw+eUXOhQpibO59DVt95U6X E4rYJyY01c6XWM44jsZCcYtbGOvQtFwQ0Uqpov0BpIjK+bs9xsmh1mH9R08xscQJcK3u X5ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iFvTtZ48; 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 d26si1646885edp.518.2020.07.09.03.12.25; Thu, 09 Jul 2020 03:12:49 -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=iFvTtZ48; 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 S1726513AbgGIKMF (ORCPT + 99 others); Thu, 9 Jul 2020 06:12:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726327AbgGIKMC (ORCPT ); Thu, 9 Jul 2020 06:12:02 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC13C061A0B for ; Thu, 9 Jul 2020 03:12:02 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id h19so1703865ljg.13 for ; Thu, 09 Jul 2020 03:12:02 -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=F5zNt+/8MBcTXKU9z4OwwwuHVh/xb7W+PbDlLB2EagE=; b=iFvTtZ48V/yaOIEbYkXdI0HKKlz6RCzGER6BnahE31Yn/db0impJzhrBzVIYRm/3L3 1agPr01Fh1YgtAL4IFgTN7lthuktGbSwocZGrnI9TfHagClLILGiUWb0H4rCXUXQWfOI AzdYq4Uqv/mvGkSa9tRa9ngaGfqR2qTVDZhPuTF1WUQkGDmhr3hXc2IXx+t+IelZPuQF oDPINYknsUZDCcadQjLwV+7Cx8tvgAiWrJhK9utwtzfhbdAkshiW1W4++jQ0lVt9g90l hHdoTdrqK2qGwXtUDGGRVavACPUZAFImlpNq4GGKjJuzd7f0SQx2iyXD4wVV+tQKRFoo 0Ekw== 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=F5zNt+/8MBcTXKU9z4OwwwuHVh/xb7W+PbDlLB2EagE=; b=qg57VhZAc7GWhsdu/Byqh1ZHaHBJkQHBbfyJg6j41zFFZgCWX+S53e4gTFhW001Aac UXrU5erzvjKd84x7ZTPyruKicp9NuG0mF/NvZBh3zp5TnXz8rBmwtQRPnj9pUblVzMJH 7+fh80ptKuY/j0ZShS+dEbqFuxAe7f68KooJ2ndtbSsAB51lX9WV6RGAzu174+cKb8kG EfHKrPCTZI1ooRaG5fZVaooM6FTj4iwcyOAVI4Cs5CSig0R33JP1qlYOYjLMjm9GsOEF NHK2gJutPESWWAW0anRiKt4CfLvX/3MTyuvUTPZ1upqFyNgE7g/G+j9LoJfgx5Ek60FJ qZRg== X-Gm-Message-State: AOAM530aFVhKdwllzdHV+r/jfNlOuv1Yb9W2Kk5edqct78zw58l6EBVs adHAJO5S5ImrKEwN/Lu1F4ZlpAXy9B2L7hbwn2Nt6Q== X-Received: by 2002:a2e:8992:: with SMTP id c18mr28126507lji.388.1594289520704; Thu, 09 Jul 2020 03:12:00 -0700 (PDT) MIME-Version: 1.0 References: <20200709191818.338158f4@canb.auug.org.au> In-Reply-To: <20200709191818.338158f4@canb.auug.org.au> From: Anders Roxell Date: Thu, 9 Jul 2020 12:11:49 +0200 Message-ID: Subject: Re: linux-next: Tree for Jul 9 To: Stephen Rothwell , Catalin Marinas Cc: Linux Next Mailing List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 9 Jul 2020 at 11:18, Stephen Rothwell wrote: > > Hi all, > > Changes since 20200708: > > My fixes tree contains: > > dbf24e30ce2e ("device_cgroup: Fix RCU list debugging warning") > b236d81d9e4f ("powerpc/boot/dts: Fix dtc "pciex" warnings") > > The kbuild tree still had its build failure for which I reverted a commit= . > > The scmi tree gained a build failure so I used the version from > next-20200708; > > The net-next tree gained a conflict against the pci tree. > > The block tree gained conflicts against the btrfs and fscrypt trees. > > The device-mapper tree gained a conflict against the block tree. > > The security tree still had its build failure for which I applied a patch= . > > The tip tree still had one build failure for which I reverted a commit. > > The akpm-current tree gained a conflict against the userns tree and a > build failure for which I reverted 2 commits. > > The akpm tree lost a patch that turned up elsewhere. > > Non-merge commits (relative to Linus' tree): 5915 > 6780 files changed, 362395 insertions(+), 141614 deletions(-) > Today's tag doesn't build on arm64. I think this patch e76b573f11d1 ("arm64: mte: Add PTRACE_{PEEK,POKE}MTETAGS support") broke the build due to this patch was included also dc766e66c2b3 ("mm/gup: remove task_struct pointer for all gup code")... /srv/src/kernel/next/arch/arm64/kernel/mte.c: In function =E2=80=98__access_remote_tags=E2=80=99: /srv/src/kernel/next/arch/arm64/kernel/mte.c:224:31: error: passing argument 1 of =E2=80=98get_user_pages_remote=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] 224 | ret =3D get_user_pages_remote(tsk, mm, addr, 1, gup_flags, | ^~~ | | | struct task_struct * In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1707:46: note: expected =E2=80=98struct mm_struct *=E2=80=99 but argument is of type =E2=80=98struc= t task_struct *=E2=80=99 1707 | long get_user_pages_remote(struct mm_struct *mm, | ~~~~~~~~~~~~~~~~~~^~ /srv/src/kernel/next/arch/arm64/kernel/mte.c:224:36: warning: passing argument 2 of =E2=80=98get_user_pages_remote=E2=80=99 makes integer from po= inter without a cast [-Wint-conversion] 224 | ret =3D get_user_pages_remote(tsk, mm, addr, 1, gup_flags, | ^~ | | | struct mm_struct * In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1708:22: note: expected =E2=80=98lo= ng unsigned int=E2=80=99 but argument is of type =E2=80=98struct mm_struct *= =E2=80=99 1708 | unsigned long start, unsigned long nr_pages, | ~~~~~~~~~~~~~~^~~~~ /srv/src/kernel/next/arch/arm64/kernel/mte.c:224:49: warning: passing argument 5 of =E2=80=98get_user_pages_remote=E2=80=99 makes pointer from in= teger without a cast [-Wint-conversion] 224 | ret =3D get_user_pages_remote(tsk, mm, addr, 1, gup_flags, | ^~~~~~~~~ | | | unsigned int In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1709:46: note: expected =E2=80=98struct page **=E2=80=99 but argument is of type =E2=80=98unsigned = int=E2=80=99 1709 | unsigned int gup_flags, struct page **pages, | ~~~~~~~~~~~~~~^~~~~ /srv/src/kernel/next/arch/arm64/kernel/mte.c:225:10: error: passing argument 6 of =E2=80=98get_user_pages_remote=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] 225 | &page, &vma, NULL); | ^~~~~ | | | struct page ** In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1710:32: note: expected =E2=80=98struct vm_area_struct **=E2=80=99 but argument is of type =E2=80= =98struct page **=E2=80=99 1710 | struct vm_area_struct **vmas, int *locked); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /srv/src/kernel/next/arch/arm64/kernel/mte.c:225:17: error: passing argument 7 of =E2=80=98get_user_pages_remote=E2=80=99 from incompatible poi= nter type [-Werror=3Dincompatible-pointer-types] 225 | &page, &vma, NULL); | ^~~~ | | | struct vm_area_struct ** In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1710:43: note: expected =E2=80=98in= t *=E2=80=99 but argument is of type =E2=80=98struct vm_area_struct **=E2=80= =99 1710 | struct vm_area_struct **vmas, int *locked); | ~~~~~^~~~~~ /srv/src/kernel/next/arch/arm64/kernel/mte.c:224:9: error: too many arguments to function =E2=80=98get_user_pages_remote=E2=80=99 224 | ret =3D get_user_pages_remote(tsk, mm, addr, 1, gup_flags, | ^~~~~~~~~~~~~~~~~~~~~ In file included from /srv/src/kernel/next/arch/arm64/kernel/mte.c:8: /srv/src/kernel/next/include/linux/mm.h:1707:6: note: declared here 1707 | long get_user_pages_remote(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [/srv/src/kernel/next/scripts/Makefile.build:280: arch/arm64/kernel/mte.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [/srv/src/kernel/next/scripts/Makefile.build:497: arch/arm64/kernel] Error 2 make[2]: Target '__build' not remade because of errors. make[1]: *** [/srv/src/kernel/next/Makefile:1764: arch/arm64] Error 2 This change made it build again: diff --git a/arch/arm64/kernel/mte.c b/arch/arm64/kernel/mte.c index 934639ab225d..11e558b02a05 100644 --- a/arch/arm64/kernel/mte.c +++ b/arch/arm64/kernel/mte.c @@ -221,7 +221,7 @@ static int __access_remote_tags(struct task_struct *tsk, struct mm_struct *mm, void *maddr; struct page *page =3D NULL; - ret =3D get_user_pages_remote(tsk, mm, addr, 1, gup_flags, + ret =3D get_user_pages_remote(mm, addr, 1, gup_flags, &page, &vma, NULL); if (ret <=3D 0) break; Cheers, Anders