Re: [PATCH] lirc.4: remove ioctls and feature bits which were never implemented

2018-10-30 Thread Michael Kerrisk (man-pages)
Hello Sean, On 4/23/18 12:26 PM, Sean Young wrote:> The lirc header file included ioctls and feature bits which were never > implemented by any driver. They were removed in commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d55f09abe24b4dfadab246b6f217da54736

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-10-30 Thread Christoph Hellwig
On Wed, Oct 31, 2018 at 12:00:12AM +0200, Laurent Pinchart wrote: > As discussed before, we're clearly missing a proper non-coherent memory > allocation API. As much as I would like to see a volunteer for this, I don't > think it's a reason to block the performance improvement we get from this >

cron job: media_tree daily build: OK

2018-10-30 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: Wed Oct 31 05:00:10 CET 2018 media-tree git hash:3b796aa60af087f5fec75aee9b17f2130f2b9adc media_build git

Re: KASAN: null-ptr-deref Write in kthread_stop

2018-10-30 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6201f31a39f8 Add linux-next specific files for 20181030 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=179da7cb40 kernel config: https://syzkaller.appspot.com/x/.config?x

Re: [RFC 2/3] USB: core: Add non-coherent buffer allocation helpers

2018-10-30 Thread Tomasz Figa
Hi Christoph and everyone, On Fri, Aug 31, 2018 at 3:51 PM Tomasz Figa wrote: > > On Fri, Aug 31, 2018 at 2:50 PM Christoph Hellwig wrote: > > > > On Thu, Aug 30, 2018 at 07:11:35PM -0300, Ezequiel Garcia wrote: > > > On Thu, 2018-08-30 at 10:58 -0700, Christoph Hellwig wrote: > > > > Please don

Re: [PATCH] dvb: Allow MAC addresses to be mapped to stable device names with udev

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 22:32:50 + Sean Young escreveu: Thanks for reviewing it! > On Tue, Oct 30, 2018 at 11:03:19AM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 24 Sep 2018 11:10:31 +0100 > > David Howells escreveu: > > > > > Some devices, such as the DVBSky S952 and T982 cards, are dua

Re: [PATCH 1/7] dt-bindings: mfd: ds90ux9xx: add description of TI DS90Ux9xx ICs

2018-10-30 Thread Vladimir Zapolskiy
Hi Luca, thank you for review, please find my comments below. On 10/30/2018 06:43 PM, Luca Ceresoli wrote: > Hi Vladimir, > > On 08/10/18 23:11, Vladimir Zapolskiy wrote: >> From: Sandeep Jain >> >> The change adds device tree binding description of TI DS90Ux9xx >> series of serializer and dese

Re: [PATCH v3 2/9] media: tvp5150: fix irq_request error path during probe

2018-10-30 Thread Laurent Pinchart
Hi Marco, Thank you for the patch. On Tuesday, 18 September 2018 16:14:46 EEST Marco Felsch wrote: > Commit 37c65802e76a ("media: tvp5150: Add sync lock interrupt handling") > introduced the interrupt handling. But we have to free the > v4l2_ctrl_handler before we can return the error code. > >

Re: [PATCH] dvb: Allow MAC addresses to be mapped to stable device names with udev

2018-10-30 Thread Sean Young
On Tue, Oct 30, 2018 at 11:03:19AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 24 Sep 2018 11:10:31 +0100 > David Howells escreveu: > > > Some devices, such as the DVBSky S952 and T982 cards, are dual port cards > > that provide two cx23885 devices on the same PCI device, which means the > > at

Re: [PATCH v2 6/6] dt-bindings: media: mt9m111: add pclk-sample property

2018-10-30 Thread Rob Herring
On Mon, 29 Oct 2018 19:24:10 +0100, Marco Felsch wrote: > Add the pclk-sample property to the list of optional properties > for the mt9m111 camera sensor. > > Signed-off-by: Marco Felsch > --- > Documentation/devicetree/bindings/media/i2c/mt9m111.txt | 5 + > 1 file changed, 5 insertions(+)

