Re: musb-hdrc: "Vbus off, timeout 1100 msec" message does not belong in sysfs

2015-07-10 Thread Greg KH
On Fri, Jul 10, 2015 at 11:46:07PM +0200, Pavel Machek wrote: > On Fri 2015-07-10 14:50:12, Felipe Balbi wrote: > > Hi, > > > > On Thu, Jul 09, 2015 at 11:39:22PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > sysfs should contain one value per file. This one has at least two, > > > with nice e

[PATCH 07/45] clk: palmas: Remove clkdev.h includes

2015-07-10 Thread Stephen Boyd
This driver includes clkdev.h even though it isn't used, so drop it. Cc: Peter Ujfalusi Cc: Nishanth Menon Signed-off-by: Stephen Boyd --- drivers/clk/clk-palmas.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-palmas.c b/drivers/clk/clk-palmas.c index 45a535ab48aa..8e3039f

[PATCH 04/45] clk: efm32gg: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Uwe Kleine-König Signed-off-by: Stephen Boyd --- drivers/clk/clk-efm32gg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-ef

[PATCH 16/45] clk: meson8b: Properly include clk.h

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h if it's actually used. Cc: Carlo Caione Signed-off-by: Stephen Boyd --- drivers/clk/meson/clk-cpu.c | 1 + drivers/clk/meson/clkc.c| 1 - 2 files changed, 1 insertion(+), 1 deletion(-)

[PATCH 14/45] clk: keystone: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Ivan Khoronzhuk Cc: Murali Karicheri Signed-off-by: Stephen Boyd --- drivers/clk/keystone/gate.c | 1 - drivers/clk/keystone/pll.c | 1 - 2 fi

[PATCH 09/45] clk: si5351: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Sebastian Hesselbarth Signed-off-by: Stephen Boyd --- drivers/clk/clk-si5351.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-si5351.c b/drivers/clk/clk-si5351.c index e39e1e680b3c..

[PATCH 05/45] clk: mux: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Signed-off-by: Stephen Boyd --- drivers/clk/clk-mux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.

[PATCH 03/45] clk: clps711x: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Alexander Shiyan Signed-off-by: Stephen Boyd --- drivers/clk/clk-clps711x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-c

[PATCH 20/45] clk: nxp: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Joachim Eastwood Signed-off-by: Stephen Boyd --- drivers/clk/nxp/clk-lpc18xx-cgu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/cl

[PATCH 02/45] clk: cdce706: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Max Filippov Signed-off-by: Stephen Boyd --- drivers/clk/clk-cdce706.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-cdce706.c b/drivers/clk/clk-cdce706.c index f01164fada5d..21830526fd8e 100644 --

[PATCH 00/45] Remove clk.h from clk-provider.h (clk drivers part)

2015-07-10 Thread Stephen Boyd
This is the third set in a series of patches that removes clk.h from clk-provider.h. This allows us to clearly see what provider drivers are using the consumer API (clk.h) by checking the includes. Currently clk.h is included by clk-provider.h even though it doesn't need to, so quite a few clk prov

[PATCH 13/45] clk: hisilicon: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also drop the clkdev.h include in files that aren't using it. Cc: Bintian Wang Cc: Zhangfei Gao Cc: Haojian Zhuang Signed-off-by: Stephen Boyd ---

[PATCH 10/45] clk: twl6040: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Peter Ujfalusi Signed-off-by: Stephen Boyd --- drivers/clk/clk-twl6040.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-twl6

[PATCH 01/45] clk: axi-clkgen: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Lars-Peter Clausen Signed-off-by: Stephen Boyd --- drivers/clk/clk-axi-clkgen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/c

[PATCH 23/45] clk: sirf: Properly include clk.h

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Move the include of clk.h into clk-common.c because that's the only file that's really using clk.h, even if it's included into the atlas6 and prima2 files. Cc: Barry Song Signed-off-by: Stephen Boyd --- driv

[PATCH 15/45] clk: mediatek: Properly include clk.h

