linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alessandro Rubini <rubini@gnudd.com>
To: michael.hennerich@analog.com
Cc: lars@metafoo.de, jic23@kernel.org, federico.vaga@gmail.com,
	linux-iio@vger.kernel.org, greg@kroah.com,
	device-drivers-devel@blackfin.uclinux.org
Subject: Re: ZIO wiki analysis of IIO and why it doesn't meet there requirements [was Re: Industrial Input Output analysis]
Date: Tue, 29 Nov 2011 15:44:49 +0100	[thread overview]
Message-ID: <20111129144449.GA14261@mail.gnudd.com> (raw)
In-Reply-To: <4ED4D611.7030701@analog.com>

Hello.

> Right now we use IIO to capture single work loads at 250MSPS.
> User space requests - let's say 1M samples, the IIO driver captures and 
> returns data to user space.
> (sounds a bit similar to your use case)

Yes, it's similar.

> Hardware is a Virtex6 FPGA, microblaze softcore running Linux and the 
> converter is a AD9467
> on an FMC-LPC card.

That's similar too. Is the code available somewhere?
 
> The per-sample buffer implementations in IIO are purely optional!
> You can build your own buffer implementation by using the 
> INDIO_BUFFER_HARDWARE flag.

We noticed that flag, but the implementation seemed empty. Actually I
now checked and there are two users, so I'll look better how it is.

I still note that our code is way simpler. We don't deny special
buffers, but they are only needed for dma-aware user space (something
that IIO currently isn't offering even for BUFFER_HARDWARE things).

> But I'm pretty optimistic that there is nothing in IIO which
> prevents me from getting the right solution in place.

No, definitely. We'll keep our eyes open on the project, maybe the
final choice will be IIO for our use case, but it's too early to know.
 
> Ideally there is only one subsytem, and not one targeting low-speed
> and another for high speed.

I disagree. If you were right, iio woudn't be in the kernel, as comedi
was already there. (This doesn't mean I am pushing for in-kernel zio
at this point in time).

Thank you for the information
/alessandro

  parent reply	other threads:[~2011-11-29 14:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAH5GJ0qTW_DwaAVhe6ZjGYg=1CPPVuQQn3biyg+2BuYHp1Hefw@mail.gmail.com>
2011-11-27 11:05 ` ZIO wiki analysis of IIO and why it doesn't meet there requirements [was Re: Industrial Input Output analysis] Jonathan Cameron
2011-11-28 11:08   ` Lars-Peter Clausen
2011-11-28 20:14   ` Federico Vaga
2011-11-28 21:29     ` Jonathan Cameron
2011-11-29  7:10       ` Federico Vaga
2011-11-29 17:11         ` Jonathan Cameron
2011-11-29 19:04           ` Federico Vaga
2011-11-29 11:00   ` Alessandro Rubini
2011-11-29 12:54     ` Michael Hennerich
2011-11-29 14:31     ` Lars-Peter Clausen
2011-11-29 18:05       ` Mark Brown
2011-11-29 14:44     ` Alessandro Rubini [this message]
2011-11-30 15:47       ` [Device-drivers-devel] " Getz, Robin
2011-11-30 16:08       ` Hennerich, Michael
2011-11-29 15:17     ` Alessandro Rubini

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=20111129144449.GA14261@mail.gnudd.com \
    --to=rubini@gnudd.com \
    --cc=device-drivers-devel@blackfin.uclinux.org \
    --cc=federico.vaga@gmail.com \
    --cc=greg@kroah.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=michael.hennerich@analog.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).