Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp223067lqh; Wed, 27 Mar 2024 22:51:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVoSsbm3K1OQHFZoYKhpIUQqbqXHUTXwEhFS+q3csd3GedGUq0U4vQHvken8l9qYJORb9vn9dGy/deEU3cnGGn8QYmok91oz7JL5bCqRQ== X-Google-Smtp-Source: AGHT+IH9+nPce/5ZWftuMBubXXkewns1HotytP9/K/Z9K5N9Uo0ZfWDfHDdQqY9x9OZnNULkHe2R X-Received: by 2002:a05:6102:394a:b0:478:42b7:c535 with SMTP id f10-20020a056102394a00b0047842b7c535mr2235604vsu.30.1711605115403; Wed, 27 Mar 2024 22:51:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711605115; cv=pass; d=google.com; s=arc-20160816; b=EyHgyRRz3oeL8Zp2QuXQvbUE5GdMt1KpXEi24bf7vxM8RTqq2bqq5KGhpfyZ0U2UIA yYbha7KCfs0xVjPmTe/+OlH/IHkQb5Oq0DWgGrxx0vh/qremZMVMJzoTg/cQQ1apllEZ WaW5TaxXEEM1cfcZgCOBCoUNHlLlJ5wvXKLy17Fa3HMeIP5YOmSIRU6HAGGKoge9J870 G/eAHVCeiFmTM2gwHjjN0uzHLvTjRb8qi100KKXhWbpskgRqgJPvxF7pUF0pZZTYnTwz NVvARnK5OT0HWn9ZeQm5pa9LDDvW6mESSKB8sLHCCp5Uy/CZq3yBAnOdOLBxz9oR5jgg 3ZRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CpwbhDkhh4edjS76I/b7naAd9r5jxSLehuKpOrhxjrY=; fh=d5o5JfszRggbfsLnQW2eaciWVbMGaaGrQg2PDDYMPK0=; b=J/XI/gSmZvMgnhlnHlVvDTOYENY5wj4K4ZqSKdRFNSYhsjlvjG9W/jjnXxQmg+m21L D1pYMCS0sGa29KgOMgdHZduiIsbp1g3syNhypV4fIQ4/WzdvjcxJPn6ZAxaCBqwwU374 Cy3hmSUcNTjG4mx/gPBy77PTtyB9ow8YJZTTd8com0hqWPSyNhEP8L4F3uYIxJmOfW7x pzRLgpO0ZS9CO7yD+f5C37Kjgp3OMLxdMGeo1nJNh056j+xNukU0RtmY8b6GLT8Ljv7d aP6ut2pyV7RtThjaKE35ikyfQXHfAK/FjbWQF7EO31B6Cy6d1lm37dCYq0Gop/0cxGRP GGbQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tttGRj5y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122439-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id yf10-20020a05620a3bca00b00789ec485b6dsi773695qkn.415.2024.03.27.22.51.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 22:51:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tttGRj5y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-122439-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122439-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1EE141C22424 for ; Thu, 28 Mar 2024 05:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD5E74E1A0; Thu, 28 Mar 2024 05:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tttGRj5y" 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 D0B7148CC6; Thu, 28 Mar 2024 05:51:42 +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=1711605103; cv=none; b=n/qhojtqt9T1tFG2mBCeaorzfYth/UYcI5ya1A5KqtQro6crj1ap/vomDRKKxVCEIXzlhV2PLMK9wZ4CqT7d7/n6HtUqCnFVRKfDbt14n/YMauZD8H6koDzExYbiGqsOkjDVMx0z1Xn3qYwTFl1n/EoeHTCCmUpeX0GxoUKbnlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711605103; c=relaxed/simple; bh=6kv4U+OlSY+qlQflghGbIVo8TBSoBTX2u5cN0RYYRzs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Gs6SOL0529s/ol5mbkqkgdEB5weEkFfmJGoRqKvgZJ6pwKndy7UUl3f9r2HhvqrQAIF04QkWjIR4zOshLzUWtqWY1TmQC02enmEh6GtfFas0z/nzuaGRhitN/knhnHdBkTTWUNdHYF/vd8/KpsHizcx+zLAjpG6nB/y0wcpDmj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tttGRj5y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4998EC43390; Thu, 28 Mar 2024 05:51:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711605102; bh=6kv4U+OlSY+qlQflghGbIVo8TBSoBTX2u5cN0RYYRzs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=tttGRj5ylh9xVO642wPR1F2Asn5IsF3J1IDJ9pqvnIh1qj6XQgGrpl4six+k1HHRf aoU7KuEjvUv5Ii9zuOT+mH6BtpmkaBTz4FcZS6L0LCZTPajk2hXlbfy/k1hVU+NZ28 Wg4db9y1MDaDrXtFBBEgTQekHUKH7dUpja3VbrZJgu7ADxfru+YZW5u7cB9IMMs8zC mrubWP/EDVcMLefx6YTk6HA9erGzEt7LjzHG8vGbMoVsnZ2OEqqw0kIfJszeXgBiPy 1PPy5iqTnZAlh9yVfb4I75n6QCxgZoMfaqW4bU26A3LhUrFRRN7YufRgRneeNEP5Gc 5Xn0oSBC206dA== Message-ID: <3360dba8-0fac-4126-b72b-abc036957d6a@kernel.org> Date: Wed, 27 Mar 2024 22:51:39 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 0/3] mm/gup: consistently call it GUP-fast To: Arnd Bergmann , David Hildenbrand , peterx Cc: linux-kernel@vger.kernel.org, Andrew Morton , Mike Rapoport , 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 , Vineet Gupta , Alexey Brodkin References: <20240327130538.680256-1-david@redhat.com> <3922460a-4d01-4ecb-b8c5-7c57fd46f3fd@redhat.com> Content-Language: en-US From: Vineet Gupta In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +CC Alexey 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. > >> 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 ? Thx, -Vineet