Re: Enabling peer to peer device transactions for PCIe devices

2017-01-11 Thread Stephen Bates
On Fri, January 6, 2017 4:10 pm, Logan Gunthorpe wrote: > > > On 06/01/17 11:26 AM, Jason Gunthorpe wrote: > > >> Make a generic API for all of this and you'd have my vote.. >> >> >> IMHO, you must support basic pinning semantics - that is necessary to >> support generic short lived DMA (eg filesys

cron job: media_tree daily build: ERRORS

2017-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: Thu Jan 12 05:00:17 CET 2017 media-tree git hash:40eca140c404505c09773d1c6685d818cb55ab1a media_build git

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-11 Thread Steve Longerbeam
Hi Tim, On 01/11/2017 03:14 PM, Tim Harvey wrote: Hi Steve, I took a stab at testing this today on a gw51xx which has an adv7180 hooked up as follows: - i2c3@0x20 - 8bit data bus from DAT12 to DAT19, HSYNC, VSYNC, PIXCLK on CSI0 pads (CSI0_IPU1) - PWRDWN# on MX6QDL_PAD_CSI0_DATA_EN__GPIO5_I

[PATCH] [media] uvcvideo: change result code of debugfs_init to void

2017-01-11 Thread Jaejoong Kim
The device driver should keep going even if debugfs initialization fails. So, change the return type to void. Signed-off-by: Jaejoong Kim --- drivers/media/usb/uvc/uvc_debugfs.c | 15 ++- drivers/media/usb/uvc/uvcvideo.h| 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-)

Re: [PATCHv2] dt: bindings: Add support for CSI1 bus

2017-01-11 Thread Sebastian Reichel
Hi, On Wed, Jan 11, 2017 at 11:53:35PM +0100, Pavel Machek wrote: > From: Sakari Ailus > > In the vast majority of cases the bus type is known to the driver(s) > since a receiver or transmitter can only support a single one. There > are cases however where different options are possible. > > Th

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-11 Thread Tim Harvey
On Fri, Jan 6, 2017 at 6:11 PM, Steve Longerbeam wrote: > In version 3: > > Changes suggested by Rob Herring : > > - prepended FIM node properties with vendor prefix "fsl,". > > - make mipi csi-2 receiver compatible string SoC specific: > "fsl,imx6-mipi-csi2" instead of "fsl,imx-mipi-csi2"

[PATCHv2] dt: bindings: Add support for CSI1 bus

2017-01-11 Thread Pavel Machek
From: Sakari Ailus In the vast majority of cases the bus type is known to the driver(s) since a receiver or transmitter can only support a single one. There are cases however where different options are possible. The existing V4L2 OF support tries to figure out the bus type and parse the bus par

Re: [PATCH] dt: bindings: Add support for CSI1 bus

2017-01-11 Thread Sakari Ailus
Hi Pavel, On Wed, Jan 11, 2017 at 11:06:48PM +0100, Pavel Machek wrote: > > > > +- clock-inv: Clock or strobe signal inversion. > > > > + Possible values: 0 -- not inverted; 1 -- inverted > > > > > > "invert" assumes I know what is normal and I do not. Define what is > > > "normal" and name the

Re: [PATCH] dt: bindings: Add support for CSI1 bus

2017-01-11 Thread Pavel Machek
Hi! > Thanks for the review. > > On Tue, Jan 03, 2017 at 02:38:54PM -0600, Rob Herring wrote: > > On Wed, Dec 28, 2016 at 07:30:36PM +0100, Pavel Machek wrote: > > > From: Sakari Ailus > > > > > > In the vast majority of cases the bus type is known to the driver(s) > > > since a receiver or tra

Re: [PATCH] dt: bindings: Add support for CSI1 bus

2017-01-11 Thread Pavel Machek
On Mon 2017-01-02 09:00:10, Sakari Ailus wrote: > Hi Pavel, > > On Wed, Dec 28, 2016 at 07:30:36PM +0100, Pavel Machek wrote: > > From: Sakari Ailus > > > > In the vast majority of cases the bus type is known to the driver(s) > > since a receiver or transmitter can only support a single one. The

