Re: [PATCH tip/core/rcu] Reduce overhead of cond_resched() checks for RCU

2014-06-21 Thread Paul E. McKenney
On Fri, Jun 20, 2014 at 09:29:58PM -0700, Josh Triplett wrote: On Fri, Jun 20, 2014 at 07:59:58PM -0700, Paul E. McKenney wrote: Commit ac1bea85781e (Make cond_resched() report RCU quiescent states) fixed a problem where a CPU looping in the kernel with but one runnable task would give RCU

Re: [Cocci] SmPL for automatic request_firmware_nowait() conversion

2014-06-21 Thread Julia Lawall
On Sat, 21 Jun 2014, Luis R. Rodriguez wrote: I was just porting over an ethernet driver [0] to use request_firmware_nowait() since firmware loading seems can take over a minute on one device, while at it I noticed no other ethernet drivers yet use this API so figure this may be a trend

Re: [Cocci] SmPL for automatic request_firmware_nowait() conversion

2014-06-21 Thread SF Markus Elfring
Obviously I considered writing SmPL for this, but one thing which seemed hard was that for after the request_firmware_nowait() we tend to tuck away into another new call the rest of the code that was in place in the original function after the old request_firmware() call. Is there a way to

Re: [PATCH v4] openrisc: irq: use irqchip framework

2014-06-21 Thread Stefan Kristiansson
On Fri, Jun 20, 2014 at 10:04:30PM -0400, Jason Cooper wrote: On Thu, May 29, 2014 at 11:28:08PM +0300, Stefan Kristiansson wrote: But I don't understand the purpose of the versioning here, there will never be any other or1200-pic version than the one that currently exists, so IMO or1200

Re: [PATCH] remove csum_partial_copy_generic_i386 to clean up exception table

2014-06-21 Thread Real Name
On Thu, Jun 05, 2014 at 11:49:49PM +0200, Richard Weinberger wrote: Am 05.06.2014 06:15, schrieb Honggang Li: arch/x86/um/checksum_32.S had been copy paste from x86. When build x86 uml, csum_partial_copy_generic_i386 mess up the exception table. In fact, exception table dose not work in

Re: [v3.10-rt / v3.12-rt] scheduling while atomic in cgroup code

2014-06-21 Thread Mike Galbraith
On Sat, 2014-06-21 at 07:55 +0400, Nikita Yushchenko wrote: Hi. Call Trace: [e22d5a90] [c0007ea8] show_stack+0x4c/0x168 (unreliable) [e22d5ad0] [c0618c04] __schedule_bug+0x94/0xb0 [e22d5ae0] [c060b9ec] __schedule+0x530/0x550 [e22d5bf0] [c060bacc] schedule+0x30/0xbc [e22d5c00] [c060ca24]

Re: [PATCH 1/1] net/dsa/dsa.c: remove null test before kfree

2014-06-21 Thread Bjørn Mork
On 20 June 2014 22:36:47 CEST, Fabian Frederick f...@skynet.be wrote: Fix checkpatch warning: WARNING: kfree(NULL) is safe this check is probably not required probably not implies that there are cases where the check *is* required. That means that your commit message should explain why this

[PATCH] staging: lustre: fix sparse warnings for static symbols

2014-06-21 Thread James A Shackleford
This patch fixes the following sparse warnings: drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:46:20: warning: symbol 'the_ksocklnd' was not declared. Should it be static? drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:49:19: warning: symbol 'ksocknal_ip2iface' was not declared.

Re: [PATCHv6 1/3] devicetree: Addition of the Altera SDRAM controller

2014-06-21 Thread Steffen Trumtrar
Hi! On Fri, Jun 20, 2014 at 06:22:01PM -0500, ttha...@altera.com wrote: From: Thor Thayer ttha...@altera.com Addition of the Altera SDRAM Controller bindings and device tree changes. v2: Changes to SoC SDRAM EDAC code. v3: Implement code suggestions for SDRAM EDAC code. v4: Remove

Re: [PATCHv6 2/3] devicetree: Addition of the Altera SDRAM EDAC

2014-06-21 Thread Steffen Trumtrar
On Fri, Jun 20, 2014 at 06:22:02PM -0500, ttha...@altera.com wrote: From: Thor Thayer ttha...@altera.com Addition of the Altera SDRAM EDAC bindings and device tree changes v2: Changes to SoC EDAC source code. v3: Fix typo in device tree documentation. v4,v5: No changes - bump version

Re: [PATCH 0/2] /proc/stat vs. failed order-4 allocation

