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 D2BC0C54E64 for ; Thu, 28 Mar 2024 09:50:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 364126B0082; Thu, 28 Mar 2024 05:50:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 313EF6B0085; Thu, 28 Mar 2024 05:50:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B4E96B0087; Thu, 28 Mar 2024 05:50:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id E9EE56B0082 for ; Thu, 28 Mar 2024 05:50:54 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 88693160C27 for ; Thu, 28 Mar 2024 09:50:54 +0000 (UTC) X-FDA: 81945978828.16.F68BF83 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf17.hostedemail.com (Postfix) with ESMTP id 319414000D for ; Thu, 28 Mar 2024 09:50:52 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=gaG87Zjb; spf=pass (imf17.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711619452; 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=nxtLpj+iBP9Xt1HHnMn0rZUp2jdjxbDETMue+PmYl4I=; b=sWrtJdnZa3neagzTYbUi8D6kjnCWqPYi9YBgCUC06dzLlPZTSgFyKz0kj0lmS7BDbmkluQ IIAX/CZgbmLTtYm3Gy1MLSk1LegMTypPmr2AybiMJo6x4xcMkcCwIbk/WqJ4JKCo10oNnu t7g0oDNDI3e+1FRyYQCxS6msuvJfAFg= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711619452; a=rsa-sha256; cv=none; b=qn9eg3+anAvQR0VQGvgeMdWKC4tzs7fHJuRXVgAXTzvginWW7Ktc0I8VkLlrbNUarPsH0e SWFDsOMPFy6+rTBX/j/w0WzU+EP7P5qVsHbHL6lVneCw4oJ/Z3JXw+ByOCMjsG+j0jKC/p rUzlAP6ux30HZx0a3MwXkhLwasTS904= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=gaG87Zjb; spf=pass (imf17.hostedemail.com: domain of david@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711619451; h=from:from: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:autocrypt:autocrypt; bh=nxtLpj+iBP9Xt1HHnMn0rZUp2jdjxbDETMue+PmYl4I=; b=gaG87ZjbJYEh0oUWPcrQazspcy36CC18YNFLaY8PMnZGHT4ZrJF1/Hush6CvfL2Pbj5IUL Pn4M1KUBOuKuS0/ZoTMYJjw0JSSeBNcf36HCsLnj4qt0J59Z4hCnnDQZa5h5buTy36Oy4k O3rS/xa0IQTTBkx/TxwfKXSpum1ceTI= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-478-QTRh9ICtP-SxEJLoqOnqLA-1; Thu, 28 Mar 2024 05:50:48 -0400 X-MC-Unique: QTRh9ICtP-SxEJLoqOnqLA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-33ed22e92c2so448092f8f.0 for ; Thu, 28 Mar 2024 02:50:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711619447; x=1712224247; h=content-transfer-encoding:in-reply-to:organization:autocrypt:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=nxtLpj+iBP9Xt1HHnMn0rZUp2jdjxbDETMue+PmYl4I=; b=i6kRBfMrB+1yPbybSKaWi9ksD6c6YT/PpJG4tCONW6L+wRIgYuyN1RhLQWKqjr4d+a 0d0pNcdVzFVsNajlJx55h+a5yQCtA6IjdEm3BFkRPkj3jUUNPWxs74mO9z4XUaJ9fmCl zctMt9q+mILnhZuxqpTcsf3OdMK3pZEC3rArmQ1qynpp12AYEbQ7JF4qYCcESdpwUoIa RVGS3QkqZggp4YCV8iYmOqy698lMgcllH7UWGTsUVNI9BYxNzmkCZ9wfPYWqVSLRvg72 DCuejZqmllsfcVVZV7gSvJgWOyuuE6VKzkPNwy+Ab5jcBznrFAXQgCYGrKCxicB33tKa efbQ== X-Forwarded-Encrypted: i=1; AJvYcCUkFdgjd2EyDhOmYcaeaDXxH+tVBScVrfjcf7BqLM5dPHSJwQ/DbSN28XfDqZEF6Gj4RYFT8jxwcXITgWFxlWnHZ40= X-Gm-Message-State: AOJu0Yx945rcXPNi+ISl7i/yfBNxavMZ3jIdcmZp2vVp6wa3r+I8W61t qW8TOFZIjPaxRfIUHu8s7dSgdVlbCybxcgGpDARAHAj/BGaImI+oKHbBQTot9Dokr+0XpwkaTIU YCmU8p8Wa96haXu1sGpfyYNzJDuPUPZOqEi3J/JRYLyfoQsY7 X-Received: by 2002:a5d:6b87:0:b0:33e:7402:f4d3 with SMTP id n7-20020a5d6b87000000b0033e7402f4d3mr1830862wrx.33.1711619447544; Thu, 28 Mar 2024 02:50:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEyrKrZ3N50ui+bWTg50EQbEelvWiqsIQ+BxNpbWjJq6gih2eNzSfvyD9RigouCStOuyiIO3g== X-Received: by 2002:a5d:6b87:0:b0:33e:7402:f4d3 with SMTP id n7-20020a5d6b87000000b0033e7402f4d3mr1830833wrx.33.1711619447065; Thu, 28 Mar 2024 02:50:47 -0700 (PDT) Received: from ?IPV6:2003:cb:c714:3600:8033:4189:6bd4:ea29? (p200300cbc7143600803341896bd4ea29.dip0.t-ipconnect.de. [2003:cb:c714:3600:8033:4189:6bd4:ea29]) by smtp.gmail.com with ESMTPSA id l3-20020a5d5603000000b0033e03d37685sm1281329wrv.55.2024.03.28.02.50.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 02:50:46 -0700 (PDT) Message-ID: <0e1dccfe-c181-444b-b124-05bec5cfd055@redhat.com> Date: Thu, 28 Mar 2024 10:50:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 0/3] mm/gup: consistently call it GUP-fast To: Mike Rapoport , Arnd Bergmann Cc: Vineet Gupta , 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 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> From: David Hildenbrand Autocrypt: addr=david@redhat.com; keydata= xsFNBFXLn5EBEAC+zYvAFJxCBY9Tr1xZgcESmxVNI/0ffzE/ZQOiHJl6mGkmA1R7/uUpiCjJ dBrn+lhhOYjjNefFQou6478faXE6o2AhmebqT4KiQoUQFV4R7y1KMEKoSyy8hQaK1umALTdL QZLQMzNE74ap+GDK0wnacPQFpcG1AE9RMq3aeErY5tujekBS32jfC/7AnH7I0v1v1TbbK3Gp XNeiN4QroO+5qaSr0ID2sz5jtBLRb15RMre27E1ImpaIv2Jw8NJgW0k/D1RyKCwaTsgRdwuK Kx/Y91XuSBdz0uOyU/S8kM1+ag0wvsGlpBVxRR/xw/E8M7TEwuCZQArqqTCmkG6HGcXFT0V9 PXFNNgV5jXMQRwU0O/ztJIQqsE5LsUomE//bLwzj9IVsaQpKDqW6TAPjcdBDPLHvriq7kGjt WhVhdl0qEYB8lkBEU7V2Yb+SYhmhpDrti9Fq1EsmhiHSkxJcGREoMK/63r9WLZYI3+4W2rAc UucZa4OT27U5ZISjNg3Ev0rxU5UH2/pT4wJCfxwocmqaRr6UYmrtZmND89X0KigoFD/XSeVv jwBRNjPAubK9/k5NoRrYqztM9W6sJqrH8+UWZ1Idd/DdmogJh0gNC0+N42Za9yBRURfIdKSb B3JfpUqcWwE7vUaYrHG1nw54pLUoPG6sAA7Mehl3nd4pZUALHwARAQABzSREYXZpZCBIaWxk ZW5icmFuZCA8ZGF2aWRAcmVkaGF0LmNvbT7CwZgEEwEIAEICGwMGCwkIBwMCBhUIAgkKCwQW AgMBAh4BAheAAhkBFiEEG9nKrXNcTDpGDfzKTd4Q9wD/g1oFAl8Ox4kFCRKpKXgACgkQTd4Q 9wD/g1oHcA//a6Tj7SBNjFNM1iNhWU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G2rgnT0kt WNyWQQ== Organization: Red Hat In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 319414000D X-Rspam-User: X-Stat-Signature: w3ufmzdrfddpn6bq53gb3jpfku7ohy3n X-Rspamd-Server: rspam03 X-HE-Tag: 1711619452-653627 X-HE-Meta: U2FsdGVkX1+YuPYWmcO7itXb0HVqA7AwHEIm+OiLdqUeOhk/7kVvzPmBWPMAqw2AamGr3nlfBOWgm+DYL1xu7RLmp0loILed1uCOLdk0/xPcieZAezmUwYUtcEjJifWV7jNpVPAxlCs4EobfwGgxI32u5R/lFLkoa97P1sr5aPiJ90vCBe0FlxpXAbylZtii2OQ62mgBWVEk3KP3o4bWIYlhAGYMgVzedEvt7I8itoLsiaNIfrBCa2YiZsMb8Xxft5IqcGHGR/o+6wjFiCQOjj8fpNYniganiKAp3xzNkTCjXdManx2CYks3LQJLMxilDYArF8QqwLuinLuOiSqjh8KvtPFfcBsPsiol6ZqMscURX+XmlpvzB0wtEc9IyM/mKrBFnUcxARNtFCa5uXUA2lFG2nG1lehgX9IKPtcrh8njgiPResAMGJkGU6Q24BzBybIvJXOjFXFERJBftUm0h0hy/8E43c9pHKcq9uyDwtwQYJJC3LEkfOOVm2wgdXs1zmAn3LowPUszD7/5vAkw09gr/D8t1jMSg8whzN6xVDna9n8YQDgBavWZk2AKh9iIH8Cem4FwsqAAvHjqUbbmmsaKmNRTs8WBSXlya7L/j456I67zJus4NwfjSPWvn7tprT5GlRS/cPAbSWYsZm7WPZPD7x+5cOZ0Hz81Rb42de2BdeQDyMgn1f+IqLlvj1gnWatrB4KpCE6VIrJnZ9aheQKqjrn/gOlAw4KqyBu3yzaSot8z59yh+Hie+kUr67EuV72eBAMsB7iYY5tk3Njx5b+phTI2gf8sBeiLdRmPdXvkGvelNcpHY/UwmqH+c0Bv64OVUOtsB43bl0UMoHN9bDVo/+m44RqKLNArBHn46rRkPW3mfLvZJd54wcY+11rKDAh1pft5TKgWB84Q9SFyc4ralMYrShU4/omSa8kDVF2NWgyvE600Ob3UJc/SDhvSMivGncAAuuLbVygeQip AOPuHnfK WaeRoJ2uhIZqIYXsGNXQiSZyt/PEkpIgEpEVRUGD5Cbfp55GdC0AMf/a1Lw4tf+q5fl2fpEKbMKwK//9v2PJhaTHNr9JRLNeX4SRBvqSOZWCfntxI1dFsuvBBMMLWi9+jSYP1//rbrzx/U7lQNj1uIziouVefZA7Bcu5oOPwUn9C5fCKqMMPdCVgu8s+L6GKuLou7wiFD7HdyHGLelWFRkG+pg4TJRpa6NjNspsm0nWekjMzf7Todey2xMXWEybJhOhHvE4XDnnm8fXua4xA3rX5P2ixp7wCR/5yZ5kC4ucgdPaSfog/cPoLulaOLY/n8mNa486MEIpspZO4eFv5SOsq0k5wnYv6601H651TtSk3JCZP8DfmEa8nkomu+QEJhcDSInQBbZwcWlpQV/vDaysPo0qirAu3qX80LrboTZANa3n/fiJY3DU9aLvPBMuXeOO3s 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: On 28.03.24 08:15, Mike Rapoport wrote: > 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); Here are all err+warn I see with my configs on Linus' tree from today (not mm-unstable). Most of them are warnings due to missing prototypes or missing "clone3". Parisc64 seems to be a bit more broken. Maybe nobody cares about parisc64 anymore? Or it's a toolchain issue, don't know. xtensa is also broken, but "invalid register" smells like a toolchain issue to me. Maybe all known/expected, just posting it if anybody cares. I can share my full build script on request. [INFO] Compiling alpha [INFO] 0 errors [INFO] 102 warnings [PASS] $ cat alpha_log | grep warn :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/alpha/lib/checksum.c:45:9: warning: no previous prototype for 'csum_tcpudp_magic' [-Wmissing-prototypes] arch/alpha/lib/checksum.c:54:8: warning: no previous prototype for 'csum_tcpudp_nofold' [-Wmissing-prototypes] arch/alpha/lib/checksum.c:145:9: warning: no previous prototype for 'ip_fast_csum' [-Wmissing-prototypes] arch/alpha/lib/checksum.c:163:8: warning: no previous prototype for 'csum_partial' [-Wmissing-prototypes] arch/alpha/lib/checksum.c:180:9: warning: no previous prototype for 'ip_compute_csum' [-Wmissing-prototypes] arch/alpha/kernel/traps.c:211:1: warning: no previous prototype for 'do_entArith' [-Wmissing-prototypes] arch/alpha/kernel/traps.c:233:1: warning: no previous prototype for 'do_entIF' [-Wmissing-prototypes] arch/alpha/kernel/traps.c:400:1: warning: no previous prototype for 'do_entDbg' [-Wmissing-prototypes] arch/alpha/kernel/traps.c:436:1: warning: no previous prototype for 'do_entUna' [-Wmissing-prototypes] arch/alpha/kernel/traps.c:721:1: warning: no previous prototype for 'do_entUnaUser' [-Wmissing-prototypes] arch/alpha/mm/init.c:261:1: warning: no previous prototype for 'srm_paging_stop' [-Wmissing-prototypes] arch/alpha/lib/fpreg.c:20:1: warning: no previous prototype for 'alpha_read_fp_reg' [-Wmissing-prototypes] [....] [INFO] Compiling arc [INFO] 0 errors [INFO] 2 warnings [PASS] $ cat arc_log | grep warn arch/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] [INFO] Compiling hexagon [INFO] 0 errors [INFO] 1 warnings [PASS] $ cat hexagon_log | grep warn :1519:2: warning: syscall clone3 not implemented [-W#warnings] 1519 | #warning syscall clone3 not implemented 1 warning generated. [INFO] Compiling mips64 [INFO] 0 errors [INFO] 15 warnings [PASS] $ cat mips64_log | grep warn arch/mips/sibyte/bcm1480/setup.c:104:13: warning: no previous prototype for 'bcm1480_setup' [-Wmissing-prototypes] arch/mips/sibyte/bcm1480/irq.c:200:13: warning: no previous prototype for 'init_bcm1480_irqs' [-Wmissing-prototypes] arch/mips/sibyte/bcm1480/time.c:10:13: warning: no previous prototype for 'plat_time_init' [-Wmissing-prototypes] arch/mips/sibyte/bcm1480/smp.c:49:6: warning: no previous prototype for 'bcm1480_smp_init' [-Wmissing-prototypes] arch/mips/sibyte/bcm1480/smp.c:158:6: warning: no previous prototype for 'bcm1480_mailbox_interrupt' [-Wmissing-prototypes] arch/mips/sibyte/swarm/setup.c:59:5: warning: no previous prototype for 'swarm_be_handler' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_xicor1241.c:108:5: warning: no previous prototype for 'xicor_set_time' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_xicor1241.c:167:10: warning: no previous prototype for 'xicor_get_time' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_xicor1241.c:203:5: warning: no previous prototype for 'xicor_probe' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_m41t81.c:139:5: warning: no previous prototype for 'm41t81_set_time' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_m41t81.c:186:10: warning: no previous prototype for 'm41t81_get_time' [-Wmissing-prototypes] arch/mips/sibyte/swarm/rtc_m41t81.c:219:5: warning: no previous prototype for 'm41t81_probe' [-Wmissing-prototypes] arch/mips/mm/cerr-sb1.c:165:17: warning: no previous prototype for 'sb1_cache_error' [-Wmissing-prototypes] arch/mips/kernel/cevt-bcm1480.c:96:6: warning: no previous prototype for 'sb1480_clockevent_init' [-Wmissing-prototypes] arch/mips/kernel/csrc-bcm1480.c:37:13: warning: no previous prototype for 'sb1480_clocksource_init' [-Wmissing-prototypes] [INFO] Compiling mips32-xpa [INFO] 0 errors [INFO] 1 warnings [PASS] $ cat mips32-xpa_log | grep warn drivers/uio/uio.c:795:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [INFO] Compiling mips32-alchemy [INFO] 0 errors [INFO] 1 warnings [PASS] $ cat mips32-alchemy_log | grep warn drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes] [INFO] Compiling nios2 [INFO] 0 errors [INFO] 35 warnings [PASS] $ cat nios2_log | grep warn :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/nios2/lib/memcpy.c:160:7: warning: no previous prototype for 'memcpy' [-Wmissing-prototypes] arch/nios2/lib/memcpy.c:194:7: warning: no previous prototype for 'memcpyb' [-Wmissing-prototypes] arch/nios2/mm/dma-mapping.c:21:6: warning: no previous prototype for 'arch_sync_dma_for_device' [-Wmissing-prototypes] arch/nios2/mm/dma-mapping.c:45:6: warning: no previous prototype for 'arch_sync_dma_for_cpu' [-Wmissing-prototypes] arch/nios2/mm/dma-mapping.c:63:6: warning: no previous prototype for 'arch_dma_prep_coherent' [-Wmissing-prototypes] arch/nios2/mm/dma-mapping.c:70:7: warning: no previous prototype for 'arch_dma_set_uncached' [-Wmissing-prototypes] arch/nios2/kernel/irq.c:19:17: warning: no previous prototype for 'do_IRQ' [-Wmissing-prototypes] arch/nios2/kernel/process.c:34:6: warning: no previous prototype for 'arch_cpu_idle' [-Wmissing-prototypes] arch/nios2/kernel/process.c:43:6: warning: no previous prototype for 'machine_restart' [-Wmissing-prototypes] arch/nios2/kernel/process.c:54:6: warning: no previous prototype for 'machine_halt' [-Wmissing-prototypes] arch/nios2/kernel/process.c:66:6: warning: no previous prototype for 'machine_power_off' [-Wmissing-prototypes] arch/nios2/kernel/process.c:152:6: warning: no previous prototype for 'dump' [-Wmissing-prototypes] arch/nios2/kernel/process.c:253:16: warning: no previous prototype for 'nios2_clone' [-Wmissing-prototypes] [...] [INFO] Compiling parisc64 [INFO] 79 errors [INFO] 54 warnings [FAIL] $ cat parisc64_log | grep error ipc/sem.c:1284:18: error: 'struct semid64_ds' has no member named 'sem_otime_high'; did you mean 'sem_otime'? ipc/sem.c:1285:18: error: 'struct semid64_ds' has no member named 'sem_ctime_high'; did you mean 'sem_ctime'? ././include/linux/compiler_types.h:449:45: error: call to '__compiletime_assert_276' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct semid64_ds) != 80 ipc/msg.c:567:12: error: 'struct msqid64_ds' has no member named 'msg_stime_high'; did you mean 'msg_stime'? ipc/msg.c:568:12: error: 'struct msqid64_ds' has no member named 'msg_rtime_high'; did you mean 'msg_rtime'? ipc/msg.c:569:12: error: 'struct msqid64_ds' has no member named 'msg_ctime_high'; did you mean 'msg_ctime'? ipc/shm.c:1137:15: error: 'struct shmid64_ds' has no member named 'shm_atime_high'; did you mean 'shm_atime'? ipc/shm.c:1138:15: error: 'struct shmid64_ds' has no member named 'shm_dtime_high'; did you mean 'shm_dtime'? ipc/shm.c:1139:15: error: 'struct shmid64_ds' has no member named 'shm_ctime_high'; did you mean 'shm_ctime'? ././include/linux/compiler_types.h:449:45: error: call to '__compiletime_assert_390' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct dst_entry, __rcuref) & 63 ././include/linux/compiler_types.h:449:45: error: call to '__compiletime_assert_374' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct dst_entry, __rcuref) & 63 ././include/linux/compiler_types.h:449:45: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct dst_entry, __rcuref) & 63 [...] [INFO] Compiling sh [INFO] 0 errors [INFO] 39 warnings [PASS] $ cat sh_log | grep warn :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sh/mm/cache-shx3.c:18:13: warning: no previous prototype for 'shx3_cache_init' [-Wmissing-prototypes] arch/sh/mm/flush-sh4.c:106:13: warning: no previous prototype for 'sh4__flush_region_init' [-Wmissing-prototypes] arch/sh/mm/cache-sh4.c:384:13: warning: no previous prototype for 'sh4_cache_init' [-Wmissing-prototypes] arch/sh/kernel/return_address.c:49:7: warning: no previous prototype for 'return_address' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:10:6: warning: no previous prototype for 'pgd_ctor' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:32:8: warning: no previous prototype for 'pgd_alloc' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:37:6: warning: no previous prototype for 'pgd_free' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:43:6: warning: no previous prototype for 'pud_populate' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:48:8: warning: no previous prototype for 'pmd_alloc_one' [-Wmissing-prototypes] arch/sh/mm/pgtable.c:53:6: warning: no previous prototype for 'pmd_free' [-Wmissing-prototypes] arch/sh/mm/tlbex_32.c:22:1: warning: no previous prototype for 'handle_tlbmiss' [-Wmissing-prototypes] arch/sh/kernel/sys_sh.c:58:16: warning: no previous prototype for 'sys_cacheflush' [-Wmissing-prototypes] [...] [INFO] Compiling sparc32 [INFO] 0 errors [INFO] 1 warnings [PASS] $ cat sparc32_log | grep warn :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] [INFO] Compiling sparc64 [INFO] 0 errors [INFO] 26 warnings [PASS] $ cat sparc64_log | grep warn :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] arch/sparc/vdso/vma.c:246:12: warning: no previous prototype for 'init_vdso_image' [-Wmissing-prototypes] arch/sparc/vdso/vclock_gettime.c:254:1: warning: no previous prototype for '__vdso_clock_gettime' [-Wmissing-prototypes] arch/sparc/vdso/vclock_gettime.c:282:1: warning: no previous prototype for '__vdso_clock_gettime_stick' [-Wmissing-prototypes] arch/sparc/vdso/vclock_gettime.c:307:1: warning: no previous prototype for '__vdso_gettimeofday' [-Wmissing-prototypes] arch/sparc/vdso/vclock_gettime.c:343:1: warning: no previous prototype for '__vdso_gettimeofday_stick' [-Wmissing-prototypes] arch/sparc/kernel/traps_64.c:253:6: warning: no previous prototype for 'is_no_fault_exception' [-Wmissing-prototypes] arch/sparc/kernel/traps_64.c:2035:6: warning: no previous prototype for 'do_mcd_err' [-Wmissing-prototypes] [...] [INFO] Compiling uml64 [INFO] 0 errors [INFO] 51 warnings [PASS] $ cat uml64_log | grep warn arch/x86/um/user-offsets.c:17:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes] ./arch/x86/um/shared/sysdep/kernel-offsets.h:9:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes] arch/x86/um/bugs_64.c:9:6: warning: no previous prototype for 'arch_check_bugs' [-Wmissing-prototypes] arch/x86/um/bugs_64.c:13:6: warning: no previous prototype for 'arch_examine_signal' [-Wmissing-prototypes] arch/x86/um/fault.c:18:5: warning: no previous prototype for 'arch_fixup' [-Wmissing-prototypes] arch/x86/um/ptrace_64.c:111:5: warning: no previous prototype for 'poke_user' [-Wmissing-prototypes] arch/x86/um/ptrace_64.c:171:5: warning: no previous prototype for 'peek_user' [-Wmissing-prototypes] arch/um/os-Linux/main.c:187:7: warning: no previous prototype for '__wrap_malloc' [-Wmissing-prototypes] arch/um/os-Linux/main.c:208:7: warning: no previous prototype for '__wrap_calloc' [-Wmissing-prototypes] arch/um/os-Linux/main.c:222:6: warning: no previous prototype for '__wrap_free' [-Wmissing-prototypes] arch/um/os-Linux/mem.c:28:6: warning: no previous prototype for 'kasan_map_memory' [-Wmissing-prototypes] arch/um/os-Linux/mem.c:212:13: warning: no previous prototype for 'check_tmpexec' [-Wmissing-prototypes] arch/um/os-Linux/signal.c:75:6: warning: no previous prototype for 'sig_handler' [-Wmissing-prototypes] arch/um/os-Linux/signal.c:111:6: warning: no previous prototype for 'timer_alarm_handler' [-Wmissing-prototypes] [...] [INFO] Compiling xtensa [INFO] 1 errors [INFO] 1 warnings [FAIL] $ cat xtensa_log | grep Error ./arch/xtensa/include/asm/initialize_mmu.h:57: Error: invalid register 'atomctl' for 'wsr' instruction make[4]: *** [scripts/Makefile.build:362: arch/xtensa/kernel/head.o] Error 1 make[3]: *** [scripts/Makefile.build:485: arch/xtensa/kernel] Error 2 make[2]: *** [scripts/Makefile.build:485: arch/xtensa] Error 2 make[1]: *** [/home/dhildenb/git/linux-cross/Makefile:1919: .] Error 2 make: *** [Makefile:240: __sub-make] Error 2 -- Cheers, David / dhildenb