Return-path: Received: from sabertooth01.qualcomm.com ([65.197.215.72]:28292 "EHLO sabertooth01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933694AbaD3QN5 (ORCPT ); Wed, 30 Apr 2014 12:13:57 -0400 From: Kalle Valo To: Johannes Berg CC: Bing Zhao , "John W. Linville" , Kalle Valo , "linux-wireless@vger.kernel.org" , Amitkumar Karwar , Avinash Patil , Maithili Hinge , Xinming Hu Subject: Re: [PATCH 2/5] mwifiex: add firmware dump feature for PCIe References: <1397760423-11455-1-git-send-email-bzhao@marvell.com> <1397760423-11455-2-git-send-email-bzhao@marvell.com> <87a9bb5c2c.fsf@purkki.adurom.net> <20140425013756.GA3410@tuxdriver.com> <477F20668A386D41ADCC57781B1F70430F70A2AE8E@SC-VEXCH1.marvell.com> <1398413370.4152.0.camel@jlt4.sipsolutions.net> <8738gvp8md.fsf@qca.qualcomm.com> <1398846593.5408.0.camel@jlt4.sipsolutions.net> Date: Wed, 30 Apr 2014 19:13:56 +0300 In-Reply-To: <1398846593.5408.0.camel@jlt4.sipsolutions.net> (Johannes Berg's message of "Wed, 30 Apr 2014 10:29:53 +0200") Message-ID: <8738guokvv.fsf@qca.qualcomm.com> (sfid-20140430_181401_174730_F4A868EE) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-wireless-owner@vger.kernel.org List-ID: Johannes Berg writes: > On Wed, 2014-04-30 at 10:41 +0300, Kalle Valo wrote: >> Johannes Berg writes: >> >> > On Thu, 2014-04-24 at 20:35 -0700, Bing Zhao wrote: >> > >> >> Sorry about the hassle. We will find a proper way to implement this. >> > >> > FWIW, a pretty simple way is to trigger a uevent or so and have a >> > debugfs file that all the info can be read out from in userspace. >> >> I think we need a similar feature in ath10k as well. Should we have a >> generic interface this, would that make any sense? > > We have it in iwlwifi as well - we were considering a generic uevent but > beyond that I don't think there's much that could be done? I was thinking that it would be nice to avoid rewriting a separate user space dumping tool for each driver and instead have a comman way to retrieve the blobs from the driver. -- Kalle Valo