2014-06-21 Thread Heiko Carstens
On Wed, Jun 18, 2014 at 02:29:31PM -0700, Andrew Morton wrote: On Mon, 16 Jun 2014 11:04:50 +0200 Heiko Carstens heiko.carst...@de.ibm.com wrote: These two patches are supposed to fix failed order-4 memory allocations which have been observed when reading /proc/stat. The problem has

Re: [PATCH 1/1] net/dsa/dsa.c: remove null test before kfree

2014-06-21 Thread Fabian Frederick
On Sat, 21 Jun 2014 10:37:24 +0200 Bjørn Mork bj...@mork.no wrote: On 20 June 2014 22:36:47 CEST, Fabian Frederick f...@skynet.be wrote: Fix checkpatch warning: WARNING: kfree(NULL) is safe this check is probably not required probably not implies that there are cases where the check

BUG when trying to use deadline iosched in 3.16-rc1

2014-06-21 Thread Damien Wyart
Hi, While testing 3.16-rc1, I got this error: Jun 21 11:19:03 brouette kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0) Jun 21 11:19:03 brouette kernel: BUG: unable to handle kernel paging request at 8171a1f8 Jun 21 11:19:03 brouette kernel: IP:

BUG when trying to use deadline iosched in 3.16-rc1

2014-06-21 Thread Damien Wyart
Hi, While testing 3.16-rc1, I got this error: Jun 21 11:19:03 brouette kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0) Jun 21 11:19:03 brouette kernel: BUG: unable to handle kernel paging request at 8171a1f8 Jun 21 11:19:03 brouette kernel: IP:

Re: BUG when trying to use deadline iosched in 3.16-rc1

2014-06-21 Thread Fabian Frederick
On Sat, 21 Jun 2014 11:37:47 +0200 Damien Wyart damien.wy...@gmail.com wrote: Hi, While testing 3.16-rc1, I got this error: Jun 21 11:19:03 brouette kernel: kernel tried to execute NX-protected page - exploit attempt? (uid: 0) Jun 21 11:19:03 brouette kernel: BUG: unable to handle kernel

Re: [PATCH v2] clocksource: exynos-mct: Register the timer for stable udelay

2014-06-21 Thread amit daniel kachhap
On Fri, Jun 20, 2014 at 11:17 PM, Doug Anderson diand...@chromium.org wrote: Hi, On Fri, Jun 20, 2014 at 4:19 AM, amit daniel kachhap amit.dan...@samsung.com wrote: On Fri, Jun 20, 2014 at 1:45 PM, Will Deacon will.dea...@arm.com wrote: On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa

Contact me for more details.

2014-06-21 Thread MARTIN DESMOND
Hi friend. I want to transfer USD5.5Million into your account Contact me for more details. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: [PATCH] staging: rtl8172u: Make ieee80211_crypto_init static

2014-06-21 Thread L . Alberto Giménez
On Thu, Jun 19, 2014 at 05:14:26PM -0700, Greg Kroah-Hartman wrote: On Thu, Jun 12, 2014 at 07:40:49PM +0200, L. Alberto Giménez wrote: Fix sparse warning. Signed-off-by: L. Alberto Giménez agime...@sysvalve.es --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt.c | 2 +- 1 file

Re: [PATCH] x86/mce: Don't unregister CPU hotplug notifier in error path

2014-06-21 Thread Borislav Petkov
On Fri, Jun 20, 2014 at 10:04:37PM -0400, Boris Ostrovsky wrote: I'll try it later but this doesn't look sufficient to me: we might not reach this point if subsys_system_register() or zalloc_cpumask_var() fail. If those fail, I'd say we have a much bigger problem than undeleted timers. We

Re: [Patch v2 2/3] spi: qup: Fix order of spi_register_master

2014-06-21 Thread Mark Brown
On Thu, Jun 12, 2014 at 02:34:11PM -0500, Andy Gross wrote: This patch moves the devm_spi_register_master below the initialization of the runtime_pm. If done in the wrong order, the spi_register_master fails if any probed slave devices issue SPI transactions. Applied, thanks. signature.asc

Re: [Patch v2 1/3] spi: qup: Remove chip select function

2014-06-21 Thread Mark Brown
On Thu, Jun 12, 2014 at 02:34:10PM -0500, Andy Gross wrote: This patch removes the chip select function. Chip select should instead be supported using GPIOs, defining the DT entry cs-gpios, and letting the SPI core assert/deassert the chip select as it sees fit. Why? signature.asc

Re: [Patch v2 3/3] spi: qup: Add support for v1.1.1

2014-06-21 Thread Mark Brown
On Thu, Jun 12, 2014 at 02:34:12PM -0500, Andy Gross wrote: This patch adds support for v1.1.1 of the SPI QUP controller. Applied, thanks. signature.asc Description: Digital signature

