Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp252045lqh; Thu, 28 Mar 2024 00:16:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXCOR0PzVMVxLNTIogsPBhcGwjkPxJsVj1ltf+Q1dj+DEncaiXX02MpEa6f7dNONEkge+LE3de+lDavncSookfMwZLzb3Mk4hGheUijBA== X-Google-Smtp-Source: AGHT+IEmWuFmkhycZsGkKSYFdAFC5lIRPjxhAxNrWuKxdXnJBJ9z8xl+4+mWp3HRGGzYIrz4QUKf X-Received: by 2002:a05:6a00:2353:b0:6ea:b818:f499 with SMTP id j19-20020a056a00235300b006eab818f499mr2369597pfj.19.1711610180658; Thu, 28 Mar 2024 00:16:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711610180; cv=pass; d=google.com; s=arc-20160816; b=ffdzbBsKDCCD4/Nwhp3MPOJoc/wt34hrynnTrGsXQ+R+pAgyy6D/3s9L6VB3SV1Xi+ WnAdjGV7Dk65IfxKFcOx6LnWjIACD3N0t/9E6f+/1gTCIc/YFP20qDKcdkID5gzE00BD iPKUF9kbkJ8DSYtdmdKH5uNR9WLgxT+ZmfH2GWuHpZoUALW2863fgifP4NYkhPsg2P5b yjPdD84HClY+nZalXvOeFnJ7vVo59kxuhKMXbH+xwSkB93q1ATe0idmw4OO2J92mBJQ7 4aVggnq7+AW1amDW/huq3KyPNgZS8Zxok7TbGTNhvpEKM1qBc0m0UZrvVNtyq11Zx581 wNKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yu5IdRwuipFRBL5S54W4/9KxNeo1TN0epoM2FAtBwqc=; fh=q5FM9Vtp2qjSHN9ovI4+1dAbAFg0K84agYVmV6fmCZk=; b=vBega8uWbWzU4uIBIcvVSi/YdLcM+hsXKDCJ0+0z6sXRDybcjxh1nLDb7gwWs76+oq grDthMdhoyxZa/NB36cPgRFa2B5jj1aKKzQlMZ0lWxDApPJaL6E2vao/ie4AOstsWCtB INE48LI/ij9bYR8Ylx9LygJQdN7BIwdOdRg0w0KTxQDGP9QrSPFAfuAxXg+4tmE+zjkm sONbK35zQCIdt+PrB4Sf7zYg+WFhdiurarw4wUXbhKOjdCQ88D2XrhqbkEOpbjX5/ftL uL/ne2c82CK5/4M3tOdu1CjNMVW7CUffPYcHeqr8+3F8b7odEPaLX5C9P4dvDEQtlzhJ A44A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NAmN/m71"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fa11-20020a056a002d0b00b006eabaf68ae3si985460pfb.170.2024.03.28.00.16.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 00:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="NAmN/m71"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122490-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122490-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 45F4E294347 for ; Thu, 28 Mar 2024 07:16:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1F99D51C55; Thu, 28 Mar 2024 07:16:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NAmN/m71" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BD9822EED; Thu, 28 Mar 2024 07:16:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711610169; cv=none; b=BXE428iIXpSTk2JsvdtKCyNXB91bsmr+ucHMqRQ1HUyMAgAP3XbDFQNaK1ux03u4L6O4erMYuuMrWSSKamxrLf7f5cLOkJioQQl61hkczlsY7zwCks8pqsn2Hw/cqbiHYim/ZiykTLtVUlaAYhncnTWmy9lejcrefYA8YfRlA7I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711610169; c=relaxed/simple; bh=r1JsHv6zvguqW90jyEY0U/U4DMDGMKwYQjCJCqIjmk0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=P7OQ/qSronR2jM6NmP59ZEgEk57TYrWQmo8NeUC1Og0SVylxp8nxV5+KvcbZiFchW7hYj+2kq7ki6/i7QIBZYfEBtHmFzoa+IAdGE+66XtlcBhJ8sLbXrwMCpoLkwMz+GYzNmrAl4OzstnbCLzOLof8ZZmdxNpm5yxqp5yqrd84= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NAmN/m71; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 13A23C433F1; Thu, 28 Mar 2024 07:16:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711610168; bh=r1JsHv6zvguqW90jyEY0U/U4DMDGMKwYQjCJCqIjmk0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NAmN/m71xn3ib012g07l8sC+gyJIzFt9fFK3jdDigIHga4g8Fy0g4u0A9zMTn2G8y Hz/ArW+aqXuqTPb2fPpftu20+1RkDRzP/XFJQhHXJMj8KYnoe5TCRWhoGwSsNg3v4T H3jfZDkvrEoo5QMLri7RoQDmFW3FyBYt4qgxPfkHDpAB+8Ajo8fibnxufZyqfjrguR dBNlncXj4g94p9pzTUeGHFe+ZO+Z9/1/QE5YeVvQ97AoXIN+LsdR2yhA69cvKvdLXt K7hfz3k4p687HCWjsBvcGXgtiDBmENV6h+EZI1V7LNtQhQ+nyZGFPEfci2N6376cIj b9N3P6mb8dHLA== Date: Thu, 28 Mar 2024 09:15:20 +0200 From: Mike Rapoport To: Arnd Bergmann Cc: Vineet Gupta , David Hildenbrand , peterx , linux-kernel@vger.kernel.org, Andrew Morton , Jason Gunthorpe , John Hubbard , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-mm@kvack.org, linux-perf-users@vger.kernel.org, linux-fsdevel@vger.kernel.org, x86@kernel.org, Ryan Roberts , Alexander Viro , Matt Turner , Alexey Brodkin Subject: Re: [PATCH RFC 0/3] mm/gup: consistently call it GUP-fast Message-ID: References: <20240327130538.680256-1-david@redhat.com> <3922460a-4d01-4ecb-b8c5-7c57fd46f3fd@redhat.com> <3360dba8-0fac-4126-b72b-abc036957d6a@kernel.org> <10da3ced-9a79-4ebb-a77d-1aa49cc61952@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <10da3ced-9a79-4ebb-a77d-1aa49cc61952@app.fastmail.com> On Thu, Mar 28, 2024 at 07:09:13AM +0100, Arnd Bergmann wrote: > On Thu, Mar 28, 2024, at 06:51, Vineet Gupta wrote: > > On 3/27/24 09:22, Arnd Bergmann wrote: > >> On Wed, Mar 27, 2024, at 16:39, David Hildenbrand wrote: > >>> On 27.03.24 16:21, Peter Xu wrote: > >>>> On Wed, Mar 27, 2024 at 02:05:35PM +0100, David Hildenbrand wrote: > >>>> > >>>> I'm not sure what config you tried there; as I am doing some build tests > >>>> recently, I found turning off CONFIG_SAMPLES + CONFIG_GCC_PLUGINS could > >>>> avoid a lot of issues, I think it's due to libc missing. But maybe not the > >>>> case there. > >>> CCin Arnd; I use some of his compiler chains, others from Fedora directly. For > >>> example for alpha and arc, the Fedora gcc is "13.2.1". > >>> But there is other stuff like (arc): > >>> > >>> ./arch/arc/include/asm/mmu-arcv2.h: In function 'mmu_setup_asid': > >>> ./arch/arc/include/asm/mmu-arcv2.h:82:9: error: implicit declaration of > >>> function 'write_aux_reg' [-Werro > >>> r=implicit-function-declaration] > >>> 82 | write_aux_reg(ARC_REG_PID, asid | MMU_ENABLE); > >>> | ^~~~~~~~~~~~~ > >> Seems to be missing an #include of soc/arc/aux.h, but I can't > >> tell when this first broke without bisecting. > > > > Weird I don't see this one but I only have gcc 12 handy ATM. > > > > ??? gcc version 12.2.1 20230306 (ARC HS GNU/Linux glibc toolchain - > > build 1360) > > > > I even tried W=1 (which according to scripts/Makefile.extrawarn) should > > include -Werror=implicit-function-declaration but don't see this still. > > > > Tomorrow I'll try building a gcc 13.2.1 for ARC. > > David reported them with the toolchains I built at > https://mirrors.edge.kernel.org/pub/tools/crosstool/ > I'm fairly sure the problem is specific to the .config > and tree, not the toolchain though. This happens with defconfig and both gcc 12.2.0 and gcc 13.2.0 from your crosstools. I also see these on the current Linus' tree: arc/kernel/ptrace.c:342:16: warning: no previous prototype for 'syscall_trace_enter' [-Wmissing-prototypes] arch/arc/kernel/kprobes.c:193:15: warning: no previous prototype for 'arc_kprobe_handler' [-Wmissing-prototypes] This fixed the warning about write_aux_reg for me, probably Vineet would want this include somewhere else... diff --git a/arch/arc/include/asm/mmu-arcv2.h b/arch/arc/include/asm/mmu-arcv2.h index ed9036d4ede3..0fca342d7b79 100644 --- a/arch/arc/include/asm/mmu-arcv2.h +++ b/arch/arc/include/asm/mmu-arcv2.h @@ -69,6 +69,8 @@ #ifndef __ASSEMBLY__ +#include + struct mm_struct; extern int pae40_exist_but_not_enab(void); > >>> or (alpha) > >>> > >>> WARNING: modpost: "saved_config" [vmlinux] is COMMON symbol > >>> ERROR: modpost: "memcpy" [fs/reiserfs/reiserfs.ko] undefined! > >>> ERROR: modpost: "memcpy" [fs/nfs/nfs.ko] undefined! > >>> ERROR: modpost: "memcpy" [fs/nfs/nfsv3.ko] undefined! > >>> ERROR: modpost: "memcpy" [fs/nfsd/nfsd.ko] undefined! > >>> ERROR: modpost: "memcpy" [fs/lockd/lockd.ko] undefined! > >>> ERROR: modpost: "memcpy" [crypto/crypto.ko] undefined! > >>> ERROR: modpost: "memcpy" [crypto/crypto_algapi.ko] undefined! > >>> ERROR: modpost: "memcpy" [crypto/aead.ko] undefined! > >>> ERROR: modpost: "memcpy" [crypto/crypto_skcipher.ko] undefined! > >>> ERROR: modpost: "memcpy" [crypto/seqiv.ko] undefined! > > > > Are these from ARC build or otherwise ? > > This was arch/alpha. > > Arnd -- Sincerely yours, Mike.