Re: [PATCH 01/15] pcnet32: use pci_set_dma_mask insted of pci_dma_supported

2015-10-05 Thread Don Fry
On Sat, 2015-10-03 at 17:19 +0200, Christoph Hellwig wrote: > This ensures the dma mask that is supported by the driver is recorded > in the device structure. > > Signed-off-by: Christoph Hellwig > --- > drivers/net/ethernet/amd/pcnet32.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

cron job: media_tree daily build: ERRORS

2015-10-05 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: Tue Oct 6 04:00:16 CEST 2015 git branch: test git hash: efe98010b80ec4516b2779e1b4e4a8ce16bf89fe gcc versi

Re: [PATCH v4 0/2] RFC: Secure Memory Allocation Framework

2015-10-05 Thread Laura Abbott
On 10/05/2015 03:11 AM, Benjamin Gaignard wrote: version 4 changes: - rebased on kernel 4.3-rc3 - fix missing EXPORT_SYMBOL for smaf_create_handle() version 3 changes: - Remove ioctl for allocator selection instead provide the name of the targeted allocator with allocation request.

Re: [PATCH v4 1/2] create SMAF module

2015-10-05 Thread Laura Abbott
On 10/05/2015 03:11 AM, Benjamin Gaignard wrote: diff --git a/drivers/smaf/smaf-core.c b/drivers/smaf/smaf-core.c new file mode 100644 index 000..37914e7 --- /dev/null +++ b/drivers/smaf/smaf-core.c @@ -0,0 +1,736 @@ +/* + * smaf.c + * + * Copyright (C) Linaro SA 2015 + * Author: Benjamin Gai

Re: [PATCHv9 14/15] cec: s5p-cec: Add s5p-cec driver

2015-10-05 Thread Russell King - ARM Linux
On Mon, Sep 07, 2015 at 03:44:43PM +0200, Hans Verkuil wrote: > + cec->adap = cec_create_adapter(&s5p_cec_adap_ops, cec, > + CEC_NAME, CEC_CAP_STATE | > + CEC_CAP_PHYS_ADDR | CEC_CAP_LOG_ADDRS | CEC_CAP_IO | > + CEC_CAP_IS_SOURCE, > + 0, THIS_MODU

[PATCHv2] si2157: Bounds check firmware

2015-10-05 Thread Laura Abbott
When reading the firmware and sending commands, the length must be bounds checked to avoid overrunning the size of the command buffer and smashing the stack if the firmware is not in the expected format. Add the proper check. Cc: sta...@kernel.org Signed-off-by: Laura Abbott --- v2: Set the retu

Re: [PATCHv9 14/15] cec: s5p-cec: Add s5p-cec driver

2015-10-05 Thread Russell King - ARM Linux
On Mon, Sep 07, 2015 at 03:44:43PM +0200, Hans Verkuil wrote: > + if (status & CEC_STATUS_TX_DONE) { > + if (status & CEC_STATUS_TX_ERROR) { > + dev_dbg(cec->dev, "CEC_STATUS_TX_ERROR set\n"); > + cec->tx = STATE_ERROR; > + } else

Re: [PATCH 2/2] si2157: Bounds check firmware

2015-10-05 Thread Laura Abbott
On 10/05/2015 03:24 PM, Olli Salonen wrote: Hi Laura, While the patch itself does what it says, the return code for the si2157_init will be 0 even if there's a faulty firmware file. Wouldn't it be better to set the return code as -EINVAL like done a few lines earlier in the code (see below)?

Re: [PATCH 2/2] si2157: Bounds check firmware

2015-10-05 Thread Olli Salonen
Hi Laura, While the patch itself does what it says, the return code for the si2157_init will be 0 even if there's a faulty firmware file. Wouldn't it be better to set the return code as -EINVAL like done a few lines earlier in the code (see below)? if (fw->size % 17 != 0) {

Re: [PATCH v4 1/2] create SMAF module

2015-10-05 Thread kbuild test robot
Hi Benjamin, [auto build test ERROR on v4.3-rc4 -- if it's inappropriate base, please ignore] config: s390-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/m

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Richard Tresidder
Sigh again Did a module only build for the i2c-mux and got it into the currently running kernel with a force to bypass the no symbol version for module_layout error.. figured it was safe enough given it was the identical kernel config etc from the centos vault... Anyway still failed.. though

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Steven Toth
On Mon, Oct 5, 2015 at 11:26 AM, Richard Tresidder wrote: > stage 1.. > Yep it works with accessing src directly.. had to reboot to verify that one. > Well at least the download says it worked and the image booted successfully. > > excuse my manual diff method.. > git and I don't agree... not sure

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Richard Tresidder
stage 1.. Yep it works with accessing src directly.. had to reboot to verify that one. Well at least the download says it worked and the image booted successfully. excuse my manual diff method.. git and I don't agree... not sure how to get it to diff the media_build repo I pulled the code from..

Re: [PATCH 11/15] sfc: don't call dma_supported

2015-10-05 Thread Bert Kenward
On 03/10/15 16:19, Christoph Hellwig wrote: dma_set_mask already checks for a supported DMA mask before updating it, the call to dma_supported is redundant. Signed-off-by: Christoph Hellwig Acked-by: Bert Kenward The information contained in this message is confidential and is intended for

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Steven Toth
>> Do you have a large number of other devices / drivers loaded? I >> suspect another driver is burning through kernel memory before the >> saa7164 has a chance to be initialized. > > Nope nothing I can see Its actually the only addon card I have in this > system.. > I'd be buggered If 4GB of RAM i

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Richard Tresidder
Hi Just for clarification I forgot to add that I had already got past that little bump by chunking the allocation to src_buf in the same loop as the memcpy_toio But I'll rebuild the module with the memcpy_toio directly accessing src and see how it goes. Regards Richard Tresidder On 05/10

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Richard Tresidder
On 05/10/15 22:22, Steven Toth wrote: On Sun, Oct 4, 2015 at 9:59 PM, Richard Tresidder wrote: Hi Steven Nope standard x86_64 kernel 3.10.0-229.14.1.el7.x86_64 Hmm. Was rather surprised as all my quick reading indicates that the kernel should quite happily do this... Though looks like

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Richard Tresidder
Hmm indeed... I see that the 2168 wants a mux i2c adapter.. and yep my /boot/config-3.10.0-229.14.1.el7.x86_64/ is indeed showing that CONFIG_I2C_MUX is commented out.. sigh.. Rebuilding the kernel with that setting on... Why this is disabled rather than just a module is beyond me.. Curious that

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Steven Toth
On Sun, Oct 4, 2015 at 9:59 PM, Richard Tresidder wrote: > Hi Steven >Nope standard x86_64 > kernel 3.10.0-229.14.1.el7.x86_64 Hmm. > > Was rather surprised as all my quick reading indicates that the kernel > should quite happily do this... > Though looks like its the largest chunk you can r

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-10-05 Thread Tycho Lürsen
Hi, not sure if this is related. I had to recompile the centos7 stock kernel with: CONFIG_I2C_MUX=m It was not enabled in the kernel config. Op 04-10-15 om 06:55 schreef Richard Tresidder: Sorry If I've posted this to the wrong section my first attempt.. Hi I'm attempting to get an HVR2205

Re: Re: How to fix DocBook parsers for private fields inside #ifdefs

2015-10-05 Thread kbuild test robot
Hi Mauro, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:1: warning: no structured comments found kernel/sys.c:1: warning: no structured comments found drivers/dma

Re: [PATCH 5/7] [media] mipi-csis: make sparse happy

2015-10-05 Thread Sylwester Nawrocki
On 05/10/15 13:07, Arnd Bergmann wrote: > On Monday 05 October 2015 12:24:40 Sylwester Nawrocki wrote: >> > On 03/10/15 00:25, Arnd Bergmann wrote: >>> > > On Thursday 01 October 2015 19:17:27 Mauro Carvalho Chehab wrote: > > >> > diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c

[PATCH] [media] DocBook: Fix remaining issues with VB2 core documentation

2015-10-05 Thread Mauro Carvalho Chehab
Also, no fields after "private:" should be documented. As we don't want to strip the documentation, let's untag. This way, it will be seen only at the file, and not at the DocBooks. Signed-off-by: Mauro Carvalho Chehab diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h

Re: [kbuild-all] drivers/media/dvb-frontends/cxd2841er.c:2393:1: warning: the frame size of 2992 bytes is larger than 2048 bytes

2015-10-05 Thread Andrey Ryabinin
2015-10-05 14:09 GMT+03:00 Fengguang Wu : > Hi Abylay, > >> cause of this 'Kernel Address sanitizer (KASan)' is enabled in your >> config. With gcc-4.9 kasan was disabled in compile time because of: >> "scripts/Makefile.kasan:23: CONFIG_KASAN: compiler does not support >> all options. Trying minima

Re: How to fix DocBook parsers for private fields inside #ifdefs

2015-10-05 Thread Mauro Carvalho Chehab
Em Mon, 5 Oct 2015 04:56:35 -0600 Jonathan Corbet escreveu: > On Thu, 1 Oct 2015 14:21:07 -0300 > Mauro Carvalho Chehab wrote: > > > They're all after a private comment: > > /* Private: internal use only */ > > > > So, according with Documentation/kernel-doc-nano-HOWTO.txt, they shold > >