[PATCH] thunderbolt: select CRC32 in Kconfig

2014-06-21 Thread Andreas Noever
We use __crc32c_le in ctl.c. So make sure that the dependency is there. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Andreas Noever andreas.noe...@gmail.com --- drivers/thunderbolt/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thunderbolt/Kconfig

Re: [PATCH 1/5] spi: sh-msiof: Add more register documentation

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:16:16PM +0200, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 3/5] spi: sh-msiof: Improve transfer error handling

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:16:18PM +0200, Geert Uytterhoeven wrote: - Add a timeout when waiting for the transfer complete interrupt, - If sh_msiof_spi_stop() fails, there's no need to clear IER, as the interrupt handler has already done that, - Propagate transfer failures in

Re: [PATCH 4/5] spi: sh-msiof: Refactor sh_msiof_transfer_one()

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:16:19PM +0200, Geert Uytterhoeven wrote: - Move buffer pointer and length setup to the top, - Make unsigned values unsigned, - Loop over words and increment pointers instead of recalculating them, which allows to kill bytes_done. Applied, thanks.

Re: [PATCH 2/5] spi: sh-msiof: Extract sh_msiof_spi_{start,stop}() helpers

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:16:17PM +0200, Geert Uytterhoeven wrote: Based on an old patch by Guennadi Liakhovetski g.liakhovet...@gmx.de Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 5/5] spi: sh-msiof: Add DMA support

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:16:20PM +0200, Geert Uytterhoeven wrote: Add DMA support to the MSIOF driver using platform data. This doesn't apply against current code, can you please check and resend? signature.asc Description: Digital signature

Re: [PATCH] net/wireless/brcm80211/brcmfmac: Make return type reflect actual semantics

2014-06-21 Thread Arend van Spriel
On 06/20/14 23:32, Rasmus Villemoes wrote: Applying ++ to a bool is equivalent to setting it true, regardless of its initial value (bools are not uint1_t). Hence the function wl_get_vif_state_all can only ever return true/false. The only in-tree caller uses its return value as a boolean. So

Re: [PATCH] regulator: palmas: Fix SMPS enable/disable/is_enabled

2014-06-21 Thread Mark Brown
On Fri, Jun 20, 2014 at 12:26:23PM -0500, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend on valid enable_reg, enable_mask and enable_value in regulator descriptor. Applied, thanks. signature.asc

Re: [PATCH 1/1] regulator: ltc3589: Staticize ltc3589_reg_defaults

2014-06-21 Thread Mark Brown
On Tue, Jun 10, 2014 at 12:04:53PM +0530, Sachin Kamat wrote: 'ltc3589_reg_defaults' is local to this file. Make it static. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHv2 0/2] regulator: of: Add support for pasing regulator suspend state

2014-06-21 Thread Mark Brown
On Tue, Jun 17, 2014 at 09:39:51AM +0900, Chanwoo Choi wrote: Hi Mark, Could you please review this patchset? Please don't send contentless, top posted pings. It's just more e-mail to read. signature.asc Description: Digital signature

Re: [PATCH v5] iio: dac: mcp4902/mcp4912/mcp4922 dac driver

2014-06-21 Thread Jonathan Cameron
On 15/06/14 22:17, Michael Welling wrote: This patch provides an iio device driver for the Microchip MCP49x2 series DACs. Normally this lot goes below the --- inorder that it doesn't then lead to really long commit messages in git. Anyhow, I just dropped this stuff during the commit. It's

Re: SmPL for automatic request_firmware_nowait() conversion

2014-06-21 Thread Francois Romieu
Luis R. Rodriguez mcg...@suse.com : I was just porting over an ethernet driver [0] to use request_firmware_nowait() since firmware loading seems can take over a minute on one device, while at it I noticed no other ethernet drivers yet use this API so figure this may be a trend coming if

Re: [PATCH v3 1/3] iio: documentation: Added documentation for rotation from north usage attributes

2014-06-21 Thread Jonathan Cameron
On 16/06/14 23:30, Reyad Attiyat wrote: Added documentation for the sysfs attributes added by the rotation from north usage attributes. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com Nearly there, but I'd prefer a slight reorganization of the docs. See below. ---

[PATCH v10 3/5] ARM: sunxi: Add pins for IR controller on A20 to dtsi

2014-06-21 Thread Alexander Bersenev
This patch adds pins for two IR controllers on A20 Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git

[PATCH v10 0/5] ARM: sunxi: Add support for consumer infrared devices

2014-06-21 Thread Alexander Bersenev
This patch introduces Consumer IR(CIR) support for sunxi boards. This is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- Changes since version

[PATCH v10 4/5] ARM: sunxi: Add IR controllers on A20 to dtsi

