Received: by 10.213.65.68 with SMTP id h4csp1312227imn; Wed, 14 Mar 2018 16:44:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELsuoXn7n5lAXCIxTTJ98R89pCGtfAxZKvsLZoFVcSTZNJFoGKNnwrRnKLed1/xs9RzcNIe6 X-Received: by 10.98.47.70 with SMTP id v67mr3137009pfv.95.1521071042238; Wed, 14 Mar 2018 16:44:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521071042; cv=none; d=google.com; s=arc-20160816; b=gPLNuOALFiRhNKiqeEz+VaAhKrc+CShI8Qw5dI6eG9Gs+T102ujT6EKcEvWxtJVLi9 zi7nTHs28HCPUyWARWpwKWmvA04jqsFO63jtDJQaZi3jMHT0yLz8EqHIoGIBUMRT/uKU iht9LtIpyfQ6+Z5GhLhF1HESS8OF5oq6IbEOqgCT4iDWf36hsBO/lPXzkzx3A+D+w97y BrGY8BNHxhfI4ToFWJs5VbBHnRSzNsEhgVNFc9IQs9VkuBS7Uc5uTp7tUfe4xLBdlvd6 O2n1yBSJFQf5MBUYGutgDCiMKMqDDKYYalj2JnkcekcJowIqDURYuZOCE3X2CWiji2ZA 3vxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=hPqfeR5tOH5exD6/5zlrvs/9prXWJ7jAFnle82h0Sow=; b=mYPt8+/eiQXwSFTONjysGkhniy297VqwDG+AnwAWyIQUXE8k/o+zVEEJaeYtgoTdON gK13HpfId1cEptQ91cLOlDXIE9kpHsaPOdpPC5RuBWXWBqOMiggufNnYu1hf6+g38P+4 9n3wJf4PBgmAMIZ36Z/Rhd61J/tvhrPZ2GIfG9snc50TIp+v8IfbiVmLZsKAf+BkT8bk oJd2kxsFUuZjNNVGIabbW4d5DSgfxxB5F1rPJQMEkV2IHCEcSLmwQ/2UbYdAjvO2e38M J/PvLNw2RyV9f/MmapTaaeBRj5L/WynHJtSRkkK2yvCo0g95ldePOGWUWpYV5ZMpbp3B fp5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a8-v6si2737107plz.320.2018.03.14.16.43.45; Wed, 14 Mar 2018 16:44:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751981AbeCNXmn (ORCPT + 99 others); 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 Received: from vmware.local.home (96-65-213-252-static.hfc.comcastbusiness.net [96.65.213.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9EA6C20779; Wed, 14 Mar 2018 23:42:39 +0000 (UTC) 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 Precedence: bulk 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