From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B10BDC54E64 for ; Thu, 28 Mar 2024 05:51:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3C8ED6B009C; Thu, 28 Mar 2024 01:51:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 351956B009D; Thu, 28 Mar 2024 01:51:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 17D496B009E; Thu, 28 Mar 2024 01:51:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id E70E56B009C for ; Thu, 28 Mar 2024 01:51:45 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id A1DC480550 for ; Thu, 28 Mar 2024 05:51:45 +0000 (UTC) X-FDA: 81945376170.01.5DFE136 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf14.hostedemail.com (Postfix) with ESMTP id D85B2100007 for ; Thu, 28 Mar 2024 05:51:43 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=tttGRj5y; spf=pass (imf14.hostedemail.com: domain of vgupta@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=vgupta@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711605104; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=CpwbhDkhh4edjS76I/b7naAd9r5jxSLehuKpOrhxjrY=; b=03WEAvxk1ytS3Zkr8fO9ufTQzCy7EdkFDV/diexDuu3RaUUUKpui1kqHKPkakdKh13JSYd 0txXJA7xzzbpJaC9aOfwvwEi38nTK9GTkWhtNscH/XnyTx2MDM6fUKbfEtFYNjDQL7fMFt Loe9ZEC64647GRb/T5u3GFYwo7Y5URM= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711605104; a=rsa-sha256; cv=none; b=g7tyDYoSLEiqviDwPrwYkpE7ih5ThQEwgnT1dD9m5FKBwjJHtrBe+uDXmaI0fUl8RYo39j v7WM6I1Ah22SI0weBBot9vXLtpCgRDHL8l0AYHe0b5/r4LlsaHGDiZjf42PDE4I6S+/1zF gVG55hMRJ+69kUng7L3YVjGKXywcJZc= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=tttGRj5y; spf=pass (imf14.hostedemail.com: domain of vgupta@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=vgupta@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C5D0460DCD; Thu, 28 Mar 2024 05:51:42 +0000 (UTC) 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 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 X-Rspamd-Queue-Id: D85B2100007 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: ofatc987ssperioc19gbtno4t95z4w5m X-HE-Tag: 1711605103-662251 X-HE-Meta: U2FsdGVkX1/h5ttrb/JCs6PSEQqG8qlhgiOsYMrjkjt69T5Jt7qDy22o72WoYwFEsXkYPkP5D9/aYp9/8BYd2+iO8DJ/quvmFlRML63KiJek4ZgdEEoEwNlTpuBFAIHgHp9n74kYW6nWdWYq2h1JmdF0drD4o/n9i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jswrcu4UrxrHuLwclwaa1lxI47L7PxwavxvCbBz5c= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: +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