2014-06-21 Thread Alexander Bersenev
This patch adds records for two IR controllers on A20 Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- arch/arm/boot/dts/sun7i-a20.dtsi | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git

[PATCH v10 5/5] ARM: sunxi: Enable IR controller on cubieboard 2 and cubietruck in dts

2014-06-21 Thread Alexander Bersenev
This patch enables two IR devices in dts: - One IR device physically found on Cubieboard 2 - One IR device physically found on Cubietruck Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts

[PATCH v10 2/5] [media] rc: add sunxi-ir driver

2014-06-21 Thread Alexander Bersenev
This patch adds driver for sunxi IR controller. It is based on Alexsey Shestacov's work based on the original driver supplied by Allwinner. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- drivers/media/rc/Kconfig | 10 ++

[PATCH v10 1/5] ARM: sunxi: Add documentation for sunxi consumer infrared devices

2014-06-21 Thread Alexander Bersenev
This patch adds documentation for Device-Tree bindings for sunxi IR controller. Signed-off-by: Alexander Bersenev b...@hackerdom.ru Signed-off-by: Alexsey Shestacov wingr...@linux-sunxi.org --- .../devicetree/bindings/media/sunxi-ir.txt | 23 1 files changed, 23

Re: [PATCH v3 3/3] iio: hid-sensor-magn-3d: Add support for rotation from north usage attributes

2014-06-21 Thread Jonathan Cameron
On 16/06/14 23:30, Reyad Attiyat wrote: Added the ability for this driver to scan for a range of hid usage attributes. This allows for dynamic creation of iio channels such as rotation from north and/or magnetic flux axises (X, Y, Z). Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com Hi

Re: [PATCH 4/8] iio: Add support for DA9150 GPADC

2014-06-21 Thread Jonathan Cameron
On 16/06/14 16:58, Opensource [Adam Thomson] wrote: On June 15, 2014 21:19, Jonathon Cameron wrote: Hi Adam Reasonably clean code, but the _ channels stuff doesn't comply with the ABI and is rather confusing. To be honest I did debate this in my head for a while. The reason I went with the

Re: [PATCH 3/8] iio: of_iio_channel_get_by_name() returns non-null pointers for error legs

2014-06-21 Thread Jonathan Cameron
On 15/06/14 21:20, Jonathan Cameron wrote: On 11/06/14 12:11, Adam Thomson wrote: Currently in the inkern.c code for IIO framework, the function of_iio_channel_get_by_name() will return a non-NULL pointer when it cannot find a channel using of_iio_channel_get() and when it tries to search for

Re: BUG when trying to use deadline iosched in 3.16-rc1

2014-06-21 Thread Damien Wyart
It seems you're right. I didn't know that parameter could be updated dynamically. In that case, adding __init to elv_register was a bad idea because it's no more reliable. Could you revert that patch Jens ? I confirm that reverting locally makes the problem go away. Damien -- To

Re: [PATCH 1/8] mfd: Add support for DA9150 combined charger fuel-gauge device

2014-06-21 Thread Jonathan Cameron
On 16/06/14 14:12, Opensource [Adam Thomson] wrote: On Sun, Jun 15, 2014 at 20:49, Jonathan Cameron wrote: Hi Adam, Some general comments inline. It's been a while since I've looked at any particularly similar parts, but it seems to me that a lot of indirection gets added here that if

[PATCH 1/1] Revert block: add __init to elv_register

2014-06-21 Thread Fabian Frederick
This reverts commit b5097e956a4d Adding __init to elv_register makes it unreliable when updating /sys/block/sdX/queue/scheduler at runtime Reported-by: Damien Wyart damien.wy...@gmail.com Cc: Damien Wyart damien.wy...@gmail.com Cc: Jens Axboe ax...@fb.com Signed-off-by: Fabian Frederick

[for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Steven Rostedt
Updates to the RAS tracepoints found that the __field() macro has a bug in it where you can not use it with structures. It only works with primitives. This is because of an added check to determine if the field is signed or not. A new macro is created called __field_struct() that can be used to

wonga fast loans dear valued customer find the attached file

2014-06-21 Thread jabusch
wonga fast loans dear valued customer find the attached file -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH 1/9] [arch/arm/omap2] replace strict_strto* with kstrto*

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto call with kstrto calls. Simplify copy_from_user/strict_strto by using kstrto_from_user Signed-off-by: Daniel Walter dwal...@google.com --- arch/arm/mach-omap2/board-omap3touchbook.c | 2 +- arch/arm/mach-omap2/mux.c | 22 ++ 2

[PATCH v3 0/9] replace obsolete strict_strto* calls

