Re: [PATCH 09/41] clocksource: meson6: Migrate to new 'set-state' interface

2015-06-20 Thread Carlo Caione
On Thu, Jun 18, 2015 at 12:54 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Migrate meson6 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent

linux-next: manual merge of the crypto tree with the bluetooth tree

2015-06-20 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in: net/mac802154/llsec.c between commit: 5b0579850017 (mac802154: fix llsec authentication without encryption BUG) from the bluetooth tree and commit: 25528fdae4ab (mac802154: Switch to new AEAD interface) from

Re: [PATCH] Staging: sm750fb: Fix C99 Comments

2015-06-20 Thread Juston Li
On Fri, Jun 19, 2015 at 10:25 PM, Amitoj Kaur Chawla amitoj1...@gmail.com wrote: Used C89 instead of C99 Comments and removed C99 comments performing prints only. Problem found using checkpatch.pl ERROR: do not use C99 // comments Signed-off-by: Amitoj Kaur Chawla amitoj1...@gmail.com

Re: ACPI regression? Was Re: Ethernet chip disappeared from lspci

2015-06-20 Thread Boszormenyi Zoltan
2015-06-20 01:13 keltezéssel, Rafael J. Wysocki írta: On Friday, June 19, 2015 03:46:48 PM Boszormenyi Zoltan wrote: Hi, so after the network card came alive again, I tried kernels 3.18.16, 4.0.5 and 4.1.0-rc8. With the last two kernels, when loading the r8169 driver, I experience the

Re: [PATCH 3/4] media: pxa_camera: trivial move of dma irq functions

2015-06-20 Thread Guennadi Liakhovetski
On Sun, 22 Mar 2015, Robert Jarzmik wrote: From: Robert Jarzmik robert.jarz...@intel.com This moves the dma irq handling functions up in the source file, so that they are available before DMA preparation functions. It prepares the conversion to DMA engine, where the descriptors are

linux-next: manual merge of the akpm tree with the v4l-dvb tree

2015-06-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/media/v4l2-core/videobuf2-dma-sg.c between commit: 511a1b8a4c81 ([media] Revert [media] vb2: Push mmap_sem down to memops) from the v4l-dvb tree and patch: media: vb2: convert vb2_dma_sg_get_userptr() to

[PATCH v2 1/6] imx31: add a second rtc clock

2015-06-20 Thread Philippe Reynes
The mxc rtc driver needs two clock. It was defined only one clock, so we define the second clock. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/mach-imx/clk-imx31.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx31.c

[PATCH v2 6/6] apf27: dt: add support of internal rtc

2015-06-20 Thread Philippe Reynes
Enable the internal mxc rtc driver on apf27. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/boot/dts/imx27-apf27.dts |4 arch/arm/boot/dts/imx27.dtsi | 10 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27.dts

[PATCH v2 2/6] imx35: define two clocks for rtc

2015-06-20 Thread Philippe Reynes
The imx35 don't define clocks for rtc. This patch add two clocks, as needed by the mxc rtc driver. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/mach-imx/clk-imx35.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx35.c

[PATCH v2 5/6] dt-binding: document the binding for mxc rtc

2015-06-20 Thread Philippe Reynes
This adds documentation of device tree bindings for the mxc rtc. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga...@codeaurora.org Cc: devicet...@vger.kernel.org

[PATCH v2 4/6] rtc: mxc: add support of device tree

2015-06-20 Thread Philippe Reynes
Add device tree support for the mxc rtc driver. Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/rtc/rtc-mxc.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index e916a91..befe2c2 100644 ---

[PATCH v2 3/6] rtc: mxc: use a second rtc clock

2015-06-20 Thread Philippe Reynes
The mxc RTC needs two clocks, one for the input reference, and one for the IP. But this driver was only using one clock (for the reference). This patch add the second clock (for the IP). Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/rtc/rtc-mxc.c | 26 +-

linux-next: build failure after merge of the akpm tree

