Re: [PATCH v2 00/27] Revised full patchset for PCM in-kernel copy support

2017-06-02 Thread Takashi Sakamoto
: doc: Update copy_user, copy_kernel and fill_silence PCM ops Reviewed-by: Takashi Sakamoto <o-taka...@sakamocchi.jp> I did easy test with snd-hda-intel/snd-fireworks in below conditions. Things work well: 1. ALSA application (aplay/arecord) for '__user *' <-> '__kernel *' copyin

Re: [PATCH v2 53/58] firewire: don't break long lines

2016-10-18 Thread Takashi Sakamoto
} > $next=""; > next; > } else { > print $next; > } > $next=""; > } else { > if (m/\"$/) { > if (!m/\\n\"$/) { >

Re: [PATCH 03/57] [media] firewire: don't break long lines

2016-10-15 Thread Takashi Sakamoto
tion > lines. > > Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> I prefer this patch because of the same reason in patch comment. Reviewed-by: Takashi Sakamoto <o-taka...@sakamocchi.jp> > --- > drivers/media/firewire/firedtv-avc.c | 5 +++-- >

Re: [RFC][PATCH 0/2] ALSA: control: export all of TLV related macros to user land

2016-09-10 Thread Takashi Sakamoto
On Sep 10 2016 22:41, Takashi Iwai wrote: > On Sat, 10 Sep 2016 09:25:31 +0200, > Takashi Sakamoto wrote: >> >> On Sep 10 2016 15:44, Takashi Iwai wrote: >>> On Sat, 10 Sep 2016 06:50:14 +0200, >>> Takashi Sakamoto wrote: >>>> >>>>

Re: [RFC][PATCH 0/2] ALSA: control: export all of TLV related macros to user land

2016-09-10 Thread Takashi Sakamoto
On Sep 10 2016 15:44, Takashi Iwai wrote: > On Sat, 10 Sep 2016 06:50:14 +0200, > Takashi Sakamoto wrote: >> >> Hi, >> >> Currently, TLV related protocol is not shared to user land. This is not >> good in a point of application interfaces, because app

[RFC][PATCH 0/2] ALSA: control: export all of TLV related macros to user land

2016-09-09 Thread Takashi Sakamoto
libraries such as alsa-lib, thus I'm optimistic to this concern. As another my concern, the name of these macros are quite simple, as 'TLV_XXX'. It might be help application developers to rename them with a prefix, as 'SNDRV_CTL_TLV_XXX'. (But not yet. I'm a lazy guy.) Takashi Sakamoto (2): ALSA

[RFC][PATCH 1/2] ALSA: control: export layout of TLV payload to UAPI header

2016-09-09 Thread Takashi Sakamoto
to an element set. However, as described above, layout of the payload is closed in kernel land. This is quite inconvenient, too. This commit moves the protocol to UAPI header for TLV. According to this change, an old header is obsoleted. Signed-off-by: Takashi Sakamoto <o-taka...@sakamocchi.jp> --- i

[RFC][PATCH 2/2] ALSA: control: replace include statements for UAPI TLV header

2016-09-09 Thread Takashi Sakamoto
, the drivers should be changed as soon as possible, because the header might be removed in future release. Signed-off-by: Takashi Sakamoto <o-taka...@sakamocchi.jp> --- Documentation/DocBook/writing-an-alsa-driver.tmpl | 2 +- Documentation/sound/alsa/Channel-Mapping-API.txt | 2 +- drivers/med

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Takashi Sakamoto
On 2016年06月20日 18:06, Henrik Austad wrote: On Sun, Jun 19, 2016 at 11:45:47PM +0900, Takashi Sakamoto wrote: (remove C.C. to lkml. This is not so major feature.) On Jun 19 2916 07:45, Henrik Austad wrote: snip 802.1Q gives you low latency through the network, but more importantly, no dropped

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-19 Thread Takashi Sakamoto
o me. Then I'll drop out from this thread. History Repeats itself. Takashi Sakamoto -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-17 Thread Takashi Sakamoto
016 at 12:15:24PM +0900, Takashi Sakamoto wrote: >>> On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote: >>>> I have seen audio PLL/multiplier chips that will take, for example, a >>>> 10 kHz input and produce your 48 kHz media clock. With the right H

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Takashi Sakamoto
ew developers can tell you, I think. Regards Takashi Sakamoto -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-14 Thread Takashi Sakamoto
ivers know specifications of endpoints, userspace applications can start PCM substreams correctly. [1] In detail, please refer to specification of 1394TA I introduced: http://www.spinics.net/lists/netdev/msg381259.html [2] I guess that IEC 61883-1/6 packet for Ethernet-AVB is a mutant from or

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-12 Thread Takashi Sakamoto
On Jun 12 2016 17:31, Henrik Austad wrote: > On Sun, Jun 12, 2016 at 01:30:24PM +0900, Takashi Sakamoto wrote: >> On Jun 12 2016 12:38, Takashi Sakamoto wrote: >>> In your patcset, there's no actual codes about how to handle any >>> interrupt contexts (software / hard

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-12 Thread Takashi Sakamoto
On Jun 12 2016 17:28, Henrik Austad wrote: > On Sun, Jun 12, 2016 at 12:38:36PM +0900, Takashi Sakamoto wrote: >> 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 >> recordin

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Takashi Sakamoto
On Jun 12 2016 12:38, Takashi Sakamoto wrote: > 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 w

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-11 Thread Takashi Sakamoto
that the report includes my misunderstandings in clause 3.4 and 6.2. need more time...) Regards Takashi Sakamoto On Jun 12 2016 08:01, Henrik Austad wrote: > Hi all > (series based on v4.7-rc2, now with the correct netdev) > > This is a *very* early RFC for a TSN-driver in the kernel.