Re: [PATCH v4 2/2] SMAF: add CMA allocator

2015-10-05 Thread kbuild test robot
Hi Benjamin, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] config: sparc-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/b

Re: [kbuild-all] drivers/media/dvb-frontends/cxd2841er.c:2393:1: warning: the frame size of 2992 bytes is larger than 2048 bytes

2015-10-05 Thread Fengguang Wu
Hi Abylay, > cause of this 'Kernel Address sanitizer (KASan)' is enabled in your > config. With gcc-4.9 kasan was disabled in compile time because of: > "scripts/Makefile.kasan:23: CONFIG_KASAN: compiler does not support > all options. Trying minimal configuration" > > but with gcc-5 it's enabled

Re: [PATCH 5/7] [media] mipi-csis: make sparse happy

2015-10-05 Thread Arnd Bergmann
On Monday 05 October 2015 12:24:40 Sylwester Nawrocki wrote: > On 03/10/15 00:25, Arnd Bergmann wrote: > > On Thursday 01 October 2015 19:17:27 Mauro Carvalho Chehab wrote: > >> > diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c > >> > b/drivers/media/platform/exynos4-is/mipi-csis.c > >>

Re: How to fix DocBook parsers for private fields inside #ifdefs

2015-10-05 Thread Jonathan Corbet
On Thu, 1 Oct 2015 14:21:07 -0300 Mauro Carvalho Chehab wrote: > They're all after a private comment: > /* Private: internal use only */ > > So, according with Documentation/kernel-doc-nano-HOWTO.txt, they shold > have been ignored. > > Still, the scripts produce warnings for them: Sorry