2015-07-10 Thread Stephen Boyd
We don't need to include clk.h in header files, just forward declare struct clk here. This leads us to a few places where the include of clk.h was missing in C files. Add them. Cc: James Liao Cc: Henry Chen Cc: Sascha Hauer Signed-off-by: Stephen Boyd --- drivers/clk/mediatek/clk-gate.h | 3

[PATCH 43/45] clk: ti: Switch clk-provider.h include to clk.h

2015-07-10 Thread Stephen Boyd
This file isn't a clock provider but uses the consumer API, so include clk.h instead of clk-provider.h. Cc: Tero Kristo Signed-off-by: Stephen Boyd --- drivers/clk/ti/clk-2xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ti/clk-2xxx.c b/drivers/clk/ti/clk-2x

[PATCH 21/45] clk: rockchip: Properly include clk.h

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h if it's actually used. Cc: Heiko Stuebner Signed-off-by: Stephen Boyd --- drivers/clk/rockchip/clk-cpu.c | 1 + drivers/clk/rockchip/clk-mmc-phase.c | 1 + drivers/clk/rockchip/clk-p

[PATCH 33/45] clk: sunxi: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Chen-Yu Tsai Cc: Maxime Ripard Signed-off-by: Stephen Boyd --- drivers/clk/sunxi/clk-mod0.c | 3 ++- drivers/clk/sunxi/clk-sun8i-mbus.c | 2 +- drivers/clk/sunxi/clk-sun9i-core.c | 2 +- drivers/clk/sunxi/clk-sun

[PATCH 36/45] clk: Include clk.h in clk.c

2015-07-10 Thread Stephen Boyd
This file implements the clk API and so it should include clk.h directly instead of indirectly including it through clk-provider.h. Signed-off-by: Stephen Boyd --- drivers/clk/clk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index ddb4b541016f..89e5

[PATCH 08/45] clk: rk808: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Chris Zhong Signed-off-by: Stephen Boyd --- drivers/clk/clk-rk808.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-rk808.c b

[PATCH 24/45] clk: socfpga: Remove clk.h and clkdev.h includes

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. The clkdev.h include isn't used either, remove it and add in slab.h to make sure things keep compiling. Cc: Dinh Nguyen Signed-off-by: Stephen Boyd -

[PATCH 45/45] clk: Remove clk.h from clk-provider.h

2015-07-10 Thread Stephen Boyd
Remove clk.h from clk-provider.h so that we can clearly split clk providers from clk consumers. This will allow us to quickly detect when clock providers are using the consumer APIs by looking at the includes. Signed-off-by: Stephen Boyd --- include/linux/clk-provider.h | 2 +- 1 file changed, 1

[PATCH 19/45] clk: mxs: Include clk.h in C files that use it

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. The clk.h include is being included in all mxs files because it's part of mxs/clk.h even though nothing actually requires it in that file. Move the clk.h include to the C files that are actually using it and rem

[PATCH 18/45] clk: mvebu: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include the header if necessary. The clkdev.h include isn't used here either, so drop it and add in slab.h to keep things compiling. Cc: Boris Brezillon Signed-off-by: Stephen Boyd --- drivers/clk/mvebu

[PATCH 17/45] clk: mmp: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. The clkdev.h include isn't used either, so drop it and add in slab.h to keep things compiling. Cc: Chao Xie Signed-off-by: Stephen Boyd --- drivers/

[PATCH 38/45] clk: moxart: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Jonas Jensen Signed-off-by: Stephen Boyd --- drivers/clk/clk-moxart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-moxart.c b/drivers/clk/clk-moxart.c index 5181b89c3cb2..f37f719643ec 100644 --- a

[PATCH 44/45] clk: at91: Include clk.h and slab.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Also include slab.h instead of relying on clkdev.h for it. Cc: Boris BREZILLON Signed-off-by: Stephen Boyd --- drivers/clk/at91/clk-slow.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/at91/clk-slow.c b/

