All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michał Nazarewicz" <m.nazarewicz@samsung.com>
To: felipe.balbi@nokia.com, ext Greg KH <greg@kroah.com>
Cc: "ext Linus Walleij" <linus.ml.walleij@gmail.com>,
	"Linux USB Mailing List" <linux-usb@vger.kernel.org>,
	"Krogerus Heikki (EXT-Teleca/Helsinki)"
	<ext-heikki.krogerus@nokia.com>,
	"Quadros Roger (Nokia-D/Helsinki)" <roger.quadros@nokia.com>,
	"Kaliuta Yauheni (Nokia-D/Helsinki)" <Yauheni.Kaliuta@nokia.com>,
	"Mandy Arnaud.2 (EXT-Teleca/Helsinki)"
	<ext-arnaud.2.mandy@nokia.com>,
	"David Brownell" <david-b@pacbell.net>,
	linux-embedded <linux-embedded@vger.kernel.org>,
	"Tim Bird" <tim.bird@am.sony.com>,
	"libmtp-discuss@lists.sourceforge.net"
	<libmtp-discuss@lists.sourceforge.net>,
	"Michał Nazarewicz" <mina86@mina86.com>
Subject: Re: [RFC/PATCH 0/2] u_char.c and mtp.c patches
Date: Mon, 19 Apr 2010 20:57:18 +0200	[thread overview]
Message-ID: <op.vbfaxsld7p4s8u@pikus> (raw)
In-Reply-To: <20100419172404.GA15340@nokia.com>

>> On Mon, Apr 19, 2010 at 06:55:53PM +0200, Michał Nazarewicz wrote:
>>> 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 <felipe.balbi@nokia.com> 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 driver
on top of FunctionFS before optimising the code) and in particular u_char
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 data
transfers in user space anyway.  At the same time FunctionFS solves evens
end setup requests communication (I'm still wondering whether it would be
better to use separate file for events and for setup requests).

-- 
Best regards,                                           _     _
  .o. | Liege of Serenely Enlightened Majesty of       o' \,=./ `o
  ..o | Computer Science,  Michał "mina86" Nazarewicz     (o o)
  ooo +---[mina86@mina86.com]---[mina86@jabber.org]---ooO--(_)--Ooo--

  reply	other threads:[~2010-04-19 18:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1268123742-22968-1-git-send-email-felipe.balbi@nokia.com>
     [not found] ` <1268123742-22968-1-git-send-email-felipe.balbi-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-18 15:24   ` [RFC/PATCH 0/2] u_char.c and mtp.c patches Linus Walleij
     [not found]     ` <x2m63386a3d1004180824u30bea481t3a11ed889c26b293-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-19 16:10       ` Linus Walleij
2010-04-19 16:26         ` Felipe Balbi
     [not found]           ` <20100419162611.GA15131-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-19 16:55             ` Michał Nazarewicz
2010-04-19 17:15               ` Greg KH
     [not found]                 ` <20100419171534.GA30381-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2010-04-19 17:24                   ` Felipe Balbi
2010-04-19 18:57                     ` Michał Nazarewicz [this message]
2010-04-19 20:04                       ` Felipe Balbi
     [not found]                         ` <20100419200457.GB27643-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-21 10:12                           ` Michał Nazarewicz
2010-04-19 19:23             ` Linus Walleij
2010-04-19 20:07               ` Felipe Balbi
     [not found]                 ` <20100419200727.GC27643-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-19 22:44                   ` Greg KH
2010-04-20  6:22                     ` Felipe Balbi
2010-04-20 23:57                       ` Greg KH
     [not found]                     ` <p2ze3bf744d1004230602nd09a7570jb3cee76f87ba8c00@mail.gmail.com>
     [not found]                       ` <p2ze3bf744d1004230602nd09a7570jb3cee76f87ba8c00-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-23 13:04                         ` [Libmtp-discuss] " Felipe Balbi
     [not found]               ` <p2p63386a3d1004191223jb650984ft37372276e4870e87-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-19 21:03                 ` Steve Calfee
2010-04-19 23:10                   ` Linus Walleij
2010-04-20  8:11                     ` Roger Quadros
     [not found]                       ` <4BCD619B.2000907-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-20 23:44                         ` Linus Walleij
     [not found]                           ` <i2x63386a3d1004201644g685b8ddeo609c6eaa8c07ed1f-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-21  7:07                             ` Roger Quadros
     [not found]                               ` <4BCEA444.20307-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2010-04-21 20:02                                 ` Linus Walleij
     [not found]                   ` <l2s4a5ff6bc1004191403nfe758331h3b70cdfd40568338-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-20  5:21                     ` Felipe Balbi
2010-04-20  7:54               ` Roger Quadros

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=op.vbfaxsld7p4s8u@pikus \
    --to=m.nazarewicz@samsung.com \
    --cc=Yauheni.Kaliuta@nokia.com \
    --cc=david-b@pacbell.net \
    --cc=ext-arnaud.2.mandy@nokia.com \
    --cc=ext-heikki.krogerus@nokia.com \
    --cc=felipe.balbi@nokia.com \
    --cc=greg@kroah.com \
    --cc=libmtp-discuss@lists.sourceforge.net \
    --cc=linus.ml.walleij@gmail.com \
    --cc=linux-embedded@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mina86@mina86.com \
    --cc=roger.quadros@nokia.com \
    --cc=tim.bird@am.sony.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.