[RFC PATCH] SMAF: smaf_cma can be static

2015-10-05 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- smaf-cma.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/smaf/smaf-cma.c b/drivers/smaf/smaf-cma.c index ab38717..9fbd9b7 100644 --- a/drivers/smaf/smaf-cma.c +++ b/drivers/smaf/smaf-cma.c @@ -175,7 +175,7 @@ error: return

Re: [PATCH v4 2/2] SMAF: add CMA allocator

2015-10-05 Thread kbuild test robot
Hi Benjamin, [auto build test WARNING on v4.3-rc4 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/smaf/smaf-cma.c:178:23

Re: [PATCH 5/7] [media] mipi-csis: make sparse happy

2015-10-05 Thread Sylwester Nawrocki
On 03/10/15 00:25, Arnd Bergmann wrote: > On Thursday 01 October 2015 19:17:27 Mauro Carvalho Chehab wrote: >> > diff --git a/drivers/media/platform/exynos4-is/mipi-csis.c >> > b/drivers/media/platform/exynos4-is/mipi-csis.c >> > index d74e1bec3d86..4b85105dc159 100644 >> > --- a/drivers/media/pla

[PATCH v4 2/2] SMAF: add CMA allocator

2015-10-05 Thread Benjamin Gaignard
SMAF CMA allocator implement helpers functions to allow SMAF to allocate contiguous memory. match() each if at least one of the attached devices have coherent_dma_mask set to DMA_BIT_MASK(32). For allocation it use dma_alloc_attrs() with DMA_ATTR_WRITE_COMBINE and not dma_alloc_writecombine to be

[PATCH v4 1/2] create SMAF module

2015-10-05 Thread Benjamin Gaignard
Secure Memory Allocation Framework goal is to be able to allocate memory that can be securing. There is so much ways to allocate and securing memory that SMAF doesn't do it by itself but need help of additional modules. To be sure to use the correct allocation method SMAF implement deferred allocat

[PATCH v4 0/2] RFC: Secure Memory Allocation Framework

2015-10-05 Thread Benjamin Gaignard
version 4 changes: - rebased on kernel 4.3-rc3 - fix missing EXPORT_SYMBOL for smaf_create_handle() version 3 changes: - Remove ioctl for allocator selection instead provide the name of the targeted allocator with allocation request. Selecting allocator from userland isn't the prefered wa