[PATCH 40/45] clk: ingenic: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Paul Burton Cc: Paul Cercueil Cc: Ralf Baechle Signed-off-by: Stephen Boyd --- drivers/clk/ingenic/cgu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c index

[PATCH 41/45] clk: pistachio: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Andrew Bresticker Cc: Ralf Baechle Signed-off-by: Stephen Boyd --- drivers/clk/pistachio/clk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/pistachio/clk.c b/drivers/clk/pistachio/clk.c index 85faa83

[PATCH 22/45] clk: samsung: Properly include clk.h and clkdev.h

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h in files that are using it. The clkdev.h header isn't always used either, so remove it and add in slab.h where files were relying on it to include slab for them. Cc: Chanwoo Choi Cc: Sylwest

[PATCH 32/45] clk: st: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Gabriel Fernandez Signed-off-by: Stephen Boyd --- drivers/clk/st/clk-flexgen.c | 1 + drivers/clk/st/clkgen-fsyn.c | 1 + drivers/clk/st/clkgen-mux.c | 1 + drivers/clk/st/clkgen-pll.c | 1 + 4 files changed, 4 insert

[PATCH 37/45] clk: cdce925: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Mike Looijmans Signed-off-by: Stephen Boyd --- drivers/clk/clk-cdce925.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-cdce925.c b/drivers/clk/clk-cdce925.c index 85fafb41e6ca..089bf88ffa8d 100644

[PATCH 42/45] clk: samsung: s5pv210-audss: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Kukjin Kim Signed-off-by: Stephen Boyd --- drivers/clk/samsung/clk-s5pv210-audss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-s5pv210-audss.c b/drivers/clk/samsung/clk-s

[PATCH 39/45] clk: si570: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Guenter Roeck Cc: Soren Brinkmann Signed-off-by: Stephen Boyd --- drivers/clk/clk-si570.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-si570.c b/drivers/clk/clk-si570.c index 20a5aec98b1a..cf478a

[PATCH 25/45] clk: socfpga: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Viresh Kumar Signed-off-by: Stephen Boyd --- drivers/clk/spear/spear1310_clock.c | 1 - drivers/clk/spear/spear1340_clock.c | 1 - drivers/clk/s

[PATCH 28/45] clk: versatile: Remove clk.h and clkdev.h includes

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also remove clkdev.h in files that aren't using it and replace them with slab.h in files that were relying on the implicit include of slab.h in clkdev.h

[PATCH 35/45] clk: zynq: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Sören Brinkmann Signed-off-by: Stephen Boyd --- drivers/clk/zynq/clkc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/zynq/clkc.c b/drivers/clk/zynq/clkc.c index de614384bb44..38a65c3e62fc 100644 --- a

[PATCH 34/45] clk: ti: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Tero Kristo Signed-off-by: Stephen Boyd --- drivers/clk/ti/apll.c| 1 + drivers/clk/ti/clk-33xx.c| 1 + drivers/clk/ti/clk-3xxx-legacy.c | 1 + drivers/clk/ti/clk-3xxx.c| 1 + drivers/clk/ti/

[PATCH 29/45] clk: bcm: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Alex Elder Signed-off-by: Stephen Boyd --- drivers/clk/bcm/clk-kona.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/bcm/clk-kona.c b/drivers/clk/bcm/clk-kona.c index 79a98506c433..5638de8c6489 100644 -

[PATCH 27/45] clk: ux500: Remove clk.h and clkdev.h includes

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also remove clkdev.h in files that aren't using it. Cc: Linus Walleij Signed-off-by: Stephen Boyd --- drivers/clk/ux500/abx500-clk.c | 1 - driver

[PATCH 06/45] clk: nomadik: Remove clk.h and clkdev.h includes

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. This driver also includes clkdev.h even though it isn't used, so drop it too and add slab.h to make sure everything still compiles. Cc: Linus Walleij

