Re: [PATCH v4 5/5] [media] MAINTAINERS: add entries for OV2685/OV5695 sensor drivers

2018-01-11 Thread Sakari Ailus
On Fri, Jan 12, 2018 at 09:52:13AM +0800, Shunqian Zheng wrote: > Hi Sakari, > > > On 2018年01月10日 06:33, Sakari Ailus wrote: > > On Tue, Jan 09, 2018 at 10:48:24PM +0800, Shunqian Zheng wrote: > > > Add maintainer entries for the OV2685 and OV5695 V4L2 sensor drivers. > > > > > > Signed-off-by:

[no subject]

2018-01-11 Thread Al Thomas
Salutations https://goo.gl/Pbzrv4 https://goo.gl/csrJzP Al

Re: [PATCH v4 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-11 Thread Simon Horman
On Fri, Jan 12, 2018 at 12:50:41AM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Tuesday, 9 January 2018 18:25:23 EET Jacopo Mondi wrote: > > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by:

cron job: media_tree daily build: ERRORS

2018-01-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: Fri Jan 12 05:00:15 CET 2018 media-tree git hash:e3ee691dbf24096ea51b3200946b11d68ce75361 media_build git

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Yong
Hi Maxime, On Thu, 11 Jan 2018 13:40:18 +0100 Maxime Ripard wrote: > Hi Yong, > > On Thu, Jan 11, 2018 at 09:15:08AM +0800, Yong wrote: > > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > > > I'm using a ST board with OV5640 wired in parallel bus output in order > > > > t

Re: [PATCH v4 5/5] [media] MAINTAINERS: add entries for OV2685/OV5695 sensor drivers

2018-01-11 Thread Shunqian Zheng
Hi Sakari, On 2018年01月10日 06:33, Sakari Ailus wrote: On Tue, Jan 09, 2018 at 10:48:24PM +0800, Shunqian Zheng wrote: Add maintainer entries for the OV2685 and OV5695 V4L2 sensor drivers. Signed-off-by: Shunqian Zheng Same patch with the driver, please. Other than that seems good to me. Do

Re: [linux-sunxi] Re: [PATCH v5 2/2] media: V3s: Add support for Allwinner CSI.

2018-01-11 Thread Yong
Hi Maxime, On Thu, 11 Jan 2018 14:28:44 +0100 Maxime Ripard wrote: > Hi Yong, > > On Thu, Jan 11, 2018 at 11:06:06AM +0800, Yong Deng wrote: > > Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 > > interface and CSI1 is used for parallel interface. This is not > > document

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
On Thu, Jan 11, 2018 at 5:19 PM, Linus Torvalds wrote: > On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams > wrote: >> >> This series incorporates Mark Rutland's latest ARM changes and adds >> the x86 specific implementation of 'ifence_array_ptr'. That ifence >> based approach is provided as an opt-

Re: [PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Linus Torvalds
On Thu, Jan 11, 2018 at 4:46 PM, Dan Williams wrote: > > This series incorporates Mark Rutland's latest ARM changes and adds > the x86 specific implementation of 'ifence_array_ptr'. That ifence > based approach is provided as an opt-in fallback, but the default > mitigation, '__array_ptr', uses a

[PATCH v2 00/19] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
Changes since v1 [1]: * fixup the ifence definition to use alternative_2 per recent AMD changes in tip/x86/pti (Tom) * drop 'nospec_ptr' (Linus, Mark) * rename 'nospec_array_ptr' to 'array_ptr' (Alexei) * rename 'nospec_barrier' to 'ifence' (Peter, Ingo) * clean up occasions of 'variable assi

[PATCH v2 14/19] [media] uvcvideo: prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
Static analysis reports that 'index' may be a user controlled value that is used as a data dependency to read 'pin' from the 'selector->baSourceID' array. In order to avoid potential leaks of kernel memory values, block speculative execution of the instruction stream that could issue reads based on

MT9M131 on I.MX6DL CSI color issue

2018-01-11 Thread Florian Boor
Hello all, I have a Phytec VM-009 camera based on MT9M131 connected to CSI0 of a I.MX6DL based board running mainline 4.13.0 + custom devicetree. Its using the parallel interface, 8 bit bus width on pins 12 to 19. Basically it works pretty well apart from the really strange colors. I guess its so

Re: [PATCH v4 3/9] v4l: platform: Add Renesas CEU driver

2018-01-11 Thread Laurent Pinchart
On Tuesday, 9 January 2018 18:25:25 EET Jacopo Mondi wrote: > Add driver for Renesas Capture Engine Unit (CEU). > > The CEU interface supports capturing 'data' (YUV422) and 'images' > (NV[12|21|16|61]). > > This driver aims to replace the soc_camera-based sh_mobile_ceu one. > > Tested with ov767

Re: [PATCH v4 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-11 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Tuesday, 9 January 2018 18:25:23 EET Jacopo Mondi wrote: > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > .../devicetree/bindings/media/renesas,ceu.txt | 81 >

Re: [PATCH v2] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Laurent Pinchart
Hi Shuah, Thank you for the patch. On Friday, 12 January 2018 00:26:22 EET Shuah Khan wrote: > Replace GPL license statement with SPDX GPL-2.0 license identifier. > > Signed-off-by: Shuah Khan Reviewed-by: Laurent Pinchart > --- > Changes since v1: > - Fixed SPDX comment format > - Fixed SPD

Re: [PATCH v4 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-11 Thread Rob Herring
On Tue, Jan 09, 2018 at 05:25:23PM +0100, Jacopo Mondi wrote: > Add bindings documentation for Renesas Capture Engine Unit (CEU). > > Signed-off-by: Jacopo Mondi > --- > .../devicetree/bindings/media/renesas,ceu.txt | 81 > ++ > 1 file changed, 81 insertions(+) > creat

[PATCH v2] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Shuah Khan
Replace GPL license statement with SPDX GPL-2.0 license identifier. Signed-off-by: Shuah Khan --- Changes since v1: - Fixed SPDX comment format - Fixed SPDX license text to eliminate change in license. It now reads GPL-2.0-or-later to maintain the original. drivers/media/v4l2-core/v4l2-mc.c |

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Shuah Khan
On 01/11/2018 02:33 PM, Laurent Pinchart wrote: > Hi Shuah, > > On Thursday, 11 January 2018 22:44:08 EET Shuah Khan wrote: >> On 01/11/2018 11:42 AM, Laurent Pinchart wrote: >>> On Thursday, 11 January 2018 17:45:15 EET Shuah Khan wrote: On 01/11/2018 05:55 AM, Laurent Pinchart wrote: >

Re: [PATCH v2 1/1] media: entity: Add a nop variant of media_entity_cleanup

2018-01-11 Thread Arnd Bergmann
On Thu, Jan 11, 2018 at 11:19 AM, Sakari Ailus wrote: > Add nop variant of media_entity_cleanup. This allows calling > media_entity_cleanup whether or not Media controller is enabled, > simplifying driver code. > > Also drop #ifdefs on a few drivers around media_entity_cleanup(). > > Signed-off-by

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Laurent Pinchart
Hi Shuah, On Thursday, 11 January 2018 22:44:08 EET Shuah Khan wrote: > On 01/11/2018 11:42 AM, Laurent Pinchart wrote: > > On Thursday, 11 January 2018 17:45:15 EET Shuah Khan wrote: > >> On 01/11/2018 05:55 AM, Laurent Pinchart wrote: > >>> On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan w

Re: [PATCH] media: imx258: Add imx258 camera sensor driver

2018-01-11 Thread Sakari Ailus
Hi Andy, Thanks for the patch. Please see my comments below. On Thu, Jan 11, 2018 at 10:47:39PM +0800, Andy Yeh wrote: > Add a V4L2 sub-device driver for the Sony IMX258 image sensor. > This is a camera sensor using the I2C bus for control and the > CSI-2 bus for data. > > Signed-off-by: Andy Ye

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Shuah Khan
On 01/11/2018 11:42 AM, Laurent Pinchart wrote: > Hi Shuah, > > On Thursday, 11 January 2018 17:45:15 EET Shuah Khan wrote: >> On 01/11/2018 05:55 AM, Laurent Pinchart wrote: >>> On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan wrote: Replace GPL license statement with SPDX GPL-2.0 licen

Re: [PATCH v2 2/2] media: ov9650: add device tree binding

2018-01-11 Thread Rob Herring
On Mon, Jan 08, 2018 at 01:54:24AM +0900, Akinobu Mita wrote: > Now the ov9650 driver supports device tree probing. So this adds a > device tree binding documentation. > > Cc: Jacopo Mondi > Cc: H. Nikolaus Schaller > Cc: Hugues Fruchet > Cc: Sakari Ailus > Cc: Mauro Carvalho Chehab > Cc: Ro

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Laurent Pinchart
Hi Shuah, On Thursday, 11 January 2018 17:45:15 EET Shuah Khan wrote: > On 01/11/2018 05:55 AM, Laurent Pinchart wrote: > > On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan wrote: > >> Replace GPL license statement with SPDX GPL-2.0 license identifier. > >> > >> Signed-off-by: Shuah Khan >

Re: [RFT PATCH v2 6/6] uvcvideo: Move decode processing to process context

2018-01-11 Thread Kieran Bingham
Hi Kieran ! Thanking you for the patch might be rather self serving here :D On 09/01/18 13:09, Kieran Bingham wrote: > Newer high definition cameras, and cameras with multiple lenses such as > the range of stereo-vision cameras now available have ever increasing > data rates. > > The inclusion o

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Daniel Borkmann
On 01/11/2018 04:58 PM, Dan Williams wrote: > On Thu, Jan 11, 2018 at 1:54 AM, Jiri Kosina wrote: >> On Tue, 9 Jan 2018, Josh Poimboeuf wrote: >>> On Tue, Jan 09, 2018 at 11:44:05AM -0800, Dan Williams wrote: On Tue, Jan 9, 2018 at 11:34 AM, Jiri Kosina wrote: > On Fri, 5 Jan 2018, Dan W

[PATCH v2] MAINTAINERS: mtd/nand: update Microchip nand entry

2018-01-11 Thread Nicolas Ferre
Update Wenyou Yang email address. Take advantage of this update to move this entry to the MICROCHIP / ATMEL location and add the DT binding documentation link. Signed-off-by: Nicolas Ferre Acked-by: Wenyou Yang --- v2: - patch agains 09ec417b0ea8 ("mtd: nand: samsung: Disable subpage write

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Dan Williams
On Thu, Jan 11, 2018 at 1:54 AM, Jiri Kosina wrote: > On Tue, 9 Jan 2018, Josh Poimboeuf wrote: > >> On Tue, Jan 09, 2018 at 11:44:05AM -0800, Dan Williams wrote: >> > On Tue, Jan 9, 2018 at 11:34 AM, Jiri Kosina wrote: >> > > On Fri, 5 Jan 2018, Dan Williams wrote: >> > > >> > > [ ... snip ... ]

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Shuah Khan
On 01/11/2018 05:55 AM, Laurent Pinchart wrote: > Hi Shuah, > > Thank you for the patch. > > On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan wrote: >> Replace GPL license statement with SPDX GPL-2.0 license identifier. >> >> Signed-off-by: Shuah Khan >> --- >> drivers/media/v4l2-core/v4l2

Re: [PATCH v2 2/2] media: dt-bindings: Add OF properties to ov7670

2018-01-11 Thread Rob Herring
On Tue, Jan 9, 2018 at 2:01 AM, jacopo mondi wrote: > Hi Rob, >thanks for comments > > On Mon, Jan 08, 2018 at 09:35:55PM -0600, Rob Herring wrote: >> On Thu, Jan 04, 2018 at 10:52:33AM +0100, Jacopo Mondi wrote: >> > Describe newly introduced OF properties for ov7670 image sensor. >> > The dr

[PATCH] media: imx258: Add imx258 camera sensor driver

2018-01-11 Thread Andy Yeh
Add a V4L2 sub-device driver for the Sony IMX258 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Andy Yeh --- MAINTAINERS|7 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile |1 + drivers/medi

[PATCH] media: imx258: Add imx258 camera sensor driver

2018-01-11 Thread Andy Yeh
Add a V4L2 sub-device driver for the Sony IMX258 image sensor. This is a camera sensor using the I2C bus for control and the CSI-2 bus for data. Signed-off-by: Andy Yeh --- MAINTAINERS|7 + drivers/media/i2c/Kconfig | 11 + drivers/media/i2c/Makefile |1 + drivers/medi

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

2018-01-11 Thread Maxime Ripard
Hi Yong, On Thu, Jan 11, 2018 at 11:06:06AM +0800, Yong Deng wrote: > Allwinner V3s SoC features two CSI module. CSI0 is used for MIPI CSI-2 > interface and CSI1 is used for parallel interface. This is not > documented in datasheet but by test and guess. > > This patch implement a v4l2 framework

Re: [PATCH] media: v4l2-core: v4l2-mc: Add SPDX license identifier

2018-01-11 Thread Laurent Pinchart
Hi Shuah, Thank you for the patch. On Wednesday, 10 January 2018 18:35:36 EET Shuah Khan wrote: > Replace GPL license statement with SPDX GPL-2.0 license identifier. > > Signed-off-by: Shuah Khan > --- > drivers/media/v4l2-core/v4l2-mc.c | 11 +-- > 1 file changed, 1 insertion(+), 10 d

[GIT PULL for 4.16] Print fwnode parsing results, add nop media_entity_cleanup

2018-01-11 Thread Sakari Ailus
Hi Mauro, This pull request adds printing fwnode parsing debug information and a nop variant for media_entity_cleanup, which makes a little easier to write drivers that support operation with and without MC. Please pull. The following changes since commit e3ee691dbf24096ea51b3200946b11d68ce75361

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Maxime Ripard
Hi Yong, On Thu, Jan 11, 2018 at 09:15:08AM +0800, Yong wrote: > > On Mon, Jan 08, 2018 at 05:13:39PM +, Hugues FRUCHET wrote: > > > I'm using a ST board with OV5640 wired in parallel bus output in order > > > to interface to my STM32 DCMI parallel interface. > > > Perhaps could you describe

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Maxime Ripard
Hi Hugues, On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: > Good news Maxime ! > > Have you seen that you can adapt the polarities through devicetree ? > > + /* Parallel bus endpoint */ > + ov5640_to_parallel: endpoint { > [...] > +

Re: [PATCH v2 2/2] media: dt-bindings: Add OF properties to ov7670

2018-01-11 Thread Sakari Ailus
Hi Jacopo, On Thu, Jan 04, 2018 at 10:52:33AM +0100, Jacopo Mondi wrote: > Describe newly introduced OF properties for ov7670 image sensor. > The driver supports two standard properties to configure synchronism > signals polarities and two custom properties already supported as > platform data opt

Re: [PATCH v2 0/2] media: ov7670: Implement mbus configuration

2018-01-11 Thread Sakari Ailus
Hi Jacopo, On Thu, Jan 04, 2018 at 10:52:31AM +0100, Jacopo Mondi wrote: > Hello, >this series adds mbus configuration properties to ov7670 sensor driver. > > I have sent v1 a few days ago and forgot to cc device tree people. Doing it > now with bindings description and implementation split i

Re: [Linaro-mm-sig] [PATCH] dma-buf: add some lockdep asserts to the reservation object implementation

2018-01-11 Thread Christian König
Yeah, somehow missed that one. The patch looks mostly good, except for reservation_object_get_excl(). For that one an RCU protection is usually sufficient, so annotating it with reservation_object_assert_held() sounds incorrect to me. Regards, Christian. Am 11.01.2018 um 11:43 schrieb Lucas

[linux-next:master 6051/9035] drivers/media/common/videobuf/videobuf2-core.o:(__jump_table+0x10): undefined reference to `__tracepoint_vb2_buf_queue'

2018-01-11 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b4464bcab38d3f7fe995a7cb960eeac6889bec08 commit: 03fbdb2fc2b8bb27b0ee0534fd3e9c57cdc3854a [6051/9035] media: move videobuf2 to drivers/media/common config: x86_64-randconfig-s5-01110339 compiler: gcc-7 (Deb

[PATCH v2 1/1] media: entity: Add a nop variant of media_entity_cleanup

2018-01-11 Thread Sakari Ailus
Add nop variant of media_entity_cleanup. This allows calling media_entity_cleanup whether or not Media controller is enabled, simplifying driver code. Also drop #ifdefs on a few drivers around media_entity_cleanup(). Signed-off-by: Sakari Ailus --- since v1: - Remove "r" at the end of the subje

Re: [PATCH 00/18] prevent bounds-check bypass via speculative execution

2018-01-11 Thread Jiri Kosina
On Tue, 9 Jan 2018, Josh Poimboeuf wrote: > On Tue, Jan 09, 2018 at 11:44:05AM -0800, Dan Williams wrote: > > On Tue, Jan 9, 2018 at 11:34 AM, Jiri Kosina wrote: > > > On Fri, 5 Jan 2018, Dan Williams wrote: > > > > > > [ ... snip ... ] > > >> Andi Kleen (1): > > >> x86, barrier: stop specu

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Sakari Ailus
On Thu, Jan 11, 2018 at 08:25:41AM +, Hugues FRUCHET wrote: > On 01/11/2018 09:19 AM, Sakari Ailus wrote: > > On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: > >> Hi Sakari, > >> > >> On 01/10/2018 11:25 PM, Sakari Ailus wrote: > >>> Hi Hugues, > >>> > >>> On Wed, Jan 10, 2018 a

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Hugues FRUCHET
On 01/11/2018 09:19 AM, Sakari Ailus wrote: > On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: >> Hi Sakari, >> >> On 01/10/2018 11:25 PM, Sakari Ailus wrote: >>> Hi Hugues, >>> >>> On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: Good news Maxime ! Have

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Sakari Ailus
On Thu, Jan 11, 2018 at 08:12:11AM +, Hugues FRUCHET wrote: > Hi Sakari, > > On 01/10/2018 11:25 PM, Sakari Ailus wrote: > > Hi Hugues, > > > > On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: > >> Good news Maxime ! > >> > >> Have you seen that you can adapt the polarities thr

Re: [PATCH v5 0/5] Add OV5640 parallel interface and RGB565/YUYV support

2018-01-11 Thread Hugues FRUCHET
Hi Sakari, On 01/10/2018 11:25 PM, Sakari Ailus wrote: > Hi Hugues, > > On Wed, Jan 10, 2018 at 03:51:07PM +, Hugues FRUCHET wrote: >> Good news Maxime ! >> >> Have you seen that you can adapt the polarities through devicetree ? >> >> + /* Parallel bus endpoint */ >> +