2014-06-21 Thread Daniel Walter
Changes since v2: Removed merged patches Changes since v1: Removed [arch/tile] (was merged to tile tree) Added Acked-by Replace all calls to strict_strto* functions with appropriate calls to kstrto*. Remove definition of strict_strto* functions All patches apply against current

[PATCH 2/9] [arch/arm/mach-pxa] replace strict_strto call with kstrto

2014-06-21 Thread Daniel Walter
Replace obsolete call to strict_strto with kstrto Signed-off-by: Daniel Walter dwal...@google.com --- arch/arm/mach-pxa/balloon3.c | 2 +- arch/arm/mach-pxa/viper.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-pxa/balloon3.c

[PATCH 3/9] [arch/arm/mach-s3c24xx] replace strict_strto* with kstrto*

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto call with kstrto Signed-off-by: Daniel Walter dwal...@google.com --- arch/arm/mach-s3c24xx/mach-jive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-s3c24xx/mach-jive.c b/arch/arm/mach-s3c24xx/mach-jive.c index e81ea82..bac9bb5

[PATCH 1/1] Revert block: add __init to blkcg_policy_register

2014-06-21 Thread Fabian Frederick
This reverts commit a2d445d44000 Adding __init to blkcg_policy_register makes it unreliable when loading cfq at runtime. (Similar problem to b5097e956a4d block: add __init to elv_register reported by Damien Wyart). Cc: Jens Axboe ax...@kernel.dk Cc: Damien Wyart damien.wy...@gmail.com Cc:

[PATCH 5/9] [arch/powerpc] replace obsolete strict_strto* calls

2014-06-21 Thread Daniel Walter
Replace strict_strto calls with more appropriate kstrto calls Signed-off-by: Daniel Walter dwal...@google.com --- arch/powerpc/kernel/setup_64.c| 6 +++--- arch/powerpc/kernel/vio.c | 2 +- arch/powerpc/platforms/pseries/dlpar.c| 4 ++--

[PATCH 4/9] [arch/arm/mach-w90x900] replace obsolete strict_strto

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto with kstrto calls Signed-off-by: Daniel Walter dwal...@google.com --- arch/arm/mach-w90x900/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index b1eabaa..213230ee 100644 ---

[PATCH 7/9] [drivers/scsi] replace strict_strto calls

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto with more appropriate kstrto calls Signed-off-by: Daniel Walter dwal...@google.com --- drivers/scsi/pmcraid.c| 4 ++-- drivers/scsi/scsi_sysfs.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/pmcraid.c

Re: [PATCH v7] iio: add support of the max1027

2014-06-21 Thread Jonathan Cameron
On 16/06/14 21:06, Jonathan Cameron wrote: On 14/06/14 23:27, Philippe Reynes wrote: This driver add partial support of the maxim 1027/1029/1031. Differential mode is not supported. It was tested on armadeus apf27 board. Signed-off-by: Philippe Reynes trem...@yahoo.fr I'm happy with this

Re: [v3.10.y][v3.11.y][v3.12.y][v3.13.y][v3.14.y][PATCH 1/1][V2] ALSA: usb-audio: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-06-21 Thread Ben Hutchings
On Fri, 2014-06-20 at 14:21 -0400, Joseph Salisbury wrote: [...] I looked at this some more. It seems like my v2 backport may be the most suitable for the releases mentioned in the subject line, but I'd like to get additional feedback. The lines added by commit a5065eb just get removed by

[PATCH 6/9] [arch/x86] replace strict_strto calls

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto calls with appropriate kstrto calls Signed-off-by: Daniel Walter dwal...@google.com Acked-by: Borislav Petkov b...@suse.de --- arch/x86/kernel/cpu/intel_cacheinfo.c | 4 ++-- arch/x86/kernel/cpu/mcheck/mce.c | 6 +++--- arch/x86/kernel/cpu/mcheck/mce_amd.c | 4

[PATCH 9/9] [include/linux] remove strict_strto* definitions

2014-06-21 Thread Daniel Walter
Remove obsolete and unused strict_strto* functions Signed-off-by: Daniel Walter dwal...@google.com Acked-by: Steven Rostedt rost...@goodmis.org --- include/linux/kernel.h | 4 1 file changed, 4 deletions(-) diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 4c52907..a39043c

[PATCH 8/9] [net/sunrpc] replace strict_strto calls

2014-06-21 Thread Daniel Walter
Replace obsolete strict_strto calls with appropriate kstrto calls Signed-off-by: Daniel Walter dwal...@google.com --- net/sunrpc/addr.c | 16 ++-- net/sunrpc/auth.c | 2 +- net/sunrpc/xprtsock.c | 4 ++-- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git