[PATCH 12/45] clk: wm831x: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Cc: Mark Brown Signed-off-by: Stephen Boyd --- drivers/clk/clk-wm831x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/clk-wm831x.c

[PATCH 30/45] clk: highbank: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Cc: Rob Herring Signed-off-by: Stephen Boyd --- drivers/clk/clk-highbank.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/clk-highbank.c b/drivers/clk/clk-highbank.c index 2e7e9d9798cb..be3a21abb185 100644

[PATCH 11/45] clk: u300: Remove clk.h include

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Remove the include here because this is a provider driver. Also add in slab.h because without clkdev.h compilation of this file would fail. Cc: Linus Walleij Signed-off-by: Stephen Boyd --- drivers/clk/clk-u

[PATCH 26/45] clk: tegra: Properly include clk.h

2015-07-10 Thread Stephen Boyd
Clock provider drivers generally shouldn't include clk.h because it's the consumer API. Only include clk.h in files that are using it. Also add in a clkdev.h include that was missing in a file using clkdev APIs. Cc: Peter De Schrijver Cc: Thierry Reding Signed-off-by: Stephen Boyd --- drivers/

[PATCH 31/45] clk: qcom: Include clk.h

2015-07-10 Thread Stephen Boyd
This clock provider uses the consumer API, so include clk.h explicitly. Signed-off-by: Stephen Boyd --- drivers/clk/qcom/mmcc-msm8960.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/mmcc-msm8960.c b/drivers/clk/qcom/mmcc-msm8960.c index 9711bca9cc06..2de05e321ad0 100644 --

RE: [f2fs-dev] [PATCH 2/2] f2fs: shrink unreferenced extent_caches first

2015-07-10 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, July 11, 2015 7:54 AM > To: Chao Yu; Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; > linux-kernel@vger

RE: [f2fs-dev] [PATCH] f2fs: fix to release inode page in get_new_data_page

2015-07-10 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, July 11, 2015 8:17 AM > To: Chao Yu; Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net

[PATCH 3/5] x86/vm86: Move fields from kernel_vm86_struct

2015-07-10 Thread Brian Gerst
Move the non-regs fields to the off-stack data. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 17 arch/x86/kernel/vm86_32.c | 48 ++--- 2 files changed, 33 insertions(+), 32 deletions(-) diff --git a/arch/x86/include/asm/

[PATCH 0/5] x86/vm86: First round of vm86 cleanups

2015-07-10 Thread Brian Gerst
The goal of this set of patches is to change vm86 support to return to userspace with the normal exit paths instead of leaving data on the kernel stack and jumping directly into the exit asm routines. This fixes issues like ptrace and syscall auditing not working with vm86, and makes possible cle

Re: [PATCH 3/4] irqchip: Add documentation for the bcm2836 interrupt controller.

2015-07-10 Thread Eric Anholt
Stephen Warren writes: > On 07/07/2015 03:13 PM, Eric Anholt wrote: >> This is a new per-cpu root interrupt controller on the Raspberry Pi 2, >> which will chain to the bcm2835 interrupt controller for peripheral >> interrupts. > >> diff --git >> a/Documentation/devicetree/bindings/interrupt-con

[PATCH] [media] rc/keymaps: Add helper macro for rc_map_list boilerplate

2015-07-10 Thread Vaishali Thakkar
For simple modules that contain a single rc_map_list without any additional setup code then ends up being a block of duplicated boilerplate. This patch adds a new macro, module_rc_map_list(), which replaces the module_init()/module_exit() registrations with template functions. Signed-off-by: Vaish

Re: [patch] sched: beef up wake_wide()

2015-07-10 Thread Mike Galbraith
On Fri, 2015-07-10 at 16:59 -0400, Josef Bacik wrote: > Not quite as awesome but still better than the baseline so we're good. > Thanks, I personally like the other much better. We're not doing the user any favor by making the thing balance when SD_BALANCE_WAKE is set. Until such time as it ce

Re: [PATCH v2] net: dsa: mv88e6xxx: add write access to debugfs regs file