2015-06-20 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/crypto/marvell/cesa.c: In function 'mv_cesa_get_sram': drivers/crypto/marvell/cesa.c:324:2: error: implicit declaration of function 'of_get_named_gen_pool'

Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with native_read_tsc()

2015-06-20 Thread Thomas Gleixner
On Sat, 20 Jun 2015, Andy Lutomirski wrote: On Sat, Jun 20, 2015 at 7:14 AM, Thomas Gleixner t...@linutronix.de wrote: On Sat, 20 Jun 2015, walter harms wrote: Acked-by: walter harms wha...@bfs.de Am 17.06.2015 02:35, schrieb Andy Lutomirski: This is only used if BAYCOM_DEBUG is

[PATCH] serial: imx: count tty buffer overruns

2015-06-20 Thread manfred.schla...@gmx.at
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As can be seen in function uart_insert_char (serial_core) the element buf_overrun of struct uart_icount is used to count overruns of tty-buffer. Added support for counting of overruns in imx driver analogue to serial_core. Signed-off-by: Manfred

[PATCH 11/12] staging: lustre: osc: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 06/12] staging: lustre: lov: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 04/12] staging: lustre: ldlm: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 02/12] staging: lustre: fld: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 07/12] staging: lustre: mdc: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 09/12] staging: lustre: obdclass: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 01/12] staging: lustre: fid: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 10/12] staging: lustre: obdecho: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH v3 4/6] rtc: mxc: add support of device tree

2015-06-20 Thread Philippe Reynes
Add device tree support for the mxc rtc driver. Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/rtc/rtc-mxc.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-mxc.c b/drivers/rtc/rtc-mxc.c index e916a91..befe2c2 100644 ---

[PATCH v3 3/6] rtc: mxc: use a second rtc clock

2015-06-20 Thread Philippe Reynes
The mxc RTC needs two clocks, one for the input reference, and one for the IP. But this driver was only using one clock (for the reference). This patch add the second clock (for the IP). Signed-off-by: Philippe Reynes trem...@gmail.com --- drivers/rtc/rtc-mxc.c | 26 +-

[PATCH v3 5/6] dt-binding: document the binding for mxc rtc

2015-06-20 Thread Philippe Reynes
This adds documentation of device tree bindings for the mxc rtc. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala ga...@codeaurora.org Cc: devicet...@vger.kernel.org

[PATCH v3 6/6] apf27: dt: add support of internal rtc

2015-06-20 Thread Philippe Reynes
Enable the internal mxc rtc driver on apf27. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/boot/dts/imx27-apf27.dts |4 arch/arm/boot/dts/imx27.dtsi | 10 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx27-apf27.dts

[PATCH 12/12] staging: lustre: ptlrpc: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH v2 0/6] add device tree support for mxc rtc

2015-06-20 Thread Philippe Reynes
This serie add the device tree support for the mxc rtc driver. To do this, three steps are required : - define two rtc clocks for imx31 and imx35 - enhance mxc rtc driver to use two clocks (rtc and ipg) - add device tree support to mxc rtc driver Changelog: v2: (thanks Shawn Guo and Alexandre

[PATCH 00/12] Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
Use !x to check for kzalloc failure, as is more normal in the kernel. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in Please read the FAQ at http://www.tux.org/lkml/

[PATCH 03/12] staging: lustre: lclient: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 08/12] staging: lustre: mgc: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH 05/12] staging: lustre: lmv: Use !x to check for kzalloc failure

2015-06-20 Thread Julia Lawall
!x is more normal for kzalloc failure in the kernel. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ expression x; statement S1, S2; @@ x = kzalloc(...); if ( - x == NULL + !x ) S1 else S2 // /smpl Signed-off-by: Julia Lawall

[PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-20 Thread Manfred Schlaegl
I've detected a massive loss of can frames on i.MX6 using flexcan driver with 4.1-rc8 and tracked this down to following commit: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a - can: fix multiple delivery of a single CAN frame for overlapping CAN filters 514ac99c64b22d83b52dfee3b8becaa69a92bc4a

[tip:irq/core] genirq: Introduce helper function irq_data_get_affinity_mask()

2015-06-20 Thread tip-bot for Jiang Liu
Commit-ID: c64301a230a64dfc2fcf4581cd98a2d703f3c057 Gitweb: http://git.kernel.org/tip/c64301a230a64dfc2fcf4581cd98a2d703f3c057 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 1 Jun 2015 16:05:23 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 12 Jun 2015

linux-next: build warnings after merge of the net-next tree

2015-06-20 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (i386 defconfig) produced these warnings: In file included from include/net/netfilter/nf_conntrack_tuple.h:13:0, from include/linux/netfilter/nf_conntrack_dccp.h:28, from

[PATCH v2] staging: comedi: fix cast warning in comedi_compat32.c

2015-06-20 Thread Geliang Tang
This patch fixes the following sparse warning: drivers/staging/comedi/comedi_compat32.c:205:16: warning: cast removes address space of expression Signed-off-by: Geliang Tang geliangt...@163.com --- Changes in v2: - compat_ptr() is substituted by 'unsigned long'. ---

[PATCH] kbuild: builddeb: Include dtbs in the Debian package built by make deb-pkg

2015-06-20 Thread Karsten Merker
Native Debian kernel packages include any dtbs that were generated during the kernel build process in /usr/lib/${packagename}. Do the same for Debian packages built by scripts/package/builddeb (executed by the deb-pkg target). Signed-off-by: Karsten Merker mer...@debian.org ---

Re: [PATCH] staging: comedi: fix sparse warning in ni_mio_common.c

2015-06-20 Thread Greg KH
On Sat, Jun 20, 2015 at 04:47:33PM +, Geliang Tang wrote: This patch fixes the following sparse warning: drivers/staging/comedi/drivers/ni_mio_common.c:573:26: warning: shift too big (4294967295) for type int Signed-off-by: Geliang Tang geliangt...@163.com ---

randconfig build error with next-20150620, in drivers/media/v4l2-core/videobuf2-core.c

2015-06-20 Thread Jim Davis
Building with the attached random configuration file, drivers/media/v4l2-core/videobuf2-core.c: In function ‘vb2_warn_zero_bytesused’: drivers/media/v4l2-core/videobuf2-core.c:1253:2: error: implicit declaration of function ‘__WARN’ [-Werror=implicit-function-declaration] __WARN(); ^ # #

Re: [PATCH 4.0 000/105] 4.0.6-stable review

2015-06-20 Thread Heinz Diehl
On 20.06.2015, Greg Kroah-Hartman wrote: I need some kind of hint as to _what_ patch that is in mainline. What's the git id of it in Linus's tree? Sorry! It's commit 00425bb181c204c8f250fec122e2817a930e0286.

Re: [PATCH] serial: imx: count tty buffer overruns

2015-06-20 Thread Manfred Schlaegl
On 2015-06-20 18:57, Greg Kroah-Hartman wrote: On Sat, Jun 20, 2015 at 06:41:20PM +0200, manfred.schla...@gmx.at wrote: As can be seen in function uart_insert_char (serial_core) the element buf_overrun of struct uart_icount is used to count overruns of tty-buffer. Added support for counting

linux-next: manual merge of the akpm tree with the v4l-dvb tree

2015-06-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/media/v4l2-core/videobuf2-vmalloc.c between commit: 511a1b8a4c81 ([media] Revert [media] vb2: Push mmap_sem down to memops) from the v4l-dvb tree and patch: media: vb2: Convert vb2_vmalloc_get_userptr() to

Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with native_read_tsc()

2015-06-20 Thread Thomas Gleixner
On Sat, 20 Jun 2015, walter harms wrote: Acked-by: walter harms wha...@bfs.de Am 17.06.2015 02:35, schrieb Andy Lutomirski: This is only used if BAYCOM_DEBUG is defined. So why don't we just replace that by ktime_get() and get rid of the x86'ism in that driver. Thanks, tglx --

linux-next: Tree for Jun 20

2015-06-20 Thread Stephen Rothwell
Hi all, Changes since 20150619: New trees: hwspinlock, nvdimm The v4l-dvb tree lost its build failure. The crypto tree gained a conflict against the bluetooth tree. The tip tree gained a conflict against the modules tree. The workqueues tree gained a build failure for which I applied a merge

[tip:irq/core] genirq: Enhance irq_data_to_desc() to support hierarchy irqdomain

2015-06-20 Thread tip-bot for Jiang Liu
Commit-ID: 7bbf1dd24b17b9ec4f47c43ce4e05bf190745553 Gitweb: http://git.kernel.org/tip/7bbf1dd24b17b9ec4f47c43ce4e05bf190745553 Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 1 Jun 2015 16:05:10 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 12 Jun 2015

[tip:irq/core] genirq: Remove bogus restriction in irq_move_mask_irq()

2015-06-20 Thread tip-bot for Thomas Gleixner
Commit-ID: a614a610ac9b28f195d790d25be72d26f345c53a Gitweb: http://git.kernel.org/tip/a614a610ac9b28f195d790d25be72d26f345c53a Author: Thomas Gleixner t...@linutronix.de AuthorDate: Sat, 20 Jun 2015 12:05:40 +0200 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Sat, 20 Jun 2015

[tip:irq/core] genirq: Prevent crash in irq_move_irq()

2015-06-20 Thread tip-bot for Jiang Liu
Commit-ID: 77ed42f18edd486e9994ccd1f174076309a6343f Gitweb: http://git.kernel.org/tip/77ed42f18edd486e9994ccd1f174076309a6343f Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 1 Jun 2015 16:05:11 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 12 Jun 2015

linux-next: manual merge of the akpm tree with the v4l-dvb tree

2015-06-20 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: drivers/media/v4l2-core/videobuf2-dma-contig.c between commit: 511a1b8a4c81 ([media] Revert [media] vb2: Push mmap_sem down to memops) from the v4l-dvb tree and patch: media: vb2: convert vb2_dc_get_userptr() to

Re: [PATCH v2 2/6] imx35: define two clocks for rtc

2015-06-20 Thread Fabio Estevam
On Sat, Jun 20, 2015 at 11:15 AM, Philippe Reynes trem...@gmail.com wrote: @@ -240,6 +241,9 @@ int __init mx35_clocks_init(void) clk_register_clkdev(clk[ipg], ipg, imx21-uart.1); clk_register_clkdev(clk[uart3_gate], per, imx21-uart.2); clk_register_clkdev(clk[ipg],

Re: [PATCH] staging: comedi: fix sparse warning in comedi_compat32.c

2015-06-20 Thread Geliang Tang
On Sat, Jun 20, 2015 at 04:08:19PM +0530, Sudip Mukherjee wrote: compat_ptr is already a typecast. static inline void __user *compat_ptr(compat_uptr_t uptr) { return (void __user *)(unsigned long)uptr; } so you are adding another typecast to an already exitsing typecast. :( and

Re: [PATCH 4.0 000/105] 4.0.6-stable review

2015-06-20 Thread Greg Kroah-Hartman
On Sat, Jun 20, 2015 at 09:58:55AM +0200, Heinz Diehl wrote: On 19.06.2015, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.0.6 release. There are 105 patches in this series Since a few -stable releases I'm missing this one (it's already in mainline):

Re: linux-next: build warnings after merge of the staging tree

2015-06-20 Thread Greg KH
On Sat, Jun 20, 2015 at 08:48:26PM +1000, Stephen Rothwell wrote: Hi Greg, On Mon, 1 Jun 2015 18:50:12 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: On Fri, 29 May 2015 20:40:02 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the staging tree, today's

[PATCH] can: fix loss of frames due to wrong assumption in raw_rcv

2015-06-20 Thread manfred.schla...@gmx.at
I've detected a massive loss of can frames on i.MX6 using flexcan driver with 4.1-rc8 and tracked this down to following commit: 514ac99c64b22d83b52dfee3b8becaa69a92bc4a - can: fix multiple delivery of a single CAN frame for overlapping CAN filters 514ac99c64b22d83b52dfee3b8becaa69a92bc4a

Re: [RFC][PATCH 1/5] mm/slab_common: allow NULL cache pointer in kmem_cache_destroy()

2015-06-20 Thread Julia Lawall
On Thu, 18 Jun 2015, Sergey Senozhatsky wrote: On (06/17/15 16:14), David Rientjes wrote: [..] Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com Reported-by: Andrew Morton a...@linux-foundation.org LKML-reference: https://lkml.org/lkml/2015/6/8/583 Acked-by:

Re: [PATCH] block: nvme-scsi: Catch kcalloc failure

2015-06-20 Thread Jens Axboe
On 06/20/2015 02:29 AM, Axel Lin wrote: res variable was initialized to -ENOMEM, but it's override by nvme_trans_copy_from_user(). So current code returns 0 if kcalloc fails. Fix it to return proper error code. Looks good to me, applied for 4.2. -- Jens Axboe -- To unsubscribe from this

Re: [PATCH v2 2/6] imx35: define two clocks for rtc

2015-06-20 Thread Philippe Reynes
Hi Fabio, On 20/06/15 16:43, Fabio Estevam wrote: On Sat, Jun 20, 2015 at 11:15 AM, Philippe Reynestrem...@gmail.com wrote: @@ -240,6 +241,9 @@ int __init mx35_clocks_init(void) clk_register_clkdev(clk[ipg], ipg, imx21-uart.1); clk_register_clkdev(clk[uart3_gate], per,

[PATCH] serial: imx: count tty buffer overruns

2015-06-20 Thread manfred.schla...@gmx.at
As can be seen in function uart_insert_char (serial_core) the element buf_overrun of struct uart_icount is used to count overruns of tty-buffer. Added support for counting of overruns in imx driver analogue to serial_core. Signed-off-by: Manfred Schlaegl manfred.schla...@gmx.at ---

[PATCH v3 2/6] imx35: define two clocks for rtc

2015-06-20 Thread Philippe Reynes
The imx35 don't define clocks for rtc. This patch add two clocks, as needed by the mxc rtc driver. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/mach-imx/clk-imx35.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx35.c

[PATCH v3 0/6] add device tree support for mxc rtc

2015-06-20 Thread Philippe Reynes
This serie add the device tree support for the mxc rtc driver. To do this, three steps are required : - define two rtc clocks for imx31 and imx35 - enhance mxc rtc driver to use two clocks (rtc and ipg) - add device tree support to mxc rtc driver Changelog: v3: (thanks Fabio Estevam) - fix typo

[PATCH v3 1/6] imx31: add a second rtc clock

2015-06-20 Thread Philippe Reynes
The mxc rtc driver needs two clock. It was defined only one clock, so we define the second clock. Signed-off-by: Philippe Reynes trem...@gmail.com --- arch/arm/mach-imx/clk-imx31.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx31.c

Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with native_read_tsc()

2015-06-20 Thread walter harms
Acked-by: walter harms wha...@bfs.de Am 17.06.2015 02:35, schrieb Andy Lutomirski: This is only used if BAYCOM_DEBUG is defined. Cc: walter harms wha...@bfs.de Cc: Ralf Baechle r...@linux-mips.org Cc: Thomas Sailer t.sai...@alumni.ethz.ch Cc: linux-h...@vger.kernel.org Signed-off-by: Andy

Re: [PATCH 1/2] genirq: add chip_{suspend,resume} PM support to irq_chip

2015-06-20 Thread Thomas Gleixner
On Fri, 19 Jun 2015, Brian Norris wrote: This patch adds a second set of suspend/resume hooks to irq_chip, this time to represent *chip* suspend/resume, rather than IRQ suspend/resume. These callbacks will always be called for an irqchip and are based on the per-chip irq_chip_generic struct,

Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with native_read_tsc()

2015-06-20 Thread Andy Lutomirski
On Sat, Jun 20, 2015 at 7:14 AM, Thomas Gleixner t...@linutronix.de wrote: On Sat, 20 Jun 2015, walter harms wrote: Acked-by: walter harms wha...@bfs.de Am 17.06.2015 02:35, schrieb Andy Lutomirski: This is only used if BAYCOM_DEBUG is defined. So why don't we just replace that by

Re: [PATCH 1/4] staging: sm750fb: use tabs for indentation

2015-06-20 Thread Juston Li
My apologies, I thought I removed all of those. Fixed for real this time, resending. Regards Juston On Sat, Jun 20, 2015 at 3:45 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Sat, Jun 20, 2015 at 01:48:32AM -0700, Juston Li wrote: Replace spaces with tabs for indentation to fix the

[PATCH] serial: imx: reduce irq-latency after rx overflow

2015-06-20 Thread manfred.schla...@gmx.at
To prevent problems with interrupt latency, and due to the fact, that the error will be counted anyway (icount.overrun), the dev_err is simply removed. Background: If an rx-fifo overflow occurs a dev_err message was called in interrupt context. Since dev_err messages are written to console in a

Re: [PATCH] serial: imx: count tty buffer overruns

2015-06-20 Thread Greg Kroah-Hartman
On Sat, Jun 20, 2015 at 06:41:20PM +0200, manfred.schla...@gmx.at wrote: As can be seen in function uart_insert_char (serial_core) the element buf_overrun of struct uart_icount is used to count overruns of tty-buffer. Added support for counting of overruns in imx driver analogue to

[PATCH] serial: imx: count tty buffer overruns

2015-06-20 Thread Manfred Schlaegl
As can be seen in function uart_insert_char (serial_core) the element buf_overrun of struct uart_icount is used to count overruns of tty-buffer. Added support for counting of overruns in imx driver analogue to serial_core. Signed-off-by: Manfred Schlaegl manfred.schla...@gmx.at ---

[PATCH] serial: imx: reduce irq-latency after rx overflow

2015-06-20 Thread Manfred Schlaegl
To prevent problems with interrupt latency, and due to the fact, that the error will be counted anyway (icount.overrun), the dev_err is simply removed. Background: If an rx-fifo overflow occurs a dev_err message was called in interrupt context. Since dev_err messages are written to console in a

[PATCH 14/19] staging: sm750fb: remove trailing whitespace

2015-06-20 Thread Juston Li
fixes checkpatch.pl error: ERROR: trailing whitespace Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_dvi.c | 2 +- drivers/staging/sm750fb/sm750_accel.c | 4 ++-- drivers/staging/sm750fb/sm750_hw.c| 24 3 files changed, 15

[PATCH 11/19] staging: sm750fb: consistent spacing around operators

2015-06-20 Thread Juston Li
fixes checkpatch.pl error: ERROR: need consistent spacing around '' Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_chip.c| 4 ++-- drivers/staging/sm750fb/ddk750_display.h | 4 ++-- drivers/staging/sm750fb/sm750.h | 2 +-

[PATCH 12/19] staging: sm750fb: add spaces around operators

2015-06-20 Thread Juston Li
fixes checkpath.pl error: ERROR: spaces required around that '' Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_chip.c | 2 +- drivers/staging/sm750fb/ddk750_power.c | 2 +- drivers/staging/sm750fb/sm750.h| 2 +- drivers/staging/sm750fb/sm750_accel.c

[PATCH 13/19] staging: sm750fb: add space after semicolon

2015-06-20 Thread Juston Li
fixes checkpatch.pl error: ERROR: space required after that ';' Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/sm750.h| 2 +- drivers/staging/sm750fb/sm750_cursor.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 15/19] staging: sm750fb: remove unnecessary whitespace

2015-06-20 Thread Juston Li
fixes checkpatch.pl warning: WARNING: unnecessary whitespace before a quoted newline Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/sm750.c| 2 +- drivers/staging/sm750fb/sm750_hw.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 16/19] staging: sm750fb: fix brace placement

2015-06-20 Thread Juston Li
Fix brace placement errors caught by checkpatch.pl ERROR: that open brace { should be on the previous line Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_chip.h| 12 +++ drivers/staging/sm750fb/ddk750_display.c | 54 ++--

[PATCH 10/19] staging: sm750fb: add space after return type

2015-06-20 Thread Juston Li
fixes checkpatch.pl warning: WARNING: missing space after return type Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/sm750.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h

[PATCH 19/19] staging: sm750fb: add missing blank line after declarations

2015-06-20 Thread Juston Li
fixes checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_chip.c| 1 + drivers/staging/sm750fb/ddk750_display.c | 2 ++ drivers/staging/sm750fb/ddk750_dvi.c | 1 +

[PATCH 17/19] staging: sm750fb: move while to follow do close brace

2015-06-20 Thread Juston Li
fixes checkpatch.pl error: ERROR: while should follow close brace '}' Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_display.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_display.c

[PATCH 18/19] staging: sm750fb: remove unnecessary braces

2015-06-20 Thread Juston Li
fixes checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/sm750_accel.c | 9 +++-- drivers/staging/sm750fb/sm750_hw.c| 6 ++ 2 files changed, 5 insertions(+), 10

Re: [PATCH] mm: Fix MAP_POPULATE and mlock() for DAX

2015-06-20 Thread Kirill A. Shutemov
On Tue, Jun 16, 2015 at 04:28:30PM -0600, Toshi Kani wrote: DAX has the following issues in a shared or read-only private mmap'd file. - mmap(MAP_POPULATE) does not pre-fault - mlock() fails with -ENOMEM DAX uses VM_MIXEDMAP for mmap'd files, which do not have struct page associated with

Gift

2015-06-20 Thread ccwwbrqbo
Good news tv,moto,cellphone,gultar the shipping is free samsung 6, € 320 s i te: isgayre. com N�r��yb�X��ǧv�^�)޺{.n�+{zX�Wi�axPj�m -�+��d�_

[PATCH/RFC] cris: add placeholder DMA functions for build coverage

2015-06-20 Thread Paul Gortmaker
Currently arch/cris fails the allmodconfig/allyesconfig build coverage in linux-next with things like: drivers/media/platform/sti/bdisp/bdisp-hw.c:132:3: error: implicit declaration of function 'dma_free_attrs' drivers/media/platform/sti/bdisp/bdisp-hw.c:157:2: error: implicit declaration of

Re: [PATCH v7 00/14] crypto: add a new driver for Marvell's CESA

2015-06-20 Thread Paul Gortmaker
On Fri, Jun 19, 2015 at 10:24 AM, Herbert Xu herb...@gondor.apana.org.au wrote: On Thu, Jun 18, 2015 at 03:46:16PM +0200, Boris Brezillon wrote: Hello, This patch series adds a new driver supporting Marvell's CESA IP. This driver addresses some limitations of the existing one. From a

Re: linux-next: build warnings after merge of the net-next tree

2015-06-20 Thread Florian Westphal
Stephen Rothwell s...@canb.auug.org.au wrote: After merging the net-next tree, today's linux-next build (i386 defconfig) produced these warnings: In file included from include/net/netfilter/nf_conntrack_tuple.h:13:0, from include/linux/netfilter/nf_conntrack_dccp.h:28,

Re: linux-next: build warnings after merge of the net-next tree

2015-06-20 Thread Pablo Neira Ayuso
On Sat, Jun 20, 2015 at 07:40:03PM +0200, Florian Westphal wrote: [...] Introduced by commit: 71ae0dff02d7 (netfilter: xtables: use percpu rule counters) Yes, sorry about this, should be fixed by dcb8f5c8139ef945cdfd (netfilter: xtables: fix warnings on 32bit platforms). There's a

[PATCH 01/19] staging: sm750fb: use tabs for indentation

2015-06-20 Thread Juston Li
Replace spaces with tabs for indentation to fix the checkpatch.pl error ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_display.c | 100

[PATCH 02/19] staging: sm750fb: remove spacing after open parenthesis

2015-06-20 Thread Juston Li
fixes checkpatch.pl warning: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Juston Li juston.h...@gmail.com --- drivers/staging/sm750fb/ddk750_chip.c | 6 +++--- drivers/staging/sm750fb/ddk750_mode.c | 2 +- drivers/staging/sm750fb/ddk750_power.c | 8

[PATCH] staging: i2o: iop.c: Fix pointer declarations

2015-06-20 Thread Joseph Kogut
Kernel coding style dictates that pointer declarations have the asterisk next to the data name. Signed-off-by: Joseph Kogut joseph.ko...@gmail.com --- drivers/staging/i2o/iop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/i2o/iop.c

[PATCH 5/5] staging: lustre: osc: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr

Re: [PATCH 4.0 000/105] 4.0.6-stable review

2015-06-20 Thread Greg Kroah-Hartman
On Sat, Jun 20, 2015 at 07:18:27PM +0200, Heinz Diehl wrote: On 20.06.2015, Greg Kroah-Hartman wrote: I need some kind of hint as to _what_ patch that is in mainline. What's the git id of it in Linus's tree? Sorry! It's commit 00425bb181c204c8f250fec122e2817a930e0286.

[PATCH 0/5] drop trivially useless initialization

2015-06-20 Thread Julia Lawall
These patches remove initializations of variables that are immediately reassigned. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in Please read the FAQ at http://www.tux.org/lkml/

[PATCH 1/5] staging: lustre: libcfs: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr

[PATCH 3/5] staging: lustre: lmv: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr

[PATCH 2/5] staging: lustre: llite: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr

[PATCH 4/5] staging: lustre: obdclass: llog: drop trivially useless initialization

2015-06-20 Thread Julia Lawall
Remove initialization of a variable that is immediately reassigned. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ type T; identifier x; constant C; expression e; @@ T x - = C ; x = e; // /smpl Signed-off-by: Julia Lawall julia.law...@lip6.fr

[tip:irq/core] genirq: Introduce helper function irq_data_get_node()

2015-06-20 Thread tip-bot for Jiang Liu
Commit-ID: 6783011b48096b9a0c239d0f7645f93070b6eefd Gitweb: http://git.kernel.org/tip/6783011b48096b9a0c239d0f7645f93070b6eefd Author: Jiang Liu jiang@linux.intel.com AuthorDate: Mon, 1 Jun 2015 16:05:13 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 12 Jun 2015

Re: [RFC][PATCH] fs: optimize inotify/fsnotify code for unwatched files

2015-06-20 Thread Dave Hansen
On 06/19/2015 07:21 PM, Paul E. McKenney wrote: What is so expensive in it? Just the memory barrier in it? The profiling doesn't hit on the mfence directly, but I assume that the overhead is coming from there. The mov0x8(%rdi),%rcx is identical before and after the barrier, but it

[PATCH v2 00/19] staging: sm750fb: checkpatch.pl fixes

2015-06-20 Thread Juston Li
This patch set includes 19 patches fixing indentation, spacing, brace placement and missing blank lines from checkpatch.pl warnings/errors in staging/sm750fb. Regards Juston - Changes since v1: * Don't rearrange lines in PATCH 01 * Split up spacing fixes patch by checkpatch errors

Re: [PATCH 3/3] writeback, blkio: add documentation for cgroup writeback support

2015-06-20 Thread Tejun Heo
Hey, Ted. On Wed, Jun 17, 2015 at 05:48:52PM -0400, Theodore Ts'o wrote: On Wed, Jun 17, 2015 at 02:52:37PM -0400, Tejun Heo wrote: Hmmm... so, overriding things *before* an bio is issued shouldn't be too difficult and as long as this sort of operations aren't prevalent we might be able

Re: [PATCH] staging: make board support depend on CLKDEV_LOOKUP

2015-06-20 Thread Geert Uytterhoeven
Hi Paul, On Sat, Jun 20, 2015 at 9:27 PM, Paul Gortmaker paul.gortma...@windriver.com wrote: Building allmodconfig for arch/cris currently fails with: drivers/built-in.o: In function `board_staging_register_clock': drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'

<    1   2   3   4   5   >