From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?TWljaGHFgiBOYXphcmV3aWN6?= Subject: Re: [RFC/PATCH 0/2] u_char.c and mtp.c patches Date: Mon, 19 Apr 2010 20:57:18 +0200 Message-ID: References: <1268123742-22968-1-git-send-email-felipe.balbi@nokia.com> <20100419162611.GA15131@nokia.com> <20100419171534.GA30381@kroah.com> <20100419172404.GA15340@nokia.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-reply-to: <20100419172404.GA15340@nokia.com> Sender: linux-embedded-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed delsp=yes" To: felipe.balbi@nokia.com, ext Greg KH Cc: ext Linus Walleij , Linux USB Mailing List , "Krogerus Heikki (EXT-Teleca/Helsinki)" , "Quadros Roger (Nokia-D/Helsinki)" , "Kaliuta Yauheni (Nokia-D/Helsinki)" , "Mandy Arnaud.2 (EXT-Teleca/Helsinki)" , David Brownell , linux-embedded , Tim Bird , "libmtp-discuss@lists.sourceforge.net" , =?utf-8?B?TWljaGHFgiBOYXphcmV3aWN6?= >> On Mon, Apr 19, 2010 at 06:55:53PM +0200, Micha=C5=82 Nazarewicz wro= te: >>> On related news, I've just posted FunctionFS driver. :) It's still = imperfect >>> but appears to be working. > On Mon, Apr 19, 2010 at 07:15:34PM +0200, ext Greg KH wrote: >> Yes, that should solve the gadgetfs issue for you, right Felipe? On Mon, 19 Apr 2010 19:24:04 +0200, Felipe Balbi wrote: > sure it should. Will take a look at it :-) As I've said it's still imperfect. In particular the throughput won't = be impressive but that's on the TODO list (I first want to put a real driv= er on top of FunctionFS before optimising the code) and in particular u_ch= ar seem to be a good piece to steal code from. ;) Still, as said, I haven= 't analysed possible optimisations just yet. All in all, I believe FunctionFS can work for you as you will handle da= ta transfers in user space anyway. At the same time FunctionFS solves eve= ns end setup requests communication (I'm still wondering whether it would = be better to use separate file for events and for setup requests). --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 "mina86" Nazarewicz (o o) ooo +---[mina86@mina86.com]---[mina86@jabber.org]---ooO--(_)--Ooo--