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 which context

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

2016-06-11 Thread Takashi Sakamoto
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

cron job: media_tree daily build: ERRORS

2016-06-11 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Sun Jun 12 04:00:43 CEST 2016 git branch: test git hash: cc650b65bea5613f04a0523c3ee2b91df371e175 gcc

Re: [PATCH v4] [media] vimc: Virtual Media Controller core, capture and sensor

2016-06-11 Thread kbuild test robot
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.7-rc2 next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v4] [media] vimc: Virtual Media Controller core, capture and sensor

2016-06-11 Thread kbuild test robot
Hi, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.7-rc2 next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
From: Henrik Austad This defines the general TSN headers for network packets, the shim-interface and the central 'tsn_list' structure. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- include/linux/tsn.h | 806

[very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
From: Henrik Austad In short summary: * tsn_core.c is the main driver of tsn, all new links go through here and all data to/form the shims are handled here core also manages the shim-interface. * tsn_configfs.c is the API to userspace. TSN is driven from userspace and

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

2016-06-11 Thread Henrik Austad
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. It has been floating around in my repo for a while and I would appreciate some feedback on the overall design to avoid doing some major blunders. TSN: Time Sensitive

[very-RFC 6/8] Add TSN event-tracing

2016-06-11 Thread Henrik Austad
From: Henrik Austad This needs refactoring and should be updated to use TRACE_CLASS, but for now it provides a fair debug-window into TSN. Cc: "David S. Miller" Cc: Steven Rostedt (maintainer:TRACING) Cc: Ingo Molnar

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- Documentation/TSN/tsn.txt |

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
TSN provides a mechanism to create reliable, jitter-free, low latency guaranteed bandwidth links over a local network. It does this by reserving a path through the network. Support for TSN must be found in both the NIC as well as in the network itself. This adds required hooks into netdev_ops so

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc. To use as a

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
This adds support for loading the igb.ko module with tsn capabilities. This requires a 2-step approach. First enabling TSN in .config, then load the module with use_tsn=1. Once enabled and loaded, the controller will be placed in "Qav-mode" which is when the credit-based shaper is available, 3 of

Re: [very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread David Miller
Not as a reply, fresh new patch postings. :-/ -- 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 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:18AM +0200, Henrik Austad wrote: > From: Henrik Austad > > In short summary: > > * tsn_core.c is the main driver of tsn, all new links go through > here and all data to/form the shims are handled here > core also

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > Cc: "David S. Miller"

Re: [very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:16AM +0200, Henrik Austad wrote: > This adds support for loading the igb.ko module with tsn > capabilities. This requires a 2-step approach. First enabling TSN in > .config, then load the module with use_tsn=1. > > Once enabled and loaded,

Re: [very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
Clearing up netdev-typo -H On Sun, Jun 12, 2016 at 12:22:17AM +0200, Henrik Austad wrote: > From: Henrik Austad > > This defines the general TSN headers for network packets, the > shim-interface and the central 'tsn_list' structure. > > Cc: "David S. Miller"

Re: [very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
clearing up netdev-typo On Sun, Jun 12, 2016 at 12:22:15AM +0200, Henrik Austad wrote: > TSN provides a mechanism to create reliable, jitter-free, low latency > guaranteed bandwidth links over a local network. It does this by > reserving a path through the network. Support for TSN must be found

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sat, Jun 11, 2016 at 03:49:42PM -0700, David Miller wrote: > From: Henrik Austad > Date: Sun, 12 Jun 2016 00:47:28 +0200 > > > What would be the best approach? Resend series to netdev@vger? I don't want > > to spam too many lists either. > > Resend to all the lists. ok,

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

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:13AM +0200, Henrik Austad wrote: > Hi all Sorry.. I somehow managed to mess up the address to netdev, so if you feel like replying to this, use this as it has the correct netdev-address. again, sorry > (series based on v4.7-rc2) > > This is a *very* early RFC for

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:22:14AM +0200, Henrik Austad wrote: > From: Henrik Austad Clearing up the netdev-typo > > Describe the overall design behind the TSN standard, the TSN-driver, > requirements to userspace and new functionality introduced. > > Cc: "David S. Miller"

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread David Miller
From: Henrik Austad Date: Sun, 12 Jun 2016 00:47:28 +0200 > What would be the best approach? Resend series to netdev@vger? I don't want > to spam too many lists either. Resend to all the lists. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
On Sat, Jun 11, 2016 at 03:35:10PM -0700, David Miller wrote: > > Networking patches not CC:'d to net...@vger.kernel.org are unlikely to > be reviewed by networking developers at all. Oh no! I messed up git send-email and wrote linux-netdev@vger instead of netdev@vger. What would be the best

[PATCH 1/2] [media] v4l2-subdev.h: allow V4L2_FRMIVAL_TYPE_CONTINUOUS & _STEPWISE

2016-06-11 Thread Philippe De Muyter
add max_interval and step_interval to struct v4l2_subdev_frame_interval_enum. When filled correctly by the sensor driver, those fields must be used as follows by the intermediate level : struct v4l2_frmivalenum *fival; struct v4l2_subdev_frame_interval_enum fie; if

[PATCH 2/2] media: mx6-camif: add V4L2_FRMIVAL_TYPE_STEPWISE & _CONTINUOUS

2016-06-11 Thread Philippe De Muyter
Signed-off-by: Philippe De Muyter --- drivers/staging/media/imx6/capture/mx6-camif.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/imx6/capture/mx6-camif.c b/drivers/staging/media/imx6/capture/mx6-camif.c index

[very-RFC 7/8] AVB ALSA - Add ALSA shim for TSN

2016-06-11 Thread Henrik Austad
From: Henrik Austad This exposes a *very* rudimentary and simplistic ALSA driver that hooks into TSN to create a device for userspace. It currently only supports 44.1/48kHz sampling, 2ch, S16_LE Userspace is supposed to reserve bandwidth, find StreamID etc. To use as a

Re: [very-RFC 1/8] TSN: add documentation

2016-06-11 Thread David Miller
Networking patches not CC:'d to net...@vger.kernel.org are unlikely to be reviewed by networking developers at all. -- 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

[very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-11 Thread Henrik Austad
From: Henrik Austad In short summary: * tsn_core.c is the main driver of tsn, all new links go through here and all data to/form the shims are handled here core also manages the shim-interface. * tsn_configfs.c is the API to userspace. TSN is driven from userspace and

[very-RFC 2/8] TSN: Add the standard formerly known as AVB to the kernel

2016-06-11 Thread Henrik Austad
TSN provides a mechanism to create reliable, jitter-free, low latency guaranteed bandwidth links over a local network. It does this by reserving a path through the network. Support for TSN must be found in both the NIC as well as in the network itself. This adds required hooks into netdev_ops so

[very-RFC 8/8] MAINTAINERS: add TSN/AVB-entries

2016-06-11 Thread Henrik Austad
From: Henrik Austad Not sure how relevant this is other than making a point about maintaining it. Signed-off-by: Henrik Austad --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[very-RFC 3/8] Adding TSN-driver to Intel I210 controller

2016-06-11 Thread Henrik Austad
This adds support for loading the igb.ko module with tsn capabilities. This requires a 2-step approach. First enabling TSN in .config, then load the module with use_tsn=1. Once enabled and loaded, the controller will be placed in "Qav-mode" which is when the credit-based shaper is available, 3 of

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

2016-06-11 Thread Henrik Austad
Hi all (series based on v4.7-rc2) This is a *very* early RFC for a TSN-driver in the kernel. It has been floating around in my repo for a while and I would appreciate some feedback on the overall design to avoid doing some major blunders. TSN: Time Sensitive Networking, formely known as AVB

[very-RFC 1/8] TSN: add documentation

2016-06-11 Thread Henrik Austad
From: Henrik Austad Describe the overall design behind the TSN standard, the TSN-driver, requirements to userspace and new functionality introduced. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- Documentation/TSN/tsn.txt |

[very-RFC 4/8] Add TSN header for the driver

2016-06-11 Thread Henrik Austad
From: Henrik Austad This defines the general TSN headers for network packets, the shim-interface and the central 'tsn_list' structure. Cc: "David S. Miller" Signed-off-by: Henrik Austad --- include/linux/tsn.h | 806

[very-RFC 6/8] Add TSN event-tracing

2016-06-11 Thread Henrik Austad
From: Henrik Austad This needs refactoring and should be updated to use TRACE_CLASS, but for now it provides a fair debug-window into TSN. Cc: "David S. Miller" Cc: Steven Rostedt (maintainer:TRACING) Cc: Ingo Molnar

Re: [PATCH] userspace API definitions for auto-focus coil

2016-06-11 Thread Sakari Ailus
Hi Ivaylo, On Mon, Jun 06, 2016 at 09:06:29AM +0300, Ivaylo Dimitrov wrote: > Hi, > > On 5.06.2016 22:07, Pavel Machek wrote: > >Add userspace API definitions. > > > >Signed-off-by: Pavel Machek > > > >diff --git a/include/uapi/linux/v4l2-controls.h >

[patch] media: s5p-mfc: fix a couple double frees in probe

2016-06-11 Thread Dan Carpenter
The extra calls to video_device_release() are a bug, we free these after the goto. Fixes: c974c436eaf4 ('s5p-mfc: Fix race between s5p_mfc_probe() and s5p_mfc_open()') Signed-off-by: Dan Carpenter --- This code would be easier to understand if it didn't use "come from"

[PATCH v3 0/2] media: add et8ek8 camera sensor driver and documentation

2016-06-11 Thread Ivaylo Dimitrov
This series adds driver for Toshiba et8ek8 camera sensor found in Nokia N900 Changes from v2: - fix build when CONFIG_PM is not defined Changes from v1: - driver and documentation split into separate patches - removed custom controls - code changed according to the comments on v1 Ivaylo

[PATCH v3 1/2] media: Driver for Toshiba et8ek8 5MP sensor

2016-06-11 Thread Ivaylo Dimitrov
The sensor is found in Nokia N900 main camera Signed-off-by: Ivaylo Dimitrov --- drivers/media/i2c/Kconfig|1 + drivers/media/i2c/Makefile |1 + drivers/media/i2c/et8ek8/Kconfig |6 +

[PATCH v3 2/2] media: et8ek8: Add documentation

2016-06-11 Thread Ivaylo Dimitrov
Add DT bindings description Signed-off-by: Ivaylo Dimitrov --- .../bindings/media/i2c/toshiba,et8ek8.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt diff

Re: [PATCH v2 1/2] media: Driver for Toshiba et8ek8 5MP sensor

2016-06-11 Thread kbuild test robot
-sensor-driver-and-documentation/20160611-191922 base: git://linuxtv.org/media_tree.git master config: m32r-allyesconfig (attached as .config) compiler: m32r-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin

[PATCH v2 1/2] media: Driver for Toshiba et8ek8 5MP sensor

2016-06-11 Thread Ivaylo Dimitrov
The sensor is found in Nokia N900 main camera Signed-off-by: Ivaylo Dimitrov --- drivers/media/i2c/Kconfig|1 + drivers/media/i2c/Makefile |1 + drivers/media/i2c/et8ek8/Kconfig |6 +

[PATCH v2 0/2] media: add et8ek8 camera sensor driver and documentation

2016-06-11 Thread Ivaylo Dimitrov
This series adds driver for Toshiba et8ek8 camera sensor found in Nokia N900 Changes from v2: - driver and documentation split into separate patches - removed custom controls - code changed according to the comments on v1 Ivaylo Dimitrov (2): media: Driver for Toshiba et8ek8 5MP sensor

[PATCH v2 2/2] media: et8ek8: Add documentation

2016-06-11 Thread Ivaylo Dimitrov
Add DT bindings description Signed-off-by: Ivaylo Dimitrov --- .../bindings/media/i2c/toshiba,et8ek8.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.txt diff