[PATCH 1/2] Update kernel headers to v4.19

2018-11-17 Thread Laurent Pinchart
From: Jacopo Mondi Signed-off-by: Jacopo Mondi Signed-off-by: Laurent Pinchart --- include/linux/v4l2-common.h | 1 + include/linux/v4l2-controls.h | 219 ++ include/linux/videodev2.h | 81 - 3 files changed, 221 insertions(+), 80 deletions(

[PATCH 0/2] yavta: Add support for IPU3 raw 10-bit Bayer packed formats

2018-11-17 Thread Laurent Pinchart
Update kernel headers to latest mainline release and add support for IPU3 defined formats to yavta. Jacopo Mondi (2): Update kernel headers to v4.19 Add support for IPU3 raw 10-bit Bayer packed formats include/linux/v4l2-common.h | 1 + include/linux/v4l2-controls.h | 219 +++

[PATCH 2/2] Add support for IPU3 raw 10-bit Bayer packed formats

2018-11-17 Thread Laurent Pinchart
From: Jacopo Mondi Signed-off-by: Jacopo Mondi Signed-off-by: Laurent Pinchart --- yavta.c | 4 1 file changed, 4 insertions(+) diff --git a/yavta.c b/yavta.c index afe96331a520..c7986bd9e031 100644 --- a/yavta.c +++ b/yavta.c @@ -224,6 +224,10 @@ static struct v4l2_format_info {

cron job: media_tree daily build: WARNINGS

2018-11-17 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 Nov 18 05:00:10 CET 2018 media-tree git hash:fbe57dde7126d1b2712ab5ea93fb9d15f89de708 media_build git

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2018-11-17 Thread Nicolas Dufresne
Le samedi 17 novembre 2018 à 12:37 +0100, Hans Verkuil a écrit : > > > Does V4L2_CID_MIN_BUFFERS_FOR_CAPTURE make any sense for encoders? > > > > We do account for it in GStreamer (the capture/output handling is > > generic), but I don't know if it's being used anywhere. > > Do you use this valu

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-17 Thread Nicolas Dufresne
Le samedi 17 novembre 2018 à 12:43 +0100, Hans Verkuil a écrit : > > > As far as I know all codecs have resolution/metadata in the stream. > > > > Was this comment about what we currently support in V4L2 interface ? In > > Yes, I was talking about all V4L2 codecs. > > > real life, there is CODEC

Re: [PATCH v7 00/16] Intel IPU3 ImgU patchset

2018-11-17 Thread jacopo mondi
Hi Sakari, On Wed, Nov 14, 2018 at 09:40:50AM +0200, Sakari Ailus wrote: > Hi Jacopo, > > On Wed, Nov 14, 2018 at 01:25:11AM +0100, jacopo mondi wrote: > > On Mon, Oct 29, 2018 at 03:22:54PM -0700, Yong Zhi wrote: > > > Hi, > > > > > > This series adds support for the Intel IPU3 (Image Processing

[ANN] Edinburgh Media Summit 2018 meeting report

2018-11-17 Thread Sakari Ailus
Hello everyone, Here's the report on the Media Summit held on 25th October in Edinburgh. The report is followed by the stateless codec discussion two days earlier. Note: this is bcc'd to the meeting attendees plus a few others. I didn't use cc as the list servers tend to reject messages with too

Re: [PATCH] dt-bindings: media: i2c: Fix i2c address for OV5645 camera sensor

2018-11-17 Thread Rob Herring
On Fri, 9 Nov 2018 13:26:43 +0530, Manivannan Sadhasivam wrote: > The i2c address for the Omnivision OV5645 camera sensor is 0x3c. It is > incorrectly mentioned as 0x78 in binding. Hence fix that. > > Fixes: 09c716af36e6 [media] media: i2c/ov5645: add the device tree binding > document > Signed-

Re: [PATCH 2/2] media: sony-cxd2880: add optional vcc regulator to bindings

2018-11-17 Thread Rob Herring
On Thu, 8 Nov 2018 13:50:10 +0100, Neil Armstrong wrote: > This patchset adds an optional VCC regulator to the bindings of the Sony > CXD2880 DVB-T2/T tuner + demodulator adapter. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/media/spi/sony-cxd2880.txt | 4 >

Re: [PATCH v2] dt-bindings: media: i2c: Fix external clock frequency for OV5645

2018-11-17 Thread Rob Herring
On Wed, 14 Nov 2018 17:43:38 +0530, Manivannan Sadhasivam wrote: > Commit "4adb0a0432f4 media: ov5645: Supported external clock is 24MHz" > modified the external clock frequency to be 24MHz instead of the > 23.88MHz in driver. Hence, modify the frequency value in binding. > > Signed-off-by: Maniva

Re: [PATCH v2 03/11] media: dt-bindings: marvell,mmp2-ccic: Add Marvell MMP2 camera

2018-11-17 Thread Rob Herring
On Mon, Nov 12, 2018 at 01:35:12AM +0100, Lubomir Rintel wrote: > Add Marvell MMP2 camera host interface. > > Signed-off-by: Lubomir Rintel > --- > .../bindings/media/marvell,mmp2-ccic.txt | 30 +++ > 1 file changed, 30 insertions(+) > create mode 100644 > Documentation/de

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-17 Thread Matthew Wilcox
On Sat, Nov 17, 2018 at 12:26:38PM +0530, Souptick Joarder wrote: > On Fri, Nov 16, 2018 at 11:59 PM Mike Rapoport wrote: > > > + * vm_insert_range - insert range of kernel pages into user vma > > > + * @vma: user vma to map to > > > + * @addr: target user address of this page > > > + * @pages: po

Re: [Ksummit-discuss] [RFC PATCH 2/3] MAINTAINERS, Handbook: Subsystem Profile

2018-11-17 Thread Hans Verkuil
On 11/15/2018 04:44 PM, Mauro Carvalho Chehab wrote: > Em Wed, 14 Nov 2018 20:53:25 -0800 > Dan Williams escreveu: > >> As presented at the 2018 Linux Plumbers conference [1], the Subsystem >> Profile is proposed as a way to reduce friction between committers and >> maintainers and perhaps encour

Re: [PATCH v2 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2018-11-17 Thread Hans Verkuil
On 11/17/2018 05:31 AM, Nicolas Dufresne wrote: > Le jeudi 15 novembre 2018 à 15:34 +0100, Hans Verkuil a écrit : >> On 10/22/2018 04:48 PM, Tomasz Figa wrote: >>> Due to complexity of the video decoding process, the V4L2 drivers of >>> stateful decoder hardware require specific sequences of V4L2 A

Re: [PATCH v2 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2018-11-17 Thread Hans Verkuil
On 11/17/2018 05:18 AM, Nicolas Dufresne wrote: > Le lundi 12 novembre 2018 à 14:23 +0100, Hans Verkuil a écrit : >> On 10/22/2018 04:49 PM, Tomasz Figa wrote: >>> Due to complexity of the video encoding process, the V4L2 drivers of >>> stateful encoder hardware require specific sequences of V4L2 A

[PATCH for v4.20] vicodec: fix memchr() kernel oops

2018-11-17 Thread Hans Verkuil
The size passed to memchr is too large as it assumes the search starts at the start of the buffer, but it can start at an offset. Signed-off-by: Hans Verkuil Cc: # for v4.19 and up --- diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec/vicodec-core.

Re: [PATCH] media: videobuf2-core: fix use after free in vb2_mmap

2018-11-17 Thread Hans Verkuil
Same patch was already posted and is waiting to be merged: https://patchwork.linuxtv.org/patch/52944/ Regards, Hans On 11/17/2018 12:42 AM, Sudip Mukherjee wrote: > When we are using __find_plane_by_offset() to find the matching plane > number and the buffer, the queue is not locked. So

Re: possible deadlock in v4l2_release

2018-11-17 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:1ce80e0fe98e Merge tag 'fsnotify_for_v4.20-rc3' of git://g.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=132ee77b40 kernel config: https://syzkaller.appspot.com/x/.config?x=d86f24