Re: [PATCH v2 5/6] dt-bindings: media: mt9m111: adapt documentation to be more clear

2018-10-30 Thread Rob Herring
On Mon, Oct 29, 2018 at 07:24:09PM +0100, Marco Felsch wrote: > Replace the vague binding by a more verbose. Remove the remote property > from the example since the driver don't support such a property. Also > remove the bus-width property from the endpoint since the driver don't > take care of it.

Re: divide error in vivid_vid_cap_s_dv_timings

2018-10-30 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:6201f31a39f8 Add linux-next specific files for 20181030 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=178f699940 kernel config: https://syzkaller.appspot.com/x/.config?x

Re: [PATCH v5 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer

2018-10-30 Thread Laurent Pinchart
Hi Matwey, (CC'ing Christoph) Thank you for the patch, and my apologies for the late answer. For the record, I don't think this should have been blocked by lack of time on my side: even if I'm one of the core developers in the subsystem, and possibly have the most experience with USB webcams r

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread jacopo mondi
On Tue, Oct 30, 2018 at 05:35:23PM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 30 Oct 2018 21:28:57 +0100 > jacopo mondi escreveu: > > > Hi Mauro, > > > > On Tue, Oct 30, 2018 at 09:14:09AM -0300, Mauro Carvalho Chehab wrote: > > > Em Tue, 30 Oct 2018 01:21:34 +0200 > > > Sakari Ailus escreveu:

Re: general protection fault in __vb2_queue_free

2018-10-30 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:11743c56785c Merge tag 'rpmsg-v4.20' of git://github.com/a.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14c8eb5b40 kernel config: https://syzkaller.appspot.com/x/.config?x=939320

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 21:28:57 +0100 jacopo mondi escreveu: > Hi Mauro, > > On Tue, Oct 30, 2018 at 09:14:09AM -0300, Mauro Carvalho Chehab wrote: > > Em Tue, 30 Oct 2018 01:21:34 +0200 > > Sakari Ailus escreveu: > > > > > The SoC camera framework has been obsolete for some time and it is no >

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread jacopo mondi
Hi Mauro, On Tue, Oct 30, 2018 at 09:14:09AM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 30 Oct 2018 01:21:34 +0200 > Sakari Ailus escreveu: > > > The SoC camera framework has been obsolete for some time and it is no > > longer functional. A few drivers have been converted to the V4L2 > > sub-d

general protection fault in __vb2_queue_free

2018-10-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:11743c56785c Merge tag 'rpmsg-v4.20' of git://github.com/a.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14bf171340 kernel config: https://syzkaller.appspot.com/x/.config?x=93932074d01b4a5 das

WARNING in vb2_core_reqbufs

2018-10-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:11743c56785c Merge tag 'rpmsg-v4.20' of git://github.com/a.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16680f9d40 kernel config: https://syzkaller.appspot.com/x/.config?x=93932074d01b4a5 das

Re: uvcvideo: IR camera lights only every second frame

2018-10-30 Thread Laurent Pinchart
Hello, On Tuesday, 30 October 2018 17:48:12 EET Kieran Bingham wrote: > On 30/10/2018 14:36, Jiri Slaby wrote: > > Hi, > > > > I have a Dell Lattitude 7280 with two webcams. The standard one works > > fine (/dev/video0). The other one is an IR camera (/dev/video1). The > > camera proper works fin

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-30 Thread Luca Ceresoli
Hi Vladimir, On 16/10/18 14:48, Laurent Pinchart wrote: > Hi Vladimir, > > On Saturday, 13 October 2018 16:47:48 EEST Vladimir Zapolskiy wrote: >> On 10/12/2018 03:01 PM, Laurent Pinchart wrote: >>> On Tuesday, 9 October 2018 00:12:01 EEST Vladimir Zapolskiy wrote: From: Vladimir Zapolskiy

Re: [PATCH 2/7] dt-bindings: mfd: ds90ux9xx: add description of TI DS90Ux9xx I2C bridge

2018-10-30 Thread Luca Ceresoli
Hi Vladimir, On 08/10/18 23:12, Vladimir Zapolskiy wrote: > From: Vladimir Zapolskiy > > TI DS90Ux9xx de-/serializers are capable to route I2C messages to > I2C slave devices connected to a remote de-/serializer in a pair, > the change adds description of device tree bindings of the subcontrolle

Re: [PATCH 1/7] dt-bindings: mfd: ds90ux9xx: add description of TI DS90Ux9xx ICs

2018-10-30 Thread Luca Ceresoli
Hi Vladimir, On 08/10/18 23:11, Vladimir Zapolskiy wrote: > From: Sandeep Jain > > The change adds device tree binding description of TI DS90Ux9xx > series of serializer and deserializer controllers which support video, > audio and control data transmission over FPD-III Link connection. [...] >

Re: [PATCH 4/7] mfd: ds90ux9xx: add TI DS90Ux9xx de-/serializer MFD driver

2018-10-30 Thread Luca Ceresoli
Hi Vladimir, On 23/10/18 10:16, Vladimir Zapolskiy wrote: > Hi Laurent, > > On 10/12/2018 02:59 PM, Vladimir Zapolskiy wrote: >> Hello Laurent. >> >> On 10/12/2018 04:01 PM, Laurent Pinchart wrote: >>> Hello Vladimir, >>> > > ... > >>> then move to the driver side. In that area I would like to

Re: [PATCH 2/2] media: video-i2c: hwmon: constify vb2_ops structure

2018-10-30 Thread Matt Ranostay
On Tue, Oct 30, 2018 at 9:06 AM Julia Lawall wrote: > > The vb2_ops structure can be const as it is only stored in the ops > field of a vb2_queue structure and this field is const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Matt Ranostay > > --- > drivers/

i.MX6: can't capture on MIPI-CSI2 with DS90UB954

2018-10-30 Thread Jean-Michel Hautbois
Hi there, I am using the i.MX6D from Digi (connect core 6 sbc) with a mailine kernel (well, 4.14 right now) and have an issue with mipi-csi2 capture. First I will give brief explanation of my setup, and then I will detail the issue. I have a camera sensor (OV2732, but could be any other sensor) co

[PATCH dvb v1 4/4] media: dvb_frontend: remove __func__ from dev_dbg()

2018-10-30 Thread Victor Toso
From: Victor Toso As dynamic debug can be instructed to add the function name to the debug output using +f switch, we can remove __func__ from all dev_dbg() calls. If not, a user that sets +f in dynamic debug would get duplicated function name. Signed-off-by: Victor Toso --- drivers/media/dvb-

[PATCH dvb v1 3/4] media: dvb-usb-v2: remove __func__ from dev_dbg()

2018-10-30 Thread Victor Toso
From: Victor Toso As dynamic debug can be instructed to add the function name to the debug output using +f switch, we can remove __func__ from all dev_dbg() calls. If not, a user that sets +f in dynamic debug would get duplicated function name. Signed-off-by: Victor Toso --- drivers/media/usb/

[PATCH dvb v1 2/4] media: dvb: Use WARM definition from identify_state()

2018-10-30 Thread Victor Toso
From: Victor Toso Device should be either COLD or WARM. This change only make usage of the existing definition. Signed-off-by: Victor Toso --- drivers/media/usb/dvb-usb-v2/dvb_usb_core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvb_

[PATCH dvb v1 1/4] af9033: Remove duplicated switch statement

2018-10-30 Thread Victor Toso
From: Victor Toso The switch before set is_af9035 or is_it9135 which makes the second switch redundant. Keeping the comment as to avoid sleep on IT9135. Signed-off-by: Victor Toso --- drivers/media/dvb-frontends/af9033.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff

[PATCH dvb v1 0/4] miscellaneous changes

2018-10-30 Thread Victor Toso
From: Victor Toso Hi, As mentioned on IRC earlier [0], I'm trying to learn a bit about Kernel and I'm using a usb dongle for dvb-t, which seems to work fine, for that. Two patches are related to dynamic debug that I have enabled and it ends up printing doubled function name. The other two patch

[PATCH 0/2] constify vb2_ops structures

2018-10-30 Thread Julia Lawall
The vb2_ops structures can be const as they are only stored in the ops field of a vb2_queue structure and this field is const. Done with the help of Coccinelle. --- drivers/media/i2c/video-i2c.c |2 +- drivers/usb/gadget/function/uvc_queue.c |2 +- 2 files changed, 2 insertion

[PATCH 2/2] media: video-i2c: hwmon: constify vb2_ops structure

2018-10-30 Thread Julia Lawall
The vb2_ops structure can be const as it is only stored in the ops field of a vb2_queue structure and this field is const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/media/i2c/video-i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: uvcvideo: IR camera lights only every second frame

2018-10-30 Thread Kieran Bingham
Hi Jiri, On 30/10/2018 14:36, Jiri Slaby wrote: > Hi, > > I have a Dell Lattitude 7280 with two webcams. The standard one works > fine (/dev/video0). The other one is an IR camera (/dev/video1). The > camera proper works fine and produces 340x374 frames. But there is an IR > led supposed to light

Re: [PATCH 4/4] SoC camera: Tidy the header

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 01:00:29 +0200 Sakari Ailus escreveu: > Clean up the SoC camera framework header. It only exists now to keep board > code compiling. The header can be removed once the board code dependencies > to it has been removed. > > Signed-off-by: Sakari Ailus > --- > include/media/so

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 01:21:34 +0200 Sakari Ailus escreveu: > The SoC camera framework has been obsolete for some time and it is no > longer functional. A few drivers have been converted to the V4L2 > sub-device API but for the rest the conversion has not taken place yet. > > In order to keep the

Re: Adding to input-event-codes.h - feedback welcome

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 23 Oct 2018 06:55:13 -0700 VDR User escreveu: > Hi, > > I've noticed a lot of common & useful remote control buttons are > missing. I'd like to suggest or submit patches to add some of them > since Linux is so wildly used for media playback (via remote > controls). I've spoken to Sean Yo

uvcvideo: IR camera lights only every second frame

2018-10-30 Thread Jiri Slaby
Hi, I have a Dell Lattitude 7280 with two webcams. The standard one works fine (/dev/video0). The other one is an IR camera (/dev/video1). The camera proper works fine and produces 340x374 frames. But there is an IR led supposed to light the object. The video is 30fps, but the LED seems to emit li

Re: [PATCH] dvb: Allow MAC addresses to be mapped to stable device names with udev

2018-10-30 Thread Mauro Carvalho Chehab
Em Mon, 24 Sep 2018 11:10:31 +0100 David Howells escreveu: > Some devices, such as the DVBSky S952 and T982 cards, are dual port cards > that provide two cx23885 devices on the same PCI device, which means the > attributes available for writing udev rules are exactly the same, apart > from the ad

VIVID/VIMC and media fuzzing

2018-10-30 Thread Dmitry Vyukov
Hello Helen and linux-media, I've attended your talk "Shifting Media App Development into High Gear" on OSS Summit last week and approached you with some questions if/how this can be used for kernel testing. Thanks, turn out to be a very useful talk! I am working on syzkaller/syzbot, continuous k

[GIT PULL for v4.20-rc1] new experimental media request API

2018-10-30 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media tags/media/v4.20-2 For a new media API: the request API This API is needed to support device drivers that can dynamically change their parameters for each new frame. The latest versions of Google c

Re: [PATCH v12 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-10-30 Thread Laurent Pinchart
Hi Yong, Thank you for the patch. On Tuesday, 30 October 2018 10:12:23 EET Yong Deng wrote: > Add binding documentation for Allwinner V3s CSI. > > Acked-by: Maxime Ripard > Acked-by: Sakari Ailus > Reviewed-by: Rob Herring > Signed-off-by: Yong Deng Reviewed-by: Laurent Pinchart > --- >

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 09:06:08 -0300 Mauro Carvalho Chehab escreveu: > Em Tue, 30 Oct 2018 06:43:41 -0300 > Mauro Carvalho Chehab escreveu: Please ignore this e-mail. I'm experiencing some e-mail troubles today. Will resend it properly. Regards, Mauro

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 06:43:41 -0300 Mauro Carvalho Chehab escreveu: > Em Tue, 30 Oct 2018 01:21:34 +0200 > Sakari Ailus escreveu: > > > The SoC camera framework has been obsolete for some time and it is no > > longer functional. A few drivers have been converted to the V4L2 > > sub-device API bu

Re: [PATCH 4/4] SoC camera: Tidy the header

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 01:00:29 +0200 Sakari Ailus escreveu: > Clean up the SoC camera framework header. It only exists now to keep board > code compiling. The header can be removed once the board code dependencies > to it has been removed. > > Signed-off-by: Sakari Ailus > --- > include/media/so

Re: [PATCH 3/4] SoC camera: Remove the framework and the drivers

2018-10-30 Thread Mauro Carvalho Chehab
Em Tue, 30 Oct 2018 01:21:34 +0200 Sakari Ailus escreveu: > The SoC camera framework has been obsolete for some time and it is no > longer functional. A few drivers have been converted to the V4L2 > sub-device API but for the rest the conversion has not taken place yet. > > In order to keep the

Re: [PATCH 2/4] tw9910: No SoC camera dependency

2018-10-30 Thread Hans Verkuil
On 10/30/2018 12:00 AM, Sakari Ailus wrote: > The tw9910 driver does not depend on SoC camera framework. Don't include > the header, but instead include media/v4l2-async.h which the driver really > needs. You might want to make a note of the fact that soc_camera.h includes v4l2-async.h, so removin

Reply me urgent for more details

2018-10-30 Thread Mrs Aisha Al-Qaddafi
-- Dear Assalamu Alaikum, I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall

KASAN: use-after-free Read in vb2_mmap

2018-10-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:4b42745211af Merge tag 'armsoc-soc' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=114278d540 kernel config: https://syzkaller.appspot.com/x/.config?x=93932074d01b4a5 das

Re: [PATCH v4 00/22] i.MX media mem2mem scaler

2018-10-30 Thread Philipp Zabel
Hi Steve, On Fri, 2018-10-19 at 11:51 -0700, Steve Longerbeam wrote: > Awesome, thanks Philipp. > > For the whole series: > > Acked-by: Steve Longerbeam > Tested-by: Steve Longerbeam > on i.MX6q SabreSD. Thank you. I have added the tags where it made sense to me and applied the ipu-v3 patches

[PATCH v12 2/2] media: V3s: Add support for Allwinner CSI.

2018-10-30 Thread Yong Deng
Allwinner V3s SoC features a CSI module with parallel interface. This patch implement a v4l2 framework driver for it. Reviewed-by: Hans Verkuil Reviewed-by: Maxime Ripard Tested-by: Maxime Ripard Signed-off-by: Yong Deng --- MAINTAINERS| 8 + drivers

[PATCH v12 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-10-30 Thread Yong Deng
Add binding documentation for Allwinner V3s CSI. Acked-by: Maxime Ripard Acked-by: Sakari Ailus Reviewed-by: Rob Herring Signed-off-by: Yong Deng --- .../devicetree/bindings/media/sun6i-csi.txt| 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentat

[PATCH v12 0/2] Initial Allwinner V3s CSI Support

2018-10-30 Thread Yong Deng
I can't make v4l2-compliance always happy. The V3s CSI support many pixformats. But they are not always available. It's dependent on the input bus format (MEDIA_BUS_FMT_*). Example: V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 But I can't get the subdev'