Re: [PATCH 1/2] Documentation: devicetree: Add document bindings for mtk-cir

2017-01-11 Thread Rob Herring
On Mon, Jan 9, 2017 at 8:35 PM, Sean Wang wrote: > Hi Rob, > > thanks for your effort for reviewing. I added comments inline. > > On Mon, 2017-01-09 at 12:32 -0600, Rob Herring wrote: >> On Fri, Jan 06, 2017 at 12:06:23AM +0800, sean.w...@mediatek.com wrote: >> > From: Sean Wang >> > >> > This pa

Re: [Linux-c6x-dev] [PATCH v2 7/7] uapi: export all headers under uapi directories

2017-01-11 Thread Mark Salter
On Fri, 2017-01-06 at 10:43 +0100, Nicolas Dichtel wrote: > Regularly, when a new header is created in include/uapi/, the developer > forgets to add it in the corresponding Kbuild file. This error is usually > detected after the release is out. > > In fact, all headers under uapi directories shoul

Re: Broken cx231xx-i2c.c

2017-01-11 Thread Steven Toth
On Wed, Jan 11, 2017 at 9:39 AM, Oleh Kravchenko wrote: > Hello! > > So, I tried to split i2c send messages to 5, 8, 16 bytes - that cause error: > cx231xx 3-1:1.1: cx231xx_send_usb_command: failed with status --32 > > This problem occurred only with Si2158 tuner, > demodulator Si2168 eats up

Re: [PATCH 2/3] xgbe: switch to pci_irq_alloc_vectors

2017-01-11 Thread Tom Lendacky
On 1/11/2017 3:03 AM, Christoph Hellwig wrote: > On Tue, Jan 10, 2017 at 12:40:10PM -0600, Tom Lendacky wrote: >> On 1/9/2017 2:37 PM, Christoph Hellwig wrote: >>> The newly added xgbe drivers uses the deprecated pci_enable_msi_exact >>> and pci_enable_msix_range interfaces. Switch it to use >>> p

[PATCH] [media] gspca_stv06xx: remove redundant check for err < 0

2017-01-11 Thread Colin King
From: Colin Ian King The comparison of err < 0 is redundant as err has been previously been assigned to 0 and has not changed. Remove the redundant check. Fixes CoverityScan CID#703363 ("Logically dead code") Signed-off-by: Colin Ian King --- drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c

Broken cx231xx-i2c.c

2017-01-11 Thread Oleh Kravchenko
Hello! So, I tried to split i2c send messages to 5, 8, 16 bytes - that cause error: cx231xx 3-1:1.1: cx231xx_send_usb_command: failed with status --32 This problem occurred only with Si2158 tuner, demodulator Si2168 eats up to 15 bytes per i2c message. I think problem in cx231xx_send_vendor_

