From patchwork Mon Jan 9 18:29:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 9505723 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD02D6071A for ; Mon, 9 Jan 2017 18:29:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9148A28512 for ; Mon, 9 Jan 2017 18:29:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 847EA28521; Mon, 9 Jan 2017 18:29:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D309828512 for ; Mon, 9 Jan 2017 18:29:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163484AbdAIS3r (ORCPT ); Mon, 9 Jan 2017 13:29:47 -0500 Received: from mga14.intel.com ([192.55.52.115]:55951 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1163479AbdAIS3m (ORCPT ); Mon, 9 Jan 2017 13:29:42 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 09 Jan 2017 10:29:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,340,1477983600"; d="scan'208";a="1091862028" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga001.fm.intel.com with ESMTP; 09 Jan 2017 10:29:16 -0800 Message-ID: <1483986555.26691.46.camel@linux.intel.com> Subject: Re: [PATCH v6 00/14] linux: generalize sections, ranges and linker tables From: Andy Shevchenko To: "Luis R. Rodriguez" , hpa@zytor.com, acme@redhat.com, tglx@linutronix.de, mingo@redhat.com, jpoimboe@redhat.com, bp@alien8.de, npiggin@gmail.com, mhiramat@kernel.org, masami.hiramatsu.pt@hitachi.com, jbaron@akamai.com, heiko.carstens@de.ibm.com, ananth@linux.vnet.ibm.com, anil.s.keshavamurthy@intel.com, davem@davemloft.net, realmz6@gmail.com, dalias@libc.org, linux@arm.linux.org.uk Cc: x86@kernel.org, luto@amacapital.net, keescook@chromium.org, linux@roeck-us.net, torvalds@linux-foundation.org, gregkh@linuxfoundation.org, rusty@rustcorp.com.au, gnomes@lxorguk.ukuu.org.uk, alan@linux.intel.com, dwmw2@infradead.org, arnd@arndb.de, ming.lei@canonical.com, linux-arch@vger.kernel.org, benh@kernel.crashing.org, pebolle@tiscali.nl, fontana@sharpeleven.org, david.vrabel@citrix.com, konrad.wilk@oracle.com, mcb30@ipxe.org, jgross@suse.com, andrew.cooper3@citrix.com, paul.gortmaker@windriver.com, xen-devel@lists.xensource.com, ak@linux.intel.com, pali.rohar@gmail.com, dvhart@infradead.org, platform-driver-x86@vger.kernel.org, mmarek@suse.com, linux@rasmusvillemoes.dk, jkosina@suse.cz, korea.drzix@gmail.com, linux-kbuild@vger.kernel.org, tony.luck@intel.com, akpm@linux-foundation.org, linux-ia64@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, catalin.marinas@arm.com, will.deacon@arm.com, rostedt@goodmis.org, jani.nikula@intel.com, mchehab@osg.samsung.com, markus.heiser@darmarit.de, jolsa@kernel.org, msalter@redhat.com, chris@zankel.net, jcmvbkbc@gmail.com, linux-xtensa@linux-xtensa.org, adrian.hunter@intel.com, dsahern@gmail.com, namhyung@kernel.org, wangnan0@huawei.com, dmitry.torokhov@gmail.com, joro@8bytes.org, paulus@samba.org, mpe@ellerman.id.au, James.Bottomley@HansenPartnership.com Date: Mon, 09 Jan 2017 20:29:15 +0200 In-Reply-To: <1483981946.26691.44.camel@intel.com> References: <20161222023811.21246-1-mcgrof@kernel.org> <20170109145833.11502-1-mcgrof@kernel.org> <1483979228.26691.40.camel@linux.intel.com> <1483981946.26691.44.camel@intel.com> Organization: Intel Finland Oy X-Mailer: Evolution 3.22.3-1 Mime-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Mon, 2017-01-09 at 19:12 +0200, Andy Shevchenko wrote: > On Mon, 2017-01-09 at 18:27 +0200, Andy Shevchenko wrote: > > On Mon, 2017-01-09 at 06:58 -0800, Luis R. Rodriguez wrote: > > > The only architecture that was not tested was avr32 and that is > > > because > > > linux-next fails to compile on it. I'd like to greatly thank > > > Guenter > > > Roeck for > > > his help with testing. > > > > We have a real board here. I would try to check if you provide a git > > url > > to your stuff. > > > > I can confirm that breakage happened like in last couple of month. > > v4.10-rc3 can't be compiled either. > > The culprit commit is > > commit 3a0af8fd61f90920f6fa04e4f1e9a6a73c1b4fd2 > Author: Thomas Graf > Date:   Wed Nov 30 17:10:10 2016 +0100 > >     bpf: BPF for lightweight tunnel infrastructure > This makes modules closer to each other, so, net/socket.c:348: relocation truncated to fit: R_AVR32_11H_PCREL against `.text'+2930 But still the module is too big for AVR to do some jumps. Here I stop investigating it. I had been proposed to get rid of avr32 completely, burden to support is just increasing (no Buildroot support, no Gcc support, what else do we need?) for no value. +                       neighbour.o rtnetlink.o utils.o link_watch.o \                         sock_diag.o dev_ioctl.o tso.o sock_reuseport.o    obj-$(CONFIG_XFRM) += flow.o diff --git a/net/core/Makefile b/net/core/Makefile index f6761b6e3b29..91b7d27bf2c6 100644 --- a/net/core/Makefile +++ b/net/core/Makefile @@ -2,13 +2,13 @@  # Makefile for the Linux networking core.  #   -obj-y := sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \ +obj-y := filter.o sock.o request_sock.o skbuff.o datagram.o stream.o scm.o \          gen_stats.o gen_estimator.o net_namespace.o secure_seq.o flow_dissector.o    obj-$(CONFIG_SYSCTL) += sysctl_net_core.o    obj-y               += dev.o ethtool.o dev_addr_lists.o dst.o netevent.o \ -                       neighbour.o rtnetlink.o utils.o link_watch.o filter.o \