Re: [for-next][PATCH] tracing: Add __field_struct macro for TRACE_EVENT()

2014-06-21 Thread Borislav Petkov
On Sat, Jun 21, 2014 at 07:50:25AM -0400, Steven Rostedt wrote: Updates to the RAS tracepoints found that the __field() macro has a bug in it where you can not use it with structures. It only works with primitives. This is because of an added check to determine if the field is signed or not.

Re: [PATCH] include/trace/syscall.h: Use HAVE_SYSCALL_TRACEPOINTS instead of TRACEPOINTS

2014-06-21 Thread Chen Gang
On 06/21/2014 11:43 AM, Steven Rostedt wrote: On Sat, 21 Jun 2014 10:32:37 +0800 Chen Gang gang.chen.5...@gmail.com wrote: diff --git a/include/trace/syscall.h b/include/trace/syscall.h index 291c282..a709cbd 100644 --- a/include/trace/syscall.h +++ b/include/trace/syscall.h @@ -33,7

[PATCH] Potential NULL pointer deference in drbg_ctr_df

2014-06-21 Thread Stephan Mueller
The handling of additional input data / personalization string data may be subject to a NULL pointer deference for the CTR DRBG. The caller-provided data may be NULL which must be caught by the DRBG. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Stephan Mueller

[PATCH] cxgb4: use dev_port to identify ports

2014-06-21 Thread Thadeu Lima de Souza Cascardo
Commit 3f85944fe207d0225ef21a2c0951d4946fc9a95d (net: Add sysfs file for port number) introduce dev_port to network devices. cxgb4 adapters have multiple ports on the same PCI function, and used dev_id to identify those ports. That use was removed by commit 8c367fcbe6549195d2eb11e62bea233f811aad41

[PATCH 0/7] staging: rtl8188eu: Consolidate usb operation code.

2014-06-21 Thread navin patidar
navin patidar (7): staging: rtl8188eu: Merge hal/usb_ops_linux.c into os_dep/usb_ops_linux.c staging: rtl8188eu: Remove macros specific to kernel version 2.6.12 staging:rtl8188eu:usb_ops.h:Remove unused enum, macros and function declaration staging: rtl8188eu: usb_ops.h: Remove

[PATCH 6/7] staging: rtl8188eu: Remove continual_urb_error from struct dvobj_priv

2014-06-21 Thread navin patidar
rtw_inc_and_chk_continual_urb_error() was only user of continual_urb_error, which has been removed. Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/drv_types.h|2 -- drivers/staging/rtl8188eu/include/usb_ops.h |8

[PATCH 5/7] staging: rtl8188eu: Remove inline function rtw_inc_and_chk_continual_urb_error()

2014-06-21 Thread navin patidar
rtw_inc_and_chk_continual_urb_error() is used to check if device is removed unexpectedly, to do that we can just check status of urb in usb_read_port_complete() and usbctrl_vendorreq() doed that by checking return value of usb_control_msg(). Signed-off-by: navin patidar navin.pati...@gmail.com

[PATCH 4/7] staging: rtl8188eu: usb_ops.h: Remove macro rtw_usb_control_msg()

2014-06-21 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/usb_ops.h |5 - drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c |2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/usb_ops.h

[PATCH 3/7] staging:rtl8188eu:usb_ops.h:Remove unused enum, macros and function declaration

2014-06-21 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/usb_ops.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/usb_ops.h b/drivers/staging/rtl8188eu/include/usb_ops.h index e10b711..74009ca 100644 ---

[PATCH 1/7] staging: rtl8188eu: Merge hal/usb_ops_linux.c into os_dep/usb_ops_linux.c

2014-06-21 Thread navin patidar
Consolidate all usb operation related functions in one file. Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/Makefile |1 - drivers/staging/rtl8188eu/hal/usb_ops_linux.c| 665 --

[PATCH 2/7] staging: rtl8188eu: Remove macros specific to kernel version 2.6.12

2014-06-21 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/include/usb_ops.h | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/usb_ops.h b/drivers/staging/rtl8188eu/include/usb_ops.h index

[PATCH 7/7] staging: rtl8188eu: Merge usb_ops.h into usb_ops_linux.h

2014-06-21 Thread navin patidar
Signed-off-by: navin patidar navin.pati...@gmail.com --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c|1 - drivers/staging/rtl8188eu/core/rtw_recv.c |1 - drivers/staging/rtl8188eu/core/rtw_xmit.c |1 - drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c |2 -

Re: [PATCH] staging:rtl8821ae: rewrite legacy wifi check in halbcoutsrc