Re: [PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD

2017-01-11 Thread Steven Toth
On Wed, Jan 11, 2017 at 9:00 AM, Oleh Kravchenko wrote: > On 11.01.17 15:53, Steven Toth wrote: >>> diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c >>> b/drivers/media/usb/cx231xx/cx231xx-i2c.c >>> index 35e9acf..60412ec 100644 >>> --- a/drivers/media/usb/cx231xx/cx231xx-i2c.c >>> +++ b/driv

Re: [PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD

2017-01-11 Thread Oleh Kravchenko
On 11.01.17 15:53, Steven Toth wrote: >> diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c >> b/drivers/media/usb/cx231xx/cx231xx-i2c.c >> index 35e9acf..60412ec 100644 >> --- a/drivers/media/usb/cx231xx/cx231xx-i2c.c >> +++ b/drivers/media/usb/cx231xx/cx231xx-i2c.c >> @@ -171,6 +171,43 @@ stat

[PATCH] dtv-scan-tables - dvb-s - add the config file for Eutelsat 5 West A - 5.0W - C Band

2017-01-11 Thread leny
Hello, There is no config scan file for Eutelsat 5 West A - 5.0W - C Band transponders at https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-s/ Attached is a config scan file for  Eutelsat 5 West A - 5.0W - C Band transponders in dvbv5 format. Could you please ensure that this new patch is com

Re: [PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD

2017-01-11 Thread Steven Toth
> diff --git a/drivers/media/usb/cx231xx/cx231xx-i2c.c > b/drivers/media/usb/cx231xx/cx231xx-i2c.c > index 35e9acf..60412ec 100644 > --- a/drivers/media/usb/cx231xx/cx231xx-i2c.c > +++ b/drivers/media/usb/cx231xx/cx231xx-i2c.c > @@ -171,6 +171,43 @@ static int cx231xx_i2c_send_bytes(struct i2c_ada

[PATCH] dtv-scan-tables - dvb-s - update and rename the config file for Atlantic-Bird-3-5.0W - Ku Band

2017-01-11 Thread leny
Hello, 1) The latest update for the file Atlantic-Bird-3-5.0W (Ku Band) is 2015-03-28 : https://git.linuxtv.org/dtv-scan-tables.git/log/dvb-s/Atlantic-Bird-3-5.0W but since March 2015 there are a lot of changes in the tranponders list. And now, a lot of transponders for Algerian, French and Italia

[PATCH] dtv-scan-tables - dvb-t - add file for France Paris Eiffel Tower DVB-T transmitters

2017-01-11 Thread leny
Hello, There is no file for Paris Eiffel Tower DVB-T transmitters at https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-t/ . Attached is a config scan file for Paris Eiffel Tower transmitters in dvbv5 format. Could you please ensure that this new file is committed into the DVB source code tre

Re: [PATCH v2 0/7] uapi: export all headers under uapi directories

2017-01-11 Thread Jesper Nilsson
On Mon, Jan 09, 2017 at 12:33:58PM +0100, Arnd Bergmann wrote: > On Friday, January 6, 2017 10:43:52 AM CET Nicolas Dichtel wrote: > > Here is the v2 of this series. The first 5 patches are just cleanup: some > > exported headers were still under a non-uapi directory. > > Since this is meant as a

Re: [media] uvcvideo: support for contiguous DMA buffers

2017-01-11 Thread Vincent ABRIOU
Hi Sakari, On 01/11/2017 12:03 PM, Sakari Ailus wrote: > Hi Vincent, > > On Mon, Jan 09, 2017 at 03:49:00PM +, Vincent ABRIOU wrote: >> >> >> On 01/09/2017 04:37 PM, Laurent Pinchart wrote: >>> Hi Vincent, >>> >>> Thank you for the patch. >>> >>> On Monday 03 Oct 2016 13:27:16 Vincent Abriou w

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2017-01-11 Thread Philipp Zabel
Am Montag, den 09.01.2017, 16:15 -0800 schrieb Steve Longerbeam: [...] > Since the VDIC sends its motion compensated frames to the PRP VF task, > I've created the PRPVF entity solely for motion compensated de-interlace > support. I don't really see any other use for the PRPVF task except for > moti

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2017-01-11 Thread Philipp Zabel
Hi Steve, Am Dienstag, den 10.01.2017, 15:52 -0800 schrieb Steve Longerbeam: > > On 01/09/2017 04:15 PM, Steve Longerbeam wrote: > > Hi Philipp, > > > > > > On 01/09/2017 11:43 AM, Philipp Zabel wrote: > > > > > > > >> One is the amount and organization of subdevices/media entities visible > >>

Re: [PATCH v2 2/2] Support for DW CSI-2 Host IPK

2017-01-11 Thread Hans Verkuil
Hi Ramiro, See my review comments below: On 12/12/16 16:00, Ramiro Oliveira wrote: Add support for the DesignWare CSI-2 Host IP Prototyping Kit Signed-off-by: Ramiro Oliveira --- MAINTAINERS | 7 + drivers/media/platform/Kconfig | 1 + drivers

Re: [media] uvcvideo: support for contiguous DMA buffers

2017-01-11 Thread Sakari Ailus
Hi Vincent, On Mon, Jan 09, 2017 at 03:49:00PM +, Vincent ABRIOU wrote: > > > On 01/09/2017 04:37 PM, Laurent Pinchart wrote: > > Hi Vincent, > > > > Thank you for the patch. > > > > On Monday 03 Oct 2016 13:27:16 Vincent Abriou wrote: > >> Allow uvcvideo compatible devices to allocate their

Copyright © 2017 MIcrosoft OUtlook. Inc. Alla rättigheter reserverade.

2017-01-11 Thread Devaraj Veerasamy, Dr
MICROSOFT OUTLOOK ANMÄLAN Din e-rutan konto behöver vara verifiera nu för oegentligheter finns i din e-box-konto eller kommer att blockera. KLICKA här för att verifiera din e-postbrevlåda och fylla i ditt fullständiga användarnamn och lösenord

[PATCH] [media] cx231xx: Initial support Evromedia USB Full Hybrid Full HD

2017-01-11 Thread Oleh Kravchenko
This patch provide only digital support. The device is based on Si2168 30-demodulator, Si2158-20 tuner and CX23102-11Z chipset; USB id: 1b80:d3b2. Status: - DVB-T2 works fine; - Composite and SVideo works fine; - Analog not implemented. Signed-off-by: Oleh Kravchenko Tested-by: Oleh Kravchenko

metadata node

2017-01-11 Thread Guennadi Liakhovetski
Hi Laurent, As you know, I'm working on a project, that involves streaming metadata, obtained from UVC payload headers to the userspace. Luckily, you have created "metadata node" patces a while ago. The core patch has also been acked by Hans, so, I decided it would be a safe enough bet to base

Re: [PATCH v2 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-11 Thread Sean Wang
okay, I will continue to work based on your changes unless someone else has concerns On Wed, 2017-01-11 at 07:45 +0900, Andi Shyti wrote: > Hi Sean, > > >include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': > > unknown attribute > > >> drivers/media/rc/mtk-cir.c:215:41: s

Re: [PATCH v2 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-11 Thread Sean Wang
On Tue, 2017-01-10 at 17:23 +, Sean Young wrote: > Hi Sean, > > > > > > > The kernel guarantees that calls to the interrupt handler are serialised, > > > no need to disable the interrupt in the handler. > > > > agreed. I will save the mtk irq disable/enable and retest again. > > > > > > >

Re: [PATCH v2 00/21] Basic i.MX IPUv3 capture support

2017-01-11 Thread Jean-Michel Hautbois
Hi Steve and Philipp, 2017-01-11 0:52 GMT+01:00 Steve Longerbeam : > > > On 01/09/2017 04:15 PM, Steve Longerbeam wrote: >> >> Hi Philipp, >> >> >> On 01/09/2017 11:43 AM, Philipp Zabel wrote: >> >> >> >>> >>> One is the amount and organization of subdevices/media entities visible >>> to userspac

Re: [PATCH 2/3] xgbe: switch to pci_irq_alloc_vectors

2017-01-11 Thread Christoph Hellwig
On Tue, Jan 10, 2017 at 12:40:10PM -0600, Tom Lendacky wrote: > On 1/9/2017 2:37 PM, Christoph Hellwig wrote: > > The newly added xgbe drivers uses the deprecated pci_enable_msi_exact > > and pci_enable_msix_range interfaces. Switch it to use > > pci_irq_alloc_vectors instead. > > I was just work

[PATCH 1/4] lib/scatterlist: Fix offset type in sg_alloc_table_from_pages

2017-01-11 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Scatterlist entries have an unsigned int for the offset so correct the sg_alloc_table_from_pages function accordingly. Since these are offsets withing a page, unsigned int is wide enough. Also converts callers which were using unsigned long locally with the lower_32_bits an