From: Henrik Austad <henrik@austad.us>
To: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: netdev@vger.kernel.org, alsa-devel@alsa-project.org,
linux-media@vger.kernel.org, alsa-devel@vger.kernel.org,
henrk@austad.us
Subject: Re: [very-RFC 0/8] TSN driver for the kernel
Date: Sun, 12 Jun 2016 10:28:52 +0200 [thread overview]
Message-ID: <20160612082852.GA32724@icarus.home.austad.us> (raw)
In-Reply-To: <575CD93C.50006@sakamocchi.jp>
[-- Attachment #1.1: Type: text/plain, Size: 2919 bytes --]
On Sun, Jun 12, 2016 at 12:38:36PM +0900, Takashi Sakamoto wrote:
> Hi,
>
> I'm one of maintainers for ALSA firewire stack, which handles IEC
> 61883-1/6 and vendor-unique packets on IEEE 1394 bus for consumer
> recording equipments.
> (I'm not in MAINTAINERS because I'm a shy boy.)
>
> IEC 61883-6 describes that one packet can multiplex several types of
> data in its data channels; i.e. Multi Bit Linear Audio data (PCM
> samples), One Bit Audio Data (DSD), MIDI messages and so on.
Hmm, that I did not know, not sure how that applies to AVB, but definately
something I have to look into.
> If you handles packet payload in 'struct snd_pcm_ops.copy', a process
> context of an ALSA PCM applications performs the work. Thus, no chances
> to multiplex data with the other types.
Hmm, ok, I didn't know that, that is something I need to look into -and
incidentally one of the reasons why I posted the series now instead of a
few more months down the road - thanks!
The driver is not adhering fully to any standards right now, the amount of
detail is quite high - but I'm slowly improving as I go through the
standards. Getting on top of all the standards and all the different
subsystems are definately a work in progress (it's a lot to digest!)
> To prevent this situation, current ALSA firewire stack handles packet
> payload in software interrupt context of isochronous context of OHCI
> 1394. As a result of this, the software stack supports PCM substreams
> and MIDI substreams.
>
> In your patcset, there's no actual codes about how to handle any
> interrupt contexts (software / hardware), how to handle packet payload,
> and so on. Especially, for recent sound subsystem, the timing of
> generating interrupts and which context does what works are important to
> reduce playback/capture latency and power consumption.
See reply in other mail :)
> Of source, your intention of this patchset is to show your early concept
> of TSN feature. Nevertheless, both of explaination and codes are
> important to the other developers who have little knowledges about TSN,
> AVB and AES-64 such as me.
Yes, that is one of the things I aimed for, and also getting feedback on
the overall thinking
> And, I might cooperate to prepare for common IEC 61883 layer. For actual
> codes of ALSA firewire stack, please see mainline kernel code. For
> actual devices of IEC 61883-1/6 and IEEE 1394 bus, please refer to my
> report in 2014. At least, you can get to know what to consider about
> developing upper drivers near ALSA userspace applications.
> https://github.com/takaswie/alsa-firewire-report
Thanks, I'll dig into that, much appreciated
> (But I confirm that the report includes my misunderstandings in clause
> 3.4 and 6.2. need more time...)
ok, good to know
Thank you for your input, very much appreicated!
--
Henrik Austad
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
next prev parent reply other threads:[~2016-06-12 8:28 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 23:01 [alsa-devel] [very-RFC 0/8] TSN driver for the kernel Henrik Austad
2016-06-11 23:01 ` [alsa-devel] [very-RFC 1/8] TSN: add documentation Henrik Austad
2016-06-11 23:01 ` Henrik Austad
2016-06-11 23:01 ` [very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel Henrik Austad
2016-06-11 23:01 ` [alsa-devel] " Henrik Austad
2016-06-11 23:01 ` [very-RFC 3/8] Adding TSN-driver to Intel I210 controller Henrik Austad
2016-06-11 23:01 ` [alsa-devel] " Henrik Austad
2016-06-11 23:01 ` [alsa-devel] [very-RFC 4/8] Add TSN header for the driver Henrik Austad
2016-06-11 23:01 ` Henrik Austad
2016-06-11 23:01 ` [alsa-devel] [very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network Henrik Austad
2016-06-11 23:01 ` Henrik Austad
2016-06-11 23:01 ` [alsa-devel] [very-RFC 6/8] Add TSN event-tracing Henrik Austad
2016-06-12 16:58 ` Steven Rostedt
2016-06-12 16:58 ` [alsa-devel] " Steven Rostedt
2016-06-12 21:25 ` Henrik Austad
2016-06-12 21:25 ` [alsa-devel] " Henrik Austad
2016-06-13 2:22 ` Steven Rostedt
2016-06-13 7:20 ` Henrik Austad
2016-06-11 23:01 ` Henrik Austad
2016-06-11 23:01 ` [very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN Henrik Austad
2016-06-11 23:01 ` [alsa-devel] " Henrik Austad
2016-06-15 11:49 ` Richard Cochran
2016-06-15 11:49 ` [alsa-devel] " Richard Cochran
2016-06-15 12:13 ` Henrik Austad
2016-06-15 12:13 ` [alsa-devel] " Henrik Austad
2016-06-15 12:43 ` Richard Cochran
2016-06-15 12:43 ` Richard Cochran
2016-06-11 23:01 ` [alsa-devel] [very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries Henrik Austad
2016-06-11 23:01 ` Henrik Austad
2016-06-12 3:38 ` [very-RFC 0/8] TSN driver for the kernel Takashi Sakamoto
2016-06-12 4:30 ` Takashi Sakamoto
2016-06-12 8:31 ` Henrik Austad
2016-06-12 10:43 ` Takashi Sakamoto
2016-06-12 22:06 ` Henrik Austad
2016-06-12 8:28 ` Henrik Austad [this message]
2016-06-12 9:14 ` Takashi Sakamoto
2016-06-13 11:47 ` Richard Cochran
2016-06-13 11:47 ` [alsa-devel] " Richard Cochran
2016-06-13 13:00 ` Henrik Austad
2016-06-13 13:00 ` [alsa-devel] " Henrik Austad
2016-06-13 19:32 ` Richard Cochran
2016-06-13 19:32 ` [alsa-devel] " Richard Cochran
2016-06-14 9:30 ` Henrik Austad
2016-06-14 9:30 ` [alsa-devel] " Henrik Austad
2016-06-14 18:26 ` Richard Cochran
2016-06-14 20:38 ` Henrik Austad
2016-06-14 20:38 ` [alsa-devel] " Henrik Austad
2016-06-15 7:04 ` Richard Cochran
2016-06-15 7:50 ` Henrik Austad
2016-06-15 7:50 ` Henrik Austad
2016-06-15 11:41 ` [alsa-devel] " Richard Cochran
2016-06-15 11:41 ` Richard Cochran
2016-06-15 7:04 ` Richard Cochran
2016-06-15 7:11 ` [alsa-devel] " Richard Cochran
2016-06-15 7:11 ` Richard Cochran
2016-06-14 18:26 ` Richard Cochran
2016-06-13 19:37 ` Richard Cochran
2016-06-13 19:37 ` [alsa-devel] " Richard Cochran
2016-06-13 13:12 ` Arnd Bergmann
2016-06-13 13:12 ` [alsa-devel] " Arnd Bergmann
2016-06-13 15:56 ` John Fastabend
2016-06-14 8:35 ` Henrik Austad
2016-06-14 8:35 ` [alsa-devel] " Henrik Austad
2016-06-13 15:56 ` John Fastabend
2016-06-13 19:51 ` Richard Cochran
2016-06-13 19:51 ` [alsa-devel] " Richard Cochran
2016-06-14 11:18 ` One Thousand Gnomes
2016-06-14 17:04 ` Richard Cochran
2016-06-14 17:04 ` Richard Cochran
2016-06-15 3:15 ` Takashi Sakamoto
2016-06-15 8:06 ` Richard Cochran
2016-06-18 5:22 ` Takashi Sakamoto
2016-06-18 22:45 ` Henrik Austad
2016-06-19 9:46 ` Richard Cochran
2016-06-20 8:05 ` Henrik Austad
2016-06-19 14:45 ` Takashi Sakamoto
2016-06-20 9:06 ` Henrik Austad
2016-06-21 2:22 ` Takashi Sakamoto
2016-06-20 11:08 ` Pierre-Louis Bossart
2016-06-20 11:49 ` Henrik Austad
2016-06-20 12:18 ` [alsa-devel] " Richard Cochran
2016-06-20 12:31 ` Richard Cochran
2016-06-20 15:21 ` Richard Cochran
2016-06-21 5:54 ` Takashi Iwai
2016-06-21 6:38 ` Richard Cochran
2016-06-21 6:45 ` Takashi Iwai
2016-06-21 17:18 ` Pierre-Louis Bossart
2016-06-21 17:45 ` [alsa-devel] " Pierre-Louis Bossart
2016-06-21 19:40 ` Richard Cochran
2016-06-22 12:36 ` Pierre-Louis Bossart
2016-06-23 10:38 ` [alsa-devel] " Henrik Austad
2016-06-23 13:28 ` Richard Cochran
2016-06-15 3:27 ` Takashi Sakamoto
2016-06-14 11:18 ` One Thousand Gnomes
-- strict thread matches above, loose matches on Subject: below --
2016-06-11 23:01 Henrik Austad
2016-06-11 22:22 [alsa-devel] " Henrik Austad
2016-06-11 22:49 ` Henrik Austad
2016-06-11 22:22 Henrik Austad
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=20160612082852.GA32724@icarus.home.austad.us \
--to=henrik@austad.us \
--cc=alsa-devel@alsa-project.org \
--cc=alsa-devel@vger.kernel.org \
--cc=henrk@austad.us \
--cc=linux-media@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=o-takashi@sakamocchi.jp \
/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).