Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3159564imu; Sun, 11 Nov 2018 08:48:39 -0800 (PST) X-Google-Smtp-Source: AJdET5emJm2BXr+615fPFhhFfKWLerNdL2iyg87H461xNh/IKBm4XFSkClvc7r86XVNua5zXdG8g X-Received: by 2002:a17:902:b48b:: with SMTP id y11-v6mr8227837plr.135.1541954919084; Sun, 11 Nov 2018 08:48:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541954919; cv=none; d=google.com; s=arc-20160816; b=DL+hnSFbO76HmQe3WeN2SAogYJpDZDYqZUj4fZnl3/wJfgVFYRS+vrnIjZwDtJ7wEY afK3kPn3yt+J9y+2W1ujy3vkwpoSN81x2OHF2nZttjOGx+5nxTW63D2RY1RjHilGkFLc A0CY5nhiJseiM/u/MfvsPIBIWAofvI2vBtKcM6hDeTw9efUa0MMhoR8i88S6SbE/raDD tXAjtGI0qdbJV5Mp6QSYXQbCMwDpOhB5uZIz98Gvq3AZjytCJhXVkdMK0LgPklOFPctf UBy0/e69+rj5RKfxqfk70J+VIjB2LDpdJMmfdbiMC/aOdWhKo0ZG6vV9S9AAYSrESTUI JMiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=QMvnR9OpaCkGLYmyvg0UnN90kMUv9nmvVGLP5V9nNHQ=; b=QIl2hGfSg19r+arRw1YDyUNmx6KRdmUulwNTTCgU25EmBoLM/0S090fzWLQqyBuhlo 3OasyAYt6wjWyCPpjvQI5FIg7TkqaWWtW6RJVrcQiU3QtFVnzK4swieroaCjFefMOm/m 6X2Dy7M9p4YxOO6cMJCXqpY1APkRn1gXccWaDafmhwU4Yr82vqZKP4i6fx7ILcnJcwoG RXwUr3QaGTPNEYaGVvccHYnk/R97GuBRv2KpgxApDoA+AGfBR8DWNK3Xu0NNcYAPsq5J ghANWhd8lLhheAj6rOlYYrs7C/1ZBwyp9/i4REF6O5v0P6PJkT6xUdw6AlC+j8SHo5X+ V0GA== 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 z10-v6si13509352pgv.487.2018.11.11.08.48.23; Sun, 11 Nov 2018 08:48:39 -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; 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 S1729230AbeKLChC convert rfc822-to-8bit (ORCPT + 99 others); Sun, 11 Nov 2018 21:37:02 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:32733 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728378AbeKLChC (ORCPT ); Sun, 11 Nov 2018 21:37:02 -0500 Received: from lhreml703-cah.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 757A76DE25D0C; Sun, 11 Nov 2018 16:47:11 +0000 (GMT) Received: from FRAEML701-CAH.china.huawei.com (10.206.14.32) by lhreml703-cah.china.huawei.com (10.201.108.44) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 11 Nov 2018 16:47:12 +0000 Received: from FRAEML521-MBS.china.huawei.com ([169.254.2.209]) by FRAEML701-CAH.china.huawei.com ([10.206.14.32]) with mapi id 14.03.0415.000; Sun, 11 Nov 2018 17:47:05 +0100 From: Salil Mehta To: Andrew Lunn 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 Thread-Topic: [RFC PATCH 00/10] net: hns3: Adds support of debugfs to HNS3 driver Thread-Index: AQHUeHjKl7L/rK4Ga0KUIgRpv+IpHaVH+aMAgAKzxPCAAAU4AIAAGG2g Date: Sun, 11 Nov 2018 16:47:04 +0000 Message-ID: References: <20181109220743.10264-1-salil.mehta@huawei.com> <20181109224346.GD5259@lunn.ch> <20181111161822.GC15953@lunn.ch> In-Reply-To: <20181111161822.GC15953@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.47.88.183] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Sunday, November 11, 2018 4:18 PM > 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 > > > 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. sure, thanks for the info. Ill check. Salil.