2014-06-21 Thread Larry Finger
On 06/20/2014 09:52 PM, Nick Krause wrote: Is this patch being merged or is this not an issue. I am confused did I make a mistake in my patch or is there being a different patch being merged. Thank Nick On Fri, Jun 20, 2014 at 10:34 PM, Joe Perches j...@perches.com wrote: On Fri, 2014-06-20 at

Re: rtc/hctosys.c Problem during kernel boot

2014-06-21 Thread Alexander Holler
Am 12.06.2014 01:53, schrieb John Stultz: You can read some of the previous discussion here: https://lkml.org/lkml/2013/6/17/533 I'd be very interested in patches to resolve this! And the silence as response to my repost of my already working patches just proved that isn't true. So (John

[PATCH] video: fbdev: skeletonfb.c: Adding code to managing allocation error

2014-06-21 Thread Rickard Strandqvist
Adding missing code for managing a memory allocation error that may occur. This was partly found using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist rickard_strandqv...@spectrumdigital.se --- drivers/video/fbdev/skeletonfb.c |2 ++ 1 file changed, 2

Re: rtc/hctosys.c Problem during kernel boot

2014-06-21 Thread Alessandro Zummo
I'm testing them and they're working fine so far. Will handle them the next week. -- Best regards, Alessandro Zummo Tower Technologies Sent from my iPhone, please excuse my brevity. On 21/giu/2014, at 15:08, Alexander Holler hol...@ahsoftware.de wrote: Am 12.06.2014 01:53,

Re: [memcontrol] WARNING: CPU: 0 PID: 1 at kernel/res_counter.c:28 res_counter_uncharge_locked()

2014-06-21 Thread Jet Chen
On 06/20/2014 11:42 PM, Johannes Weiner wrote: On Fri, Jun 20, 2014 at 06:27:04PM +0800, Fengguang Wu wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master Thanks for the bisect.

More 3.16 vdso fallout

2014-06-21 Thread Josh Boyer
We've had a report[1] of d-bus getting a SEGV only on i686 machines with the 3.16 kernel. It's a bit light on specifics, but the relevant detail seems to be: I'm pretty sure kernel is to blame here. The crash occurs when signal handler for RT signal 33 (used internaly by NPTL/pthreads) returns

Re: [PATCH 1/1] PM / Runtime: let rpm_resume fail if rpm disabled and device suspended.

2014-06-21 Thread Alan Stern
On Fri, 20 Jun 2014, Kevin Hilman wrote: For a general device, the fact that dev-power.is_suspended is set means the device _has_ been powered down. Even though the runtime_status may not have changed, the PM core has to assume the device is not available for use. This is where things

Re: [PATCH] video: fbdev: skeletonfb.c: Adding code to managing allocation error

2014-06-21 Thread Joe Perches
(Adding Geert, who probably wrote most of this and likely might have forgotten all of it) On Sat, 2014-06-21 at 15:17 +0200, Rickard Strandqvist wrote: Adding missing code for managing a memory allocation error that may occur. This was partly found using a static code analysis program called

Re: [PATCH 1/1] net/dsa/dsa.c: remove null test before kfree

2014-06-21 Thread Joe Perches
On Sat, 2014-06-21 at 11:36 +0200, Fabian Frederick wrote: On Sat, 21 Jun 2014 10:37:24 +0200 Bjørn Mork bj...@mork.no wrote: On 20 June 2014 22:36:47 CEST, Fabian Frederick f...@skynet.be wrote: Fix checkpatch warning: WARNING: kfree(NULL) is safe this check is probably not required

[PATCH v2 0/3] Add Rockchip Soc PWM driver

2014-06-21 Thread Beniamino Galvani
This series adds support for the PWM controller found on Rockchip RK29, RK30 and RK31 SoCs. It is based on the documentation publicly available [0] and kernel sources from Rockchip [1] and has been tested on RK3188. The last patch, which adds device tree nodes in the dts, depends on the clocks

[PATCH v2 3/3] ARM: dts: rk3xxx: add PWM nodes

2014-06-21 Thread Beniamino Galvani
This adds PWM nodes to the Rockchip device trees. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- arch/arm/boot/dts/rk3188.dtsi | 40 arch/arm/boot/dts/rk3xxx.dtsi | 32 2 files changed, 72 insertions(+) diff

[PATCH v2 2/3] pwm: rockchip: document device tree bindings

2014-06-21 Thread Beniamino Galvani
This adds binding documentation for Rockchip SoC PWM driver. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- .../devicetree/bindings/pwm/pwm-rockchip.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644

[PATCH v2 1/3] pwm: add Rockchip SoC PWM support

