Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3228732ybc; Thu, 14 Nov 2019 06:04:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyvmMG88478js2Bg9W0N1PdrKa9pCkFG02nbHqtnTPRvYgZtrsQ7VJD+UT25G6chsv4BnK+ X-Received: by 2002:a17:906:f255:: with SMTP id gy21mr8657571ejb.204.1573740296323; Thu, 14 Nov 2019 06:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573740296; cv=none; d=google.com; s=arc-20160816; b=qa1Nqld9x/4kAuyexvpgaWDuU5lSjWpVnoknTbi0NXKKsCbLnLsH8wKGdjApq+RTUx YUd+jGeH7oKCECdBqMfNEVaZfIYNphNBCyg55qV28G5euCOtPCvQllkmr7LEIfJKFCPZ ErFR6rCUUEpP8E3qqMbieO1IoPjfYbbkSurCn872kSy5wXHjavrKDV/vaGeFe0ScyFP4 dObdJkuarxf+kUJ/Vl6WSmzLIR+R5HUUsrWV/X9ouiF1egXDaL+x2MQqicAjc1nZ+G4e ZcIE/lZaWTeH2gAWQB5sTX0Ji5fHwt+aFkkXqak1bdSps7LtK+dKPGzuFRsvLYA/J+go en2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=mg4UFFS2ESh3A7IuctheIaBbXKxvehMGp07JMFKAlm0=; b=yT3o851S1BWo0SPrnH7KHBQeL+m9IO+8zsUx+/NBq4LPQFX0Bd7sHnGcrbEurIiavV UbWzEKy0oOE5fP0hyvqmfZk78C7WksCBZISNQpQGfM9o/JDxsvtRPe+e2LPLwjf9bVv6 lV+hdev2QIKbIvSOhJJu9/W3ok/jHbxVoNuyLeAVkFOUBwzKllIW1sF54a2f+pcb/bZ/ zBcaUWPpPWfs/ahNS2dF+UCbehWocNHq86Wum1JpHg0FrXjpnOiZwVYODsbGGFT85bkL fo23JKFZfaP2aYFkNWqdCApO8JvXCb/9/T9RafRhUqGY9wJDOtloV9aUrsm6g17r7QEe 3kiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Mpbs4fWC; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si3414391ejr.371.2019.11.14.06.04.30; Thu, 14 Nov 2019 06:04:56 -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=@ti.com header.s=ti-com-17Q1 header.b=Mpbs4fWC; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727112AbfKNOBR (ORCPT + 99 others); Thu, 14 Nov 2019 09:01:17 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44630 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbfKNOBR (ORCPT ); Thu, 14 Nov 2019 09:01:17 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xAEE0HuM113268; Thu, 14 Nov 2019 08:00:17 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573740017; bh=mg4UFFS2ESh3A7IuctheIaBbXKxvehMGp07JMFKAlm0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=Mpbs4fWCHa2MujEWCR63FGFbtu7sEjAJx80a0Ie3U5gJrSh3wfAFT6V6CCCnse642 ys+4ZwuS5AssKdj7NNk9DtoG1yhneDQGeDKK+yPRdcYOzOzy/47gmxnvex8/A/JEEJ O7RgDe6d2D6COjEaDcBw8754s23pS/NkxNYRndBA= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEE0H5B116509; Thu, 14 Nov 2019 08:00:17 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Thu, 14 Nov 2019 08:00:17 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Thu, 14 Nov 2019 08:00:17 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id xAEE0HRI130585; Thu, 14 Nov 2019 08:00:17 -0600 Date: Thu, 14 Nov 2019 08:02:34 -0600 From: Bin Liu To: Greg Kroah-Hartman CC: Chunfeng Yun , Felipe Balbi , Laurent Pinchart , Mauro Carvalho Chehab , Peter Chen , Minas Harutyunyan , Cristian Birsan , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Kevin Cernekee , Florian Fainelli , , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , Stephen Boyd , Yoshihiro Shimoda , Colin Ian King , Biju Das , Fabrizio Castro , "Gustavo A. R. Silva" , Yangtao Li , , , , , Subject: Re: [PATCH v2 05/13] usb: musb: create debugfs directory under usb root Message-ID: <20191114140234.GB5853@uda0271908> Mail-Followup-To: Bin Liu , Greg Kroah-Hartman , Chunfeng Yun , Felipe Balbi , Laurent Pinchart , Mauro Carvalho Chehab , Peter Chen , Minas Harutyunyan , Cristian Birsan , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Kevin Cernekee , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Daniel Mack , Haojian Zhuang , Robert Jarzmik , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , Stephen Boyd , Yoshihiro Shimoda , Colin Ian King , Biju Das , Fabrizio Castro , "Gustavo A. R. Silva" , Yangtao Li , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org References: <1573541519-28488-1-git-send-email-chunfeng.yun@mediatek.com> <1573541519-28488-5-git-send-email-chunfeng.yun@mediatek.com> <20191112152857.GA5853@uda0271908> <20191114032018.GA122287@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191114032018.GA122287@kroah.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 11:20:18AM +0800, Greg Kroah-Hartman wrote: > On Tue, Nov 12, 2019 at 09:28:57AM -0600, Bin Liu wrote: > > Hi, > > > > On Tue, Nov 12, 2019 at 02:51:51PM +0800, Chunfeng Yun wrote: > > > Now the USB gadget subsystem can use the USB debugfs root directory, > > > so move musb's directory from the root of the debugfs filesystem into > > > the root of usb > > > > My opinion is this move is unnecessary. I breaks existing debug tools or > > documentation which is already published on Internet. > > Having a "root" directory for a single random driver seems like you are > making your driver a "very important" thing in the overall scheme of the > kernel, right? What's wrong with using the usb subdirectory like all Agree, it wasn't the right thing to do at the first place. But now changing it adds support burden, because people very often refer to the old information on the internet which no longer matches to the new location. Basically, it is a cost of ABI change. > other USB drivers use (after this patch series is merged)? That feels > like a much more "sane" way to handle the wide-open debugfs namespace. Though I commented on this musb patch, my opinion is for this whole series, either drop the whole series or apply the whole series. > Yes, there are no rules when it comes to debugfs file names and > locations, but let's try to be sane please. Fine with me. I can still support questions such as "can't open /sys/kernel/debug/musb-hdrc.0/testmode: No such file or directory". -Bin.