From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751984AbeCNXmn (ORCPT ); Wed, 14 Mar 2018 19:42:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:44924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeCNXmk (ORCPT ); Wed, 14 Mar 2018 19:42:40 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9EA6C20779 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 14 Mar 2018 19:42:37 -0400 From: Steven Rostedt To: Petr Mladek Cc: Arnd Bergmann , Tejun Heo , Sergey Senozhatsky , Dave Young , Andi Kleen , Greentime Hu , Vincent Chen , Peter Zijlstra , Andrew Morton , Stephen Rothwell , adi-buildroot-devel@lists.sourceforge.net, Linux Kernel Mailing List , Sergey Senozhatsky Subject: Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol Message-ID: <20180314194237.45e2709c@vmware.local.home> In-Reply-To: <20180309095054.vrngc6fz7wo3hd4x@pathway.suse.cz> References: <20180305053742.9149-1-sergey.senozhatsky@gmail.com> <20180307022127.GB802@jagdpanzerIV> <20180307104002.GA505@jagdpanzerIV> <20180307114845.GA894@jagdpanzerIV> <20180309095054.vrngc6fz7wo3hd4x@pathway.suse.cz> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Mar 2018 10:50:55 +0100 Petr Mladek wrote: > On Wed 2018-03-07 20:48:56, Sergey Senozhatsky wrote: > > On (03/07/18 11:57), Arnd Bergmann wrote: > > > Since lib/dump_stack.c is mandatory then, I would suggest making it > > > obj-y and moving it out of lib/ into kernel/printk/. > > > > Totally agree on obj-y. And tend to agree on moving lib/dump_stack to > > kernel/printk. lib/dump_stack depends on CONFIG_PRINTK and is partially > > in printk.h. So it _mostly_ seems like the right place after all. > > I agree that we should define dump_stack.o as obj-y. Also it makes > sense to move it to kernel/printk/. As Sergey said: it depends on > CONFIG_PRINTK and is in printk.h. > > Steven, do you agree or would you suggest another location? > It was you who suggested to move the several functions from printk.c > to dump_stack.c. IMHO, the motivation was to fix responsibilities > (maintainer-ship) of this stuff. This will not really happen if > we move the file to printk directory. > I still would like to keep it in lib. If blackfin is going to be nuked in 4.17, and nds32 is the only one that is causing a issue. I would highly recommend fixing nds32 and have Stephen stop building blackfin. -- Steve