2014-06-21 Thread Beniamino Galvani
This commit adds a driver for the PWM controller found on Rockchip RK29, RK30 and RK31 SoCs. Signed-off-by: Beniamino Galvani b.galv...@gmail.com --- drivers/pwm/Kconfig|7 ++ drivers/pwm/Makefile |1 + drivers/pwm/pwm-rockchip.c | 177

[PATCH] x86_32,signal: Fix vdso rt_sigreturn

2014-06-21 Thread Andy Lutomirski
This commit: commit 6f121e548f83674ab4920a4e60afb58d4f61b829 Author: Andy Lutomirski l...@amacapital.net Date: Mon May 5 12:19:34 2014 -0700 x86, vdso: Reimplement vdso.so preparation in build-time C Contained this obvious typo: - restorer =

[PATCH 0/11 v2] tlan: Link handling improvements and Olicom fixes

2014-06-21 Thread Ondrej Zary
This patch series improves link handling in tlan driver, allowing the cable to be (un)plugged anytime and NetworkManager to work properly. Also there are some bugfixes related to Olicom OC-2326 card. -- Ondrej Zary -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 08/11] tlan: Add PHY reset timeout

2014-06-21 Thread Ondrej Zary
Add a timeout to prevent infinite loop waiting for PHY to reset. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/ti/tlan.c

[PATCH 06/11] tlan: Don't scream if no link

2014-06-21 Thread Ondrej Zary
Remove excess printks when the link is down. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |9 - drivers/net/ethernet/ti/tlan.h |1 - 2 files changed, 10 deletions(-) diff --git a/drivers/net/ethernet/ti/tlan.c

[PATCH 02/11] tlan: Enable link monitoring

2014-06-21 Thread Ondrej Zary
Enable old link monitoring code and modify it: - control LINK LED - use separate timer so it does not interfere with ACT LED Tested with Olicom OC-2326. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 115 +---

[PATCH 09/11] tlan: Don't disable internal PHY on cards that use it in 10 Mbps mode

2014-06-21 Thread Ondrej Zary
In tlan_reset_adapter, we disable internal PHY when an external one is used. On cards which use internal PHY in 10 Mbps mode, we enable it later when setting 10 Mbps mode but it does not really work (PHY fails to reset). Leave it enabled instead. Signed-off-by: Ondrej Zary

[PATCH 04/11] tlan: Fix MAC address byte order on OC-2325/OC-2326

2014-06-21 Thread Ondrej Zary
Olicom OC-2325 and OC-2326 cards have the MAC address byte-swapped in EEPROM. Byte-swap the MAC address if it's located at offset 0xF8. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

[PATCH 07/11] tlan: Make autonegotiation faster

2014-06-21 Thread Ondrej Zary
Reduce the autonegotiation poll interval from 8 seconds to 2. This greatly reduces the time needed to detect link presence, especially on Olicom cards at 10 Mbps (two autonegoatiations required). Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |2 +-

[PATCH 05/11] tlan: Restart autonegotiation on link loss

2014-06-21 Thread Ondrej Zary
When link is lost on a card which uses internal PHY for 10 Mbit speeds, restart autonegotiation to allow switching between 10 and 100 Mbps speeds. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 15 +++ 1 file changed, 15 insertions(+)

[PATCH 01/11] tlan: Enable activity LED on Olicom OC-2325 and OC-2326

2014-06-21 Thread Ondrej Zary
Olicom OC-2325 and OC-2326 ethernet cards have an activity LED but it does not work with tlan driver as it's not enabled. Enable it. Tested with OC-2326. Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c |6 -- 1 file changed, 4 insertions(+), 2

[PATCH 03/11] tlan: Add ethtool support

2014-06-21 Thread Ondrej Zary
Add basic ethtool support to tlan driver: - driver info - link detect (this allows NetworkManager to detect carrier) - EEPROM read Signed-off-by: Ondrej Zary li...@rainbow-software.org --- drivers/net/ethernet/ti/tlan.c | 37 +

Re: [PATCH v6 7/9] xen: Put EFI machinery in place

2014-06-21 Thread Stefano Stabellini
On Fri, 20 Jun 2014, Daniel Kiper wrote: This patch enables EFI usage under Xen dom0. Standard EFI Linux Kernel infrastructure cannot be used because it requires direct access to EFI data and code. However, in dom0 case it is not possible because above mentioned EFI stuff is fully owned and

[PATCH] staging: wlags49_h2: Fix use of skb after netif_rx

2014-06-21 Thread Himangi Saraogi
This patch moves a call to netif_rx(skb) after a subsequent reference to skb, because netif_rx may call kfree_skb via enqueue_to_backlog on its argument. This was found using the following semantic match. // smpl @@ expression skb, e,e1; @@ ( netif_rx(skb); | netif_rx_ni(skb); ) ... when !=

  1   2   3   4   5   >