2015-07-10 Thread David Miller
From: Vivien Didelot Date: Thu, 9 Jul 2015 17:13:29 -0400 > Allow write access to the regs file in the debugfs interface, with the > following parameters: > > echo> regs > > Where "name" is the register name (as shown in the header row), "reg" is > the register address (as shown in the

[PATCH 1/5] x86/vm86: Move userspace accesses to do_sys_vm86()

2015-07-10 Thread Brian Gerst
Move the userspace accesses down into the common function in preparation for the next set of patches. Signed-off-by: Brian Gerst --- arch/x86/kernel/vm86_32.c | 61 +-- 1 file changed, 27 insertions(+), 34 deletions(-) diff --git a/arch/x86/kernel/vm8

[PATCH 2/5] x86/vm86: Move vm86 fields out of thread_struct

2015-07-10 Thread Brian Gerst
Allocate a separate structure for the vm86 fields. Signed-off-by: Brian Gerst --- arch/x86/include/asm/processor.h | 11 ++-- arch/x86/include/asm/vm86.h | 10 arch/x86/kernel/process.c| 7 + arch/x86/kernel/vm86_32.c| 55 +++

Re: [PATCH] f2fs: fix to release inode page in get_new_data_page

2015-07-10 Thread Jaegeuk Kim
Hi Chao, On Thu, Jul 09, 2015 at 06:20:08PM +0800, Chao Yu wrote: > get_new_data_page should release inode page when we encounter any > error in its procedure, but there is one error path didn't cover > this, fix it. Nice catch. But, I think we should fix its caller: in init_inode_metadata(),

Re: [PATCH 3/4] irqchip: Add documentation for the bcm2836 interrupt controller.

2015-07-10 Thread Stephen Warren
On 07/07/2015 03:13 PM, Eric Anholt wrote: > This is a new per-cpu root interrupt controller on the Raspberry Pi 2, > which will chain to the bcm2835 interrupt controller for peripheral > interrupts. > diff --git > a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2836-l1-intc.txt

[PATCH 4/5] x86/vm86: Eliminate kernel_vm86_struct

2015-07-10 Thread Brian Gerst
Now there is no vm86-specific data left on the kernel stack while in userspace, except for the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 25 + arch/x86/kernel/vm86_32.c | 68 +++-- 2 files changed, 29 inser

[PATCH 5/5] x86/vm86: Use the normal pt_regs area for vm86

2015-07-10 Thread Brian Gerst
Change to use the normal pt_regs area to enter and exit vm86 mode. This is done by increasing the padding at the top of the stack to make room for the extra vm86 segment slots in the IRET frame. It then saves the 32-bit regs in the off-stack vm86 data, and copies in the vm86 regs. Exiting back t

Re: [PATCH] net: Drop owner assignment from platform_driver

2015-07-10 Thread David Miller
From: Krzysztof Kozlowski Date: Fri, 10 Jul 2015 15:29:23 +0900 > platform_driver does not need to set an owner because > platform_driver_register() will set it. > > Signed-off-by: Krzysztof Kozlowski Applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [RFT PATCH 1/2] ASoC: zx: i2s: Fix devm_ioremap_resource return value check

2015-07-10 Thread Jun Nie
2015-07-09 21:19 GMT+08:00 Krzysztof Kozlowski : > Value returned by devm_ioremap_resource() was checked for non-NULL but > devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of > error this could lead to dereference of ERR_PTR. > > Signed-off-by: Krzysztof Kozlowski > Cc: > Fixes:

Re: [PATCH v1 10/10] core: platform: use fwnode_driver_match_device()

2015-07-10 Thread Rafael J. Wysocki
On Friday, July 10, 2015 02:53:53 PM Tomeu Vizoso wrote: > On 2 July 2015 at 01:46, Rafael J. Wysocki wrote: > > On Tuesday, June 30, 2015 04:55:08 PM Tomeu Vizoso wrote: > >> Instead of calling both of_driver_match_device() and > >> acpi_driver_match_device(), call fwnode_driver_match_device() wh

Re: [RFC] mm/shrinker: define INIT_SHRINKER macro

2015-07-10 Thread Andrew Morton
On Sat, 11 Jul 2015 10:25:13 +0900 Sergey Senozhatsky wrote: > > > I was thinking of a trivial INIT_SHRINKER macro to init `struct shrinker' > > > internal members (composed in email client, not tested) > > > > > > include/linux/shrinker.h > > > > > > #define INIT_SHRINKER(s)

[PATCH 2/1] ipc,mqueue: Delete bogus overflow check

2015-07-10 Thread Davidlohr Bueso
Mathematically, returning -EOVERFLOW in mq_attr_ok() cannot occur under this condition: mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) + min_t(unsigned int, attr->mq_maxmsg, MQ_PRIO_MAX) * sizeof(struct posix_msg_tree_node); total_size = attr->mq

[PATCH 2/2] drivers: video: fbdev: vga: fixed coding style

2015-07-10 Thread Cristian Ardelean
Fixed most of the coding style issues suggested by checkpatch.pl tool. Mainly converted spaces to tabs. Left remaining errors and warnings up to decision of the developers. Signed-off-by: Cristian Ardelean --- drivers/video/fbdev/vga16fb.c | 386 - 1 file

Re: [alsa-devel] [PATCH v2 02/12] device: property: find dependencies of a firmware node

2015-07-10 Thread Rafael J. Wysocki
On Friday, July 10, 2015 03:14:38 PM Tomeu Vizoso wrote: > On 2 July 2015 at 02:02, Rafael J. Wysocki wrote: > > On Wednesday, July 01, 2015 11:40:57 AM Tomeu Vizoso wrote: > >> Adds API that allows callers to find out what other firmware nodes a > >> node depends on. > >> > >> Implementors of bin

Re: [PATCH 4/4] irqchip: Add bcm2836 interrupt controller for Raspberry Pi 2.

2015-07-10 Thread Stephen Warren
On 07/07/2015 03:13 PM, Eric Anholt wrote: > This interrupt controller is the new root interrupt controller with > the timer, PMU events, and IPIs, and the bcm2835's interrupt > controller is chained off of it to handle the peripherals. > > SMP IPI support was mostly written by Andrea Merello, whi

Re: [PATCH 2/1] ipc,mqueue: Delete bogus overflow check

2015-07-10 Thread Doug Ledford
On 07/10/2015 10:03 PM, Al Viro wrote: > On Fri, Jul 10, 2015 at 05:48:11PM -0700, Davidlohr Bueso wrote: >> Mathematically, returning -EOVERFLOW in mq_attr_ok() >> cannot occur under this condition: >> >>mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) + >> min_t(unsigned

Re: [PATCH v2 4/7] clk: samsung: exynos4x12: add cpu clock configuration data and instantiate cpu clock

2015-07-10 Thread Krzysztof Kozlowski
2015-07-11 1:12 GMT+09:00 Javier Martinez Canillas : > Hello Krzysztof, > > On 07/10/2015 01:30 AM, Krzysztof Kozlowski wrote: >> On 10.07.2015 00:43, Bartlomiej Zolnierkiewicz wrote: >>> With the addition of the new Samsung specific cpu-clock type, the >>> arm clock can be represented as a cpu-clo

[PATCH 2/2] mm/shrinker: add init_shrinker() function

2015-07-10 Thread Sergey Senozhatsky
All zeroes shrinker is now treated as 'initialized, but not registered'. If, for some reason, you can't zero your shrinker struct (or don't want to) then use init_shrinker() function. Otherwise, in some cases, unregister_shrinker() may Oops. Signed-off-by: Sergey Senozhatsky --- include/linux/sh

Re: [PATCH] coccinelle: api: extend spatch for dropping unnecessary owner

2015-07-10 Thread Krzysztof Kozlowski
2015-07-10 22:01 GMT+09:00 Julia Lawall : > Acked-by: Julia Lawall > > As a semantic patch, it looks fine. Have you sent any patches based on > it? I find hundreds of occurrences. Yes, I sent patches fixing this for drivers I was able to compile (allyesconfig on arm, arm64, i386, x86_64, ppc64)

[PATCH 1/2] mm/shrinker: do not NULL dereference uninitialized shrinker

2015-07-10 Thread Sergey Senozhatsky
Consider 'all zeroes' shrinker as 'initialized, but not registered', and, thus, don't unregister such a shrinker. This helps to avoid accidental NULL pointer dereferences, when a zeroed shrinker struct is getting passed to unregister_shrinker() in error handing path, for example. Signed-off-by: Se

[PATCH] ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings

2015-07-10 Thread kbuild test robot
sound/soc/codecs/sti-sas.c:616:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Arnaud Pouliquen Signed-off-by: Fengguang Wu --- sti-sas.c |1 - 1

Re: [BUG][tip/master] kernel panic while locking selftest at qspinlock_paravirt.h:137!

2015-07-10 Thread Waiman Long
On 07/10/2015 08:32 PM, Masami Hiramatsu wrote: On 2015/07/10 23:28, Peter Zijlstra wrote: On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote: * Peter Zijlstra wrote: Do we want to make double unlock non-fatal unconditionally? No, just don't BUG() out, don't crash the system - gener

Re: [PATCH] Doc: z8530book: Fix typo in API-z8530-sync-txdma-open.html

2015-07-10 Thread David Miller
From: Masanari Iida Date: Fri, 10 Jul 2015 21:20:28 +0900 > This patch fix a spelling typo found in API-z8530-sync-txdma-open.html. > It is because this file was generated from comment in source, > I have to fix comment in source. > > Signed-off-by: Masanari Iida Applied, t hanks. -- To unsubs

Re: [PATCH 0/6] mfd: 88pm800: Add 88pm860 device support

2015-07-10 Thread Krzysztof Kozlowski
2015-07-10 21:03 GMT+09:00 Vaibhav Hiremath : > > > On Thursday 09 July 2015 06:58 PM, Krzysztof Kozlowski wrote: >> >> 2015-07-09 21:53 GMT+09:00 Vaibhav Hiremath : >>> >>> >>> >>> On Thursday 09 July 2015 06:14 PM, Vaibhav Hiremath wrote: On Thursday 09 July 2015 05:34 PM

Re: Re: [PATCH tip/master ] ftracetest: Update kprobe-tracer testcases because of renaming do_fork

2015-07-10 Thread Masami Hiramatsu
On 2015/07/09 21:03, Steven Rostedt wrote: > On Thu, 09 Jul 2015 19:10:12 +0900 > Masami Hiramatsu wrote: > >> echo 0 > events/enable >> echo > kprobe_events >> -echo p:myevent do_fork > kprobe_events >> +echo p:myevent _do_fork > kprobe_events >> grep myevent kprobe_events >> test -d events/

Re: [BUG][tip/master] kernel panic while locking selftest at qspinlock_paravirt.h:137!

2015-07-10 Thread Masami Hiramatsu
On 2015/07/10 23:28, Peter Zijlstra wrote: > On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote: >> * Peter Zijlstra wrote: > >>> Do we want to make double unlock non-fatal unconditionally? >> >> No, just don't BUG() out, don't crash the system - generate a warning? > > So that would be

Re: [PATCH 36/36] PCI: Don't set flags to 0 when assign resource fail

2015-07-10 Thread Wei Yang
On Fri, Jul 10, 2015 at 05:42:10PM -0700, Yinghai Lu wrote: >On Fri, Jul 10, 2015 at 5:03 PM, Wei Yang wrote: >> On Thu, Jul 09, 2015 at 10:49:06PM -0700, Yinghai Lu wrote: > >> I have tested you latest branch with this one as the last commit: >> >> ec94cc7 PCI: Don't set flags to 0 when assign re

[PATCH 0/2] mm/shrinker: make unregister_shrinker() less fragile

2015-07-10 Thread Sergey Senozhatsky
Hello, Shrinker API does not handle nicely unregister_shrinker() on a not-registered ->shrinker. Looking at shrinker users, they all have to (a) carry on some sort of a flag to make sure that "unregister_shrinker()" will not blow up later (b) be fishy (potentially can Oops) (c) access private memb

Re: [PATCH 1/7] powerpc/512x: clk: Include clk.h

2015-07-10 Thread Anatolij Gustschin
On Fri, 10 Jul 2015 16:03:23 -0700 Stephen Boyd wrote: > This clock provider uses the consumer API, so include clk.h > explicitly. > > Cc: Gerhard Sittig > Cc: Scott Wood > Cc: Anatolij Gustschin > Signed-off-by: Stephen Boyd Acked-by: Anatolij Gustschin -- To unsubscribe from this list:

Re: [BUG][tip/master] kernel panic while locking selftest at qspinlock_paravirt.h:137!

2015-07-10 Thread Masami Hiramatsu
On 2015/07/11 10:27, Waiman Long wrote: > On 07/10/2015 08:32 PM, Masami Hiramatsu wrote: >> On 2015/07/10 23:28, Peter Zijlstra wrote: >>> On Fri, Jul 10, 2015 at 03:57:46PM +0200, Ingo Molnar wrote: * Peter Zijlstra wrote: > Do we want to make double unlock non-fatal unconditionally? >>

Re: [PATCH] irqchip: bcm2835: Add FIQ support

2015-07-10 Thread Stephen Warren
(Sorry for the slow reply; I was on vacation) On 06/18/2015 07:32 AM, Noralf Trønnes wrote: > Den 18.06.2015 04:26, skrev Stephen Warren: >> On 06/12/2015 11:26 AM, Noralf Trønnes wrote: >>> Add a duplicate irq range with an offset on the hwirq's so the >>> driver can detect that enable_fiq() is u

Re: [PATCH 2/1] ipc,mqueue: Delete bogus overflow check

2015-07-10 Thread Al Viro
On Fri, Jul 10, 2015 at 05:48:11PM -0700, Davidlohr Bueso wrote: > Mathematically, returning -EOVERFLOW in mq_attr_ok() > cannot occur under this condition: > >mq_treesize = attr->mq_maxmsg * sizeof(struct msg_msg) + > min_t(unsigned int, attr->mq_maxmsg, MQ_PRIO_MAX) * >

Re: [PATCH 2/6] mfd: 88pm800: Add init time initial configuration support

2015-07-10 Thread Krzysztof Kozlowski
W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: > This patch adds init time configuration of 88PM800/805 and > 88PM860. It includes, > > - Enable BUCK clock gating in low power mode > - Full mode support for BUCK2 and 4 > - Enable voltage change (LPF, DVC) in PMIC > > Note that both 88PM

Re: [PATCH 1/6] mfd: 88pm80x: Add 88pm860 chip type support

2015-07-10 Thread Krzysztof Kozlowski
W dniu 09.07.2015 o 20:47, Vaibhav Hiremath pisze: > Add chip identification support for 88PM860 device > to the pm80x_chip_mapping table. > > Signed-off-by: Vaibhav Hiremath > --- > drivers/mfd/88pm80x.c | 2 ++ > include/linux/mfd/88pm80x.h | 1 + > 2 files changed, 3 insertions(+) FWIW

Re: [RFC] mm/shrinker: define INIT_SHRINKER macro

2015-07-10 Thread Sergey Senozhatsky
On (07/10/15 18:33), Andrew Morton wrote: > > > > I was thinking of a trivial INIT_SHRINKER macro to init `struct > > > > shrinker' > > > > internal members (composed in email client, not tested) > > > > > > > > include/linux/shrinker.h > > > > > > > > #define INIT_SHRINKER(s)

<    3   4   5   6   7   8