Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1616422imu; Wed, 9 Jan 2019 23:21:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN5l3x8sqv+/7tdeYcKDM/BrmiI/IuILvdnDOBSHrYFRZmH/ROIRwP4Ahm2fzOiRb5D1TRHi X-Received: by 2002:a62:868b:: with SMTP id x133mr9614760pfd.252.1547104873471; Wed, 09 Jan 2019 23:21:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547104873; cv=none; d=google.com; s=arc-20160816; b=gw40A5TjblsKPd17J7h2C+TMIdXXE8CP//xwFr7pXw71BZW5nZsdtQ0BdfZP7Jtonn hvK5kJAyB7N63IpU20SicGe0vFTGE6TbeYf2/6dyzBVGHeDFwBS/aCpNx811yDVodsIY xkCHDuVtXUVGaIjVJEApi+0ArJfM8JqAc8P85S+dgQ5uWZ+qOCc07oBksDB+r03Foe5V Av9FMSMcvOYRpdwGcCoDwQ24thNkJlU0CJIipKC4U0YHRQpfxY+EDB7/uYb5bPz8b6Pp vfYfzNj5nAMDKjY3CK3YEOJobhKsZaRHiGzGITW34jRVUyIUy5AWQp3PTytJgaATwbmw KwrA== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=x3zF5/4f24a56OqUGezQUdBs3Gc035xgZODZlLDpOYE=; b=GABh7Cg7uqoFhbetrBKbPjguD8HGdeoD2IYxdrYUIZwTk61jsBGqwebmcpZu+JZAcS +cpb0YKBm5ml12QWcQk7kgdil6TZ2rPbYP25Yyrhvjyg4g42Y1qTjW/JZ1DG8MJDHBZD 83jBWW64MmLqPcHLhaf2lmvuv/qC21CJYrQZ9NiZrCoi2Tewh8RHvtF6d06yxoj6lEcG MybseupoB106tZeoWQtlWa7Np+ws+EpCf6Yq8t1nB++mgIbhHp3NwmV0rlJb2aIWIuE1 RiFO/KwnctBI30QolfzcnQlFwen2I2Y9XuDwhcNTOkd+8wh7k6tjC4TD/8jEJYnLeXKc YBsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="iS0/KpWi"; 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 x6si15785076pgh.363.2019.01.09.23.20.58; Wed, 09 Jan 2019 23:21:13 -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="iS0/KpWi"; 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 S1727435AbfAJG5m (ORCPT + 99 others); Thu, 10 Jan 2019 01:57:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:45240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725536AbfAJG5m (ORCPT ); Thu, 10 Jan 2019 01:57:42 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 A2FBA20657; Thu, 10 Jan 2019 06:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547103461; bh=zURElWaV1s1C73JNRKoyfkAu0+W613sSKDS8Jw22Imw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iS0/KpWi3vnl0rtHkMb7IiOKevwYH5t1Z6s6D+IfMqFl00A43aNGWJRo4Zyofufdd aHK+I5EzNlJiRZBtCTi3la9Ug8YsSQQdH9e9Pzc7cjMv3AnFiHGRv8C/074HUYAa6N gKr53BkvLmo7692SV8/bAA5m4rJHKKjkRE1r2OHo= Date: Thu, 10 Jan 2019 07:57:38 +0100 From: Greg Kroah-Hartman To: Peter Chen Cc: Pawel Laszczak , devicetree@vger.kernel.org, mark.rutland@arm.com, linux-usb@vger.kernel.org, hdegoede@redhat.com, Heikki Krogerus , andy.shevchenko@gmail.com, robh+dt@kernel.org, rogerq@ti.com, lkml , adouglas@cadence.com, jbergsagel@ti.com, nsekhar@ti.com, nm@ti.com, sureshp@cadence.com, peter.chen@nxp.com, pjez@cadence.com, kurahul@cadence.com Subject: Re: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver Message-ID: <20190110065738.GA28817@kroah.com> References: <1545577992-4013-1-git-send-email-pawell@cadence.com> <1545577992-4013-6-git-send-email-pawell@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 10, 2019 at 09:30:41AM +0800, Peter Chen wrote: > On Mon, Dec 24, 2018 at 12:44 AM Pawel Laszczak wrote: > - debugfs is nice to have feature, I suggest removing it at this > initial version. Besides, role switch > through /sys is normal feature, the end user may use it at real > product, so, it is better at device's > /sys entry instead of debugfs. > > - I don't know why you add "disable" at debugfs, please comment. As you imply here, no real-world functionality should ever be in debugfs as it is an optional system component and kernel code should work just fine without it being enabled (as more and more systems are disabling it due to the obvious security problems it has.) thanks, greg k-h