Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3136368imu; Sun, 11 Nov 2018 08:19:42 -0800 (PST) X-Google-Smtp-Source: AJdET5fjjuZz+vdqH4DE77Knbio6HaSBbBNs/gZjFb2JkAhsDjiEbem+ONzI/0H0FGlwwWMuPv7l X-Received: by 2002:a17:902:380c:: with SMTP id l12-v6mr16703855plc.37.1541953182123; Sun, 11 Nov 2018 08:19:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541953182; cv=none; d=google.com; s=arc-20160816; b=lBwxIhWoNKKQEk+kyvmzCWcrgl4lUvS+AHu3Ua5XWmFP5c08okGJYgUHB7DN/4Z2WB IMwxr300TDZsRTuk697dZvaAKBKozr1ZyHuel0hRGxuglSNERYD55j9/SvAfrPcTFgZM lUohG4YAz0VqM8q6RgsxIwd/chL+Iszjyhn0sX7sDD65WpgtxidgmiiR33yeu2MvdlKg kH+dfLFEVSAzRpUT/043KBROOGS9SPYIHWidM0k/sEcRZVnHiKr0qhBped1SAq+Xcs/C ZpGGiOKnlAoxaEEtGNQlDokYwNubKmHY0B1q+rlfnRcsNK5FRJ5BpFQfXCp/vEj+GFm/ Jrrw== 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=SC0HJRaeJBoX+QC2Dr3woekI/I7k51jz4WN73CHIMUY=; b=ajeGuqvtO8Kjw8f9K5MTF1wRXj/EjxQJVGbxBDOeGvou8syuRLU9vPoFe4OVG2YtTB dhOcQQjk0HW3BMB/Xfuxm1OaaBZESrBQA0wADJKa8Dd8r2rHX74sfYD9aqez3mfZ8gmK vAntkcePMCuZ/rv4A5+CaSfG5u61o+sWWgrI+dTaoHSuZ3ymoYk9emyw9spNbSwleYu+ lyCwyMH+i2J+vevuSZ2xIFHAM2DQDfQrOXcFws5Fb1qQ7A+4vSjrc0klZY6MhJC4nZoq DN2nfZosFihBqD0sumZ/q/AymfYAbTgCuUsWSAdsLkigrqRRelLcFUlCw9e5GkKmGN8n hGeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=R4LYDjt0; 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 j7-v6si14646498plk.51.2018.11.11.08.19.08; Sun, 11 Nov 2018 08:19:42 -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=@lunn.ch header.s=20171124 header.b=R4LYDjt0; 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 S1729036AbeKLCH0 (ORCPT + 99 others); Sun, 11 Nov 2018 21:07:26 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:58778 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728802AbeKLCH0 (ORCPT ); Sun, 11 Nov 2018 21:07:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=SC0HJRaeJBoX+QC2Dr3woekI/I7k51jz4WN73CHIMUY=; b=R4LYDjt0ViQgJzGQ0A2WtlPIGWd/6ljp5x09DHte3NBGeGcjm3Tzp89N11C8xd15XBdgZN41TP/T5ZQIfU44NEtNbCtcM/52HbQZFa4udDxBn76HDYK6/gOHMmhyGtJx8yzJ08otVJNsZ+eiHF/z2wMkUJoV/gdbyd+Tc1DqNSI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gLsRL-0004Do-05; Sun, 11 Nov 2018 17:18:22 +0100 Date: Sun, 11 Nov 2018 17:18:22 +0100 From: Andrew Lunn To: Salil Mehta Cc: "davem@davemloft.net" , "yuvalm@mellanox.com" , "leon@kernel.org" , "Zhuangyuzeng (Yisen)" , "lipeng (Y)" , "mehta.salil@opnsrc.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-rdma@vger.kernel.org" , Linuxarm Subject: Re: [RFC PATCH 00/10] net: hns3: Adds support of debugfs to HNS3 driver Message-ID: <20181111161822.GC15953@lunn.ch> References: <20181109220743.10264-1-salil.mehta@huawei.com> <20181109224346.GD5259@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Agreed. But what about if we want to expose anything related to > firmware to user-space using the debugfs, assuming we are presenting > information in structured way and not as a black-box to some user-space > application. Is it something which might be discouraged? Hi Salil Please take a look at devlink. Mellonex have been adding commands to it for dumping firmware states. Andrew