Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3591297ybc; Mon, 25 Nov 2019 17:24:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzUS+w9SPFVTxKVKPMraCTY+wbiVXuGcLYp+d1Yn8hQdcbvJmsuA+u2PXLu0ajRS9LfHhKq X-Received: by 2002:a50:ef0b:: with SMTP id m11mr22123707eds.74.1574731457681; Mon, 25 Nov 2019 17:24:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574731457; cv=none; d=google.com; s=arc-20160816; b=ddWghS6csB2xJxLx6KQQiZU4foMfoSgj5DVAM6TuMCVuEMrI6YSS9EDLTmxlc7UxP5 LDpDtK6+cMCYSnaNIPrKZq+nWspn7D1+AnF+rwgL83OXgwt+br0FingCZKXP4IU9yddZ 9jLOQDDhFTUlgi6xIMYxY3XuuE0Vk8AAyMDWZRJi42EIS2D6JlTZp1HUJ3uBZ2inHEgK 8ewkKzedHUX5ZdUcZV9+MWbRvsg1cqkpLGz/BkEECf65wquw3TPedTg6gyCk8ESsWMse eZrJimQYLWAz7pplKhAZSu5Lml6cZ0UbF9S+ALKdrcmS5TxOWZExG5KuF8ra+78pEsU6 Wxaw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uj36RlXWhTrrJbWJ228s0oGe2YmXdPO8n3J9iVB5Odw=; b=FmlUR9d3hfphOyBzl2VF+APwxrWAFXEv5UfitmyJye1M3UF/bR7znq1VmhklPLDCUF Ivw3Gdf1LAdG/Cf4SRW8Sku0w0DiCL/S/uol7QDxD2BtVmTXOFAL+rOTOoy5TdVOvJEu STyTwEtf0M2zSd7WVdNEyz0zlxxq73T1yTDZj8RieKkE0k3+INJig0uiawF8BprGoiMj rOv/OG3v5azVbCDmLbDTDHoery3SCFa43+emCWmJ6ol8iL/ep1A12XqjHUaVipfx0/Gd SatJEHQ1VW2aQ3uLp1oTv4DoOslKDA8z4lhu+5CnMLhRQ3ulTnPcIanoUfhCwtVMVkHu 2niw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TE4m1oxm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si6103672edp.264.2019.11.25.17.23.53; Mon, 25 Nov 2019 17:24:17 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=TE4m1oxm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726975AbfKZBVm (ORCPT + 99 others); Mon, 25 Nov 2019 20:21:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:47384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726016AbfKZBVm (ORCPT ); Mon, 25 Nov 2019 20:21:42 -0500 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AA4122071E; Tue, 26 Nov 2019 01:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574731301; bh=e7359V1WvyvcBQg5ikrLHwOABGhZa5YKZhU8/BE3aQo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TE4m1oxmJmtlpVBG2eV6GOyAZ2V6quFqvt6pOhdOEYr32QdTwJexQbOxOmgYOCByU R7Z0hJ1VD+Xmr3oKXp/OEVQMM57EbnFPmu7K6n9eF2UbnZ32Wa3EYsRowzF1Avsgkw j5HFzPpeOdf0LPymBsSvvhJL/WrZU6IkpUg8Bdkw= Received: by mail-lf1-f43.google.com with SMTP id b20so12618172lfp.4; Mon, 25 Nov 2019 17:21:40 -0800 (PST) X-Gm-Message-State: APjAAAUeNHVvsyZ/b8Jb0i5H8NKsTAr851BntrLlgGQnhVr20STqxaq6 uq016jjCRlAVrJmrOdxeuJvAZJIHNwRXHrDIAk0= X-Received: by 2002:ac2:5228:: with SMTP id i8mr22194773lfl.69.1574731298851; Mon, 25 Nov 2019 17:21:38 -0800 (PST) MIME-Version: 1.0 References: <20191125125515.30795-1-m.szyprowski@samsung.com> <7f6a5924-58f9-aafb-18c5-c749ad355a02@samsung.com> <20191125093932.4a111dc8@gandalf.local.home> <5fdca7d0-c130-457a-2ce2-74f645b60f8d@samsung.com> In-Reply-To: <5fdca7d0-c130-457a-2ce2-74f645b60f8d@samsung.com> From: Krzysztof Kozlowski Date: Tue, 26 Nov 2019 09:21:27 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm: exynos_config: Restore debugfs support To: Bartlomiej Zolnierkiewicz , Steven Rostedt Cc: Kusanagi Kouichi , Marek Szyprowski , "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 Nov 2019 at 23:31, Bartlomiej Zolnierkiewicz wrote: > > > On 11/25/19 3:39 PM, Steven Rostedt wrote: > > On Mon, 25 Nov 2019 15:30:39 +0100 > > Bartlomiej Zolnierkiewicz wrote: > > > >> It seems that commit 0e4a459f56c3 ("tracing: Remove unnecessary DEBUG_= FS > >> dependency") disabled DEBUG_FS also in some other ARM defconfigs. > >> > >> For some of them it may be a correct change but a preferred way to > >> introduce such changes would be to: > >> > >> - add explicit CONFIG_DEBUG_FS=3Dy instances to all affected defconfig= s > >> while removing DEBUG_FS selection from TRACING config item > >> > > > > I strongly disagree. It was wrong to assume DEBUG_FS is attached to > > TRACING. If someone wanted DEBUG_FS in their def config, they should > > have added it specifically. The addition of DEBUG_FS to defconfigs no > > There is a theory and a practice. > > In theory you are are correct. ;-) > > In practice people don't manually edit configuration files nowadays. > > They do 'make menuconfig' and enable what they need and disable what > they do not need. Then they do 'make savedefconfig' and copy resulting > "stripped" defconfig file as their new platform defconfig. As a result > defconfigs rely on many default settings (also they explicitly disable > only items that are enabled by default but you don't want them). I agree with Bart=C5=82omiej. Your interpretation Steven essentially prohibits any use of savedefconfig to trim automatically the config from unneeded options. Therefore many defconfigs which do not have DEBUG_FS or other options directly, but they want it. Some time ago I had patches removing specific non-existing options from defconfigs. For each option I provided a rationale that it is gone/etc so let's remove it from defconfig. Most of maintainers picked them up but few (2-3?) instead run savedefconfig to clean up everything automatically. Best regards, Krzysztof