[PATCH 1/7] regulator: Update comment for set_current_limit callback of struct regulator_ops

2012-08-08 Thread Axel Lin
The regulators should be tending to the maximum in the available range and consumers should specify the widest range possible. Signed-off-by: Axel Lin axel@gmail.com --- include/linux/regulator/driver.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/regulator/driver.h

[PATCH 2/7] regulator: wm8350: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/wm8350-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c index 7f0fa22..1e4f69e 100644 ---

[PATCH 3/7] regulator: wm831x-isink: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/wm831x-isink.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 0d207c2..5dba339 100644 --- a/drivers/regulator/wm831x-isink.c

Re: [kernel-hardening] [PATCH 1/2] fs: add link restrictions

2012-08-08 Thread Vasily Kulikov
Hi Kees, On Wed, Jul 25, 2012 at 17:29 -0700, Kees Cook wrote: +/** + * safe_hardlink_source - Check for safe hardlink conditions + * @inode: the source inode to hardlink from + * + * Return false if at least one of the following conditions: + *- inode is not a regular file + *-

[PATCH 4/7] regulator: wm831x-dcdc: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/wm831x-dcdc.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c index 7413885..90cbcc6 100644 --- a/drivers/regulator/wm831x-dcdc.c

[PATCH 5/7] regulator: tps6524x: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/tps6524x-regulator.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/tps6524x-regulator.c b/drivers/regulator/tps6524x-regulator.c index 947ece9..058d2f2 100644 ---

[PATCH 6/7] regulator: lp872x: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/lp872x.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/lp872x.c b/drivers/regulator/lp872x.c index 212c38e..6199d0f 100644 --- a/drivers/regulator/lp872x.c +++

Re: [PATCH] powerpc/44x: Support OCM(On Chip Memory) for APM821xx SoC and Bluestone board

2012-08-08 Thread Josh Boyer
On Tue, Jul 3, 2012 at 4:52 AM, Vinh Nguyen Huu Tuong vhtngu...@apm.com wrote: This patch consists of: - Add driver for OCM component - Export OCM Information at /sys/kernel/debug/ppc4xx_ocm/info Signed-off-by: Vinh Nguyen Huu Tuong vhtngu...@apm.com Acked-by: Josh Boyer jwbo...@gmail.com

[PATCH 7/7] regulator: da9052: set_current_limit should select the maximum current in specific range

2012-08-08 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/da9052-regulator.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 903299c..27355b1 100644 ---

[PATCH 0/2] Replace the obsolete preset API by timings API

2012-08-08 Thread Prabhakar Lad
This first patch replaces the obsolete preset API by timings API for davinci VPBE, appropriate chnages in machine file for dm644x in which VPBE is enabled. And the second patch adds support for timings API for ths7303 driver. Sending them as s series since VPBE uses the ths7303 driver. Hans

[PATCH 1/2] dm644x: replace the obsolete preset API by the timings API.

2012-08-08 Thread Prabhakar Lad
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com --- arch/arm/mach-davinci/board-dm644x-evm.c | 15 ++-- arch/arm/mach-davinci/dm644x.c

[PATCH 2/2] ths7303: enable THS7303 for HD modes

2012-08-08 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add filter settings for high def modes like 1080i, 1080p,720p and others and implementing dv_timings. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- drivers/media/video/ths7303.c | 107

Re: [PATCH 1/1 v2] i2c: Add default configuration into the Nomadik I2C driver.

2012-08-08 Thread Linus Walleij
On Tue, Aug 7, 2012 at 5:31 PM, Lee Jones lee.jo...@linaro.org wrote: From: Lee Jones lee.jo...@linaro.org Date: Tue, 7 Aug 2012 12:27:24 +0100 Subject: [PATCH 1/1 v3] i2c: Add default configuration into the Nomadik I2C driver. This has some bad whitespace damage, and the subject should be

Re: [PATCH v2 02/23] xen/arm: hypercalls

2012-08-08 Thread Dave Martin
On Mon, Aug 06, 2012 at 03:27:05PM +0100, Stefano Stabellini wrote: Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers

Re: [PATCHv3 0/6] perf, tool: Allow to use hw events in PMU syntax

2012-08-08 Thread Jiri Olsa
On Mon, Jul 09, 2012 at 10:37:44PM +0200, Jiri Olsa wrote: hi, here's the change to make following syntax available: perf stat -e cpu/event=instructions/u ls this is identical to: perf stat -e instructions:u ls v3 changes: - patches v2 1,5,6,9 are already in - patch 1 - sysfs

Re: Using vanilla kernels headers to do backport testing -- issues with memcpy()

2012-08-08 Thread Ozan Çağlayan
On Tue, Aug 7, 2012 at 10:28 PM, Luis R. Rodriguez mcg...@frijolero.org wrote: A while ago we reviewed the idea of whether or not to use a set of distribution vanilla kernels to allow us to do compilation testing of modules on the compat backport project [0] with the benefit being that at

Re: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource

2012-08-08 Thread Mark Brown
On Tue, Aug 07, 2012 at 07:46:52PM +, Arnd Bergmann wrote: Thanks a lot for following through with this series! I would have preferred to have the second step in stable as Russell suggested, but since you did all the work, I'm not going to complain about it ;-) Yeah, it'd be nicer to do

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Peter Ujfalusi
Hi Benoit, On 08/08/2012 02:50 PM, Benoit Cousson wrote: +Required properties: +- compatible : must be ti,twl4030-audio +- ti,audio_mclk: Master clock frequency used on the board. Supported + frequencies: 1920, 2600 and 3840 Since you care about the frequency only

[PATCH] blk: All obtained blk requests should be put after all

2012-08-08 Thread Marina Makienko
blk requests are obtained (some memory is allocated for them) by means of functions blk_get_request and blk_make_request. After usage (usually with help of blk_execute_rq) these requests should be put (and freed) with help of blk_put_request. Found by Linux Driver Verification project

Re: [RFC PATCH 3/4] ftrace: Do not test frame pointers if -mfentry is used

2012-08-08 Thread Steven Rostedt
On Wed, 2012-08-08 at 13:34 +0900, Masami Hiramatsu wrote: -#ifdef CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST +#if defined(CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST) !defined(CC_USING_FENTRY) I think CONFIG_HAVE_FENTRY would better unselect CONFIG_HAVE_FUNCTION_GRAPH_FP_TEST in arch/x86/Kconfig

[PATCH] wusb: Fix potential memory leak in wusb_dev_sec_add()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/usb/wusbcore/security.c |7 --- 1 file changed, 4 insertions(+), 3

[PATCH v4 0/2] ARM: davinci: add support for dm365 vpbe display

2012-08-08 Thread Prabhakar Lad
This patch series enables VPBE display driver on DM365. This patch series is dependent on this patches posted http://www.spinics.net/lists/arm-kernel/msg188234.html Changes for v4: 1: Replaced the obsolete preset API by timings API. Changes for v3: 1: Removed VPSS clock alias for master and

[PATCH v4 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2012-08-08 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com ---

[PATCH v4 1/2] ARM: davinci: dm365: add support for v4l2 video display

2012-08-08 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- arch/arm/mach-davinci/board-dm365-evm.c |

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 01:50:53PM +0200, Benoit Cousson wrote: That being said, since we do have the clock binding now, maybe we should create a clock provider at board level for the sys_clk and thus you will just have to create a phandle to it in your audio description. Yes, we should be

Re: [RFC PATCH] tun: don't zeroize sock-file on detach

2012-08-08 Thread Stanislav Kinsbursky
Hi, Dave. What about this patch? On Wed, Jul 11, 2012 at 03:48:20PM +0400, Stanislav Kinsbursky wrote: This is a fix for bug, introduced in 3.4 kernel by commit 1ab5ecb90cb6a3df1476e052f76a6e8f6511cb3d, which, among other things, replaced simple sock_put() by sk_release_kernel(). Below is

[PATCH v3] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-08-08 Thread Venu Byravarasu
TPS65910 PMIC is a MFD with RTC as one of the device. Adding RTC driver for supporting RTC device present inside TPS65910 PMIC. Only support for RTC alarm is implemented as part of this patch. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta between patch set V3 from V2: Fixed

[PATCH 1/6] ARM: pxa: remove irq_to_gpio from ezx-pcap driver

2012-08-08 Thread Arnd Bergmann
The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. There is actually no in-tree user of this driver that adds this platform device, but the driver can and does get enabled on some platforms. Without this patch, building ezx_defconfig

[PATCH 4/6] ARM: s3c24xx: use new PWM driver

2012-08-08 Thread Arnd Bergmann
The samsung PWM driver has moved to the new PWM subsystem, which changed the Kconfig symbol for that driver, but the rx1950 and gta02 boards still uses the old one. Without this patch, building s3c2410_defconfig results in: arch/arm/mach-s3c24xx/built-in.o: In function `rx1950_lcd_power':

[PATCH 0/6] ARM: defconfig build errors

2012-08-08 Thread Arnd Bergmann
I'm dusting off my defconfig warning fixes. This is the most important bunch as these are actual build failures that happen in one of the defconfigs. I've put these into the fixes branch of the arm-soc tree already and will send them out for -r2 unless I hear objections. Please take a look.

[PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Arnd Bergmann
It is not currently possible to build the gpmi-nand driver without also building the mxs-dma driver. Clarify this Kconfig and enable both in the defconfig file so we can build it again with both enabled. drivers/built-in.o: In function `gpmi_dma_filter': clk-fixed-factor.c:(.text+0xafc18):

[PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code

2012-08-08 Thread Arnd Bergmann
The sa1100 definition of the io_p2v macro has changed in v3.6, and this one file stopped working because of that. Without this patch, building hackkit_defconfig results in: arch/arm/mach-sa1100/leds-hackkit.c: In function 'hackkit_leds_event': arch/arm/mach-sa1100/leds-hackkit.c:39:4: error:

[PATCH 5/6] ARM: integrator: include linux/export.h

2012-08-08 Thread Arnd Bergmann
Without this patch, building integrator_defconfig results in: arch/arm/mach-integrator/core.c:150:1: warning: data definition has no type or storage class [enabled by default] arch/arm/mach-integrator/core.c:150:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'

[PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig results in: drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active': drivers/input/touchscreen/eeti_ts.c:65:2: error:

[GIT PULL] sound fixes #2 for 3.6-rc2

2012-08-08 Thread Takashi Iwai
Linus, The following changes since commit ac190c76680cde6ce379b6be5baf89a970ea13d4: Merge tag 'asoc-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus (2012-08-02 18:11:25 +0200) are available in the git repository at:

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Fabio Estevam
Hi Arnd, On Wed, Aug 8, 2012 at 9:54 AM, Arnd Bergmann a...@arndb.de wrote: It is not currently possible to build the gpmi-nand driver without also building the mxs-dma driver. Clarify this Kconfig and enable both in the defconfig file so we can build it again with both enabled.

Re: [PATCH 3/5] uprobes: remove check for uprobe variable in handle_swbp()

2012-08-08 Thread Oleg Nesterov
On 08/07, Sebastian Andrzej Siewior wrote: by the time we get here (after we pass cleanup_ret) uprobe is always is set. If it is NULL we leave very early in the code. Reviewed-by: Oleg Nesterov o...@redhat.com Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de ---

Re: [ 02/70] floppy: Cleanup disk-queue before caling put_disk() if add_disk() was never called

2012-08-08 Thread Herton Ronaldo Krzesinski
On Wed, Aug 08, 2012 at 01:40:25AM +0100, Ben Hutchings wrote: On Tue, 2012-08-07 at 19:49 -0300, Herton Ronaldo Krzesinski wrote: On Tue, Aug 07, 2012 at 04:27:57AM +0100, Ben Hutchings wrote: 3.2-stable review patch. If anyone has any objections, please let me know.

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Dirk Behme
On 08.08.2012 14:54, Arnd Bergmann wrote: It is not currently possible to build the gpmi-nand driver without also building the mxs-dma driver. Clarify this Kconfig and enable both in the defconfig file so we can build it again with both enabled. drivers/built-in.o: In function

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Dirk Behme
On 08.08.2012 15:01, Fabio Estevam wrote: Hi Arnd, On Wed, Aug 8, 2012 at 9:54 AM, Arnd Bergmann a...@arndb.de wrote: It is not currently possible to build the gpmi-nand driver without also building the mxs-dma driver. Clarify this Kconfig and enable both in the defconfig file so we can build

Re: [PATCH 1/1 v2] i2c: Add default configuration into the Nomadik I2C driver.

2012-08-08 Thread Lee Jones
On Wed, Aug 08, 2012 at 02:38:23PM +0200, Linus Walleij wrote: On Tue, Aug 7, 2012 at 5:31 PM, Lee Jones lee.jo...@linaro.org wrote: From: Lee Jones lee.jo...@linaro.org Date: Tue, 7 Aug 2012 12:27:24 +0100 Subject: [PATCH 1/1 v3] i2c: Add default configuration into the Nomadik I2C

RE: [PATCH 4/6] ARM: s3c24xx: use new PWM driver

2012-08-08 Thread Kukjin Kim
Arnd Bergmann wrote: The samsung PWM driver has moved to the new PWM subsystem, which changed the Kconfig symbol for that driver, but the rx1950 and gta02 boards still uses the old one. Without this patch, building s3c2410_defconfig results in: arch/arm/mach-s3c24xx/built-in.o: In

[PATCH 1/1 v4] i2c: Add default configuration into the Nomadik I2C driver.

2012-08-08 Thread Lee Jones
From: Lee Jones lee.jo...@linaro.org Date: Tue, 7 Aug 2012 12:27:24 +0100 Subject: [PATCH 1/1 v4] i2c/nomadik: Add default configuration into the Nomadik I2C driver At this moment in time there is only one known configuration for the Nomadik I2C driver. By not holding that configuration in the

Re: [PATCH 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-08 Thread Oleg Nesterov
On 08/07, Sebastian Andrzej Siewior wrote: The arch specific implementation behaves like user_enable_single_step() except that it does not disable single stepping if it was already enabled. This allows the debugger to single step over an uprobe. The state of block stepping is not restored. It

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 12:41:20PM +0300, Peter Ujfalusi wrote: +Required properties: +- compatible : must be ti,twl4030-audio So, as I mentioned before I find this sort of direct mapping of the Linux device representation into the device tree really troubling. I'm just way too aware of the

[PATCH v3 0/2] ARM: davinci: add support for dm355 vpbe display

2012-08-08 Thread Prabhakar Lad
This patch series enables VPBE display driver on DM355. This patch series is dependent on this patches posted http://www.spinics.net/lists/arm-kernel/msg188234.html Changes for v3: 1: Replaced obsolete preset API by timings API. Changes for v2: 1: Removed VPSS clock alias for master and

[PATCH v3 1/2] ARM: davinci: dm355: add support for v4l2 video display

2012-08-08 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com --- arch/arm/mach-davinci/board-dm355-evm.c |

[PATCH v3 2/2] ARM: davinci: dm355 EVM: add support for VPBE display

2012-08-08 Thread Prabhakar Lad
From: Manjunath Hadli manjunath.ha...@ti.com add support for V4L2 video display to DM355 EVM. Support for SD modes is provided, along with Composite output Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com ---

Re: [PATCH 1/1] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 12:40:38PM +0100, Lee Jones wrote: On Wed, Aug 08, 2012 at 10:49:52AM +0100, Mark Brown wrote: - MFD adds the IRQ base to the hwirq and registers it as a virq Just don't do this step - the only reason to do it is for mapping back into a linear domain but if

Re: [PATCH 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-08 Thread Sebastian Andrzej Siewior
On 08/08/2012 02:57 PM, Oleg Nesterov wrote: +static int insn_changes_flags(struct arch_uprobe *auprobe) +{ + /* popf reads flags from stack */ + if (auprobe-insn[0] == 0x9d) + return 1; Ah, somehow I didn't think about this before. -insn[0] doesn't look right, we

Re: [PATCH 6/6] ARM: imx: gpmi-nand depends on mxs-dma

2012-08-08 Thread Fabio Estevam
On Wed, Aug 8, 2012 at 10:05 AM, Dirk Behme dirk.be...@de.bosch.com wrote: Yes. But it seems it's not handled there? I'm trying since ~2 weeks to get something like your patch applied to get the broken mainline fixed, but unfortunately without success so far. Let's try once again. Artem,

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-08 Thread Cyril Chemparathy
On 08/08/12 01:56, Nicolas Pitre wrote: On Tue, 7 Aug 2012, Cyril Chemparathy wrote: [...] u32 arm_check[] = { 0xe2810041, 0xe2810082, 0xe2810f41, 0xe2810f82, 0xe2810e41, 0xe2810e82, 0xe2810d41, 0xe2810d82, 0xe2810c41, 0xe2810c82, 0xe2810b41, 0xe2810b82, 0xe2810a41,

Re: [RFC 5/5] uprobes: add global breakpoints

2012-08-08 Thread Oleg Nesterov
On 08/07, Sebastian Andrzej Siewior wrote: By setting an uprobe tracepoint, one learns whenever a certain point within a program is reached / passed. This is recorded and the application continues. This patch adds the ability to hold the program once this point has been passed and the user

[PATCH] lpc_eth: remove obsolete ifdefs

2012-08-08 Thread Roland Stigge
The #ifdefs regarding CONFIG_ARCH_LPC32XX_MII_SUPPORT and CONFIG_ARCH_LPC32XX_IRAM_FOR_NET are obsolete since the symbols have been removed from Kconfig and replaced by devicetree based configuration. Signed-off-by: Roland Stigge sti...@antcom.de --- drivers/net/ethernet/nxp/lpc_eth.c | 13

What happened to TRIM support for raid linear/0/1/10?

2012-08-08 Thread Holger Kiehl
Hello, I have been using the patches posted by Shaohua Li on 16th March 2012: http://lkml.indiana.edu/hypermail/linux/kernel/1203.2/00048.html for several month on a very busy file server (serving 9 million files with 5.3 TiB daily) without any problems. Is there any chance that these

[PATCH v5 02/19] vfs: add a kern_path_at function

2012-08-08 Thread Jeff Layton
This will function like user_path_at, but does not do the getname and putname, leaving that to the caller. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c| 27 +++ include/linux/namei.h | 1 + 2 files changed, 20 insertions(+), 8 deletions(-)

[PATCH v5 04/19] vfs: fix readlinkat to retry on ESTALE

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/stat.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/fs/stat.c b/fs/stat.c index 5afeb37..c9d88f7 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -307,14 +307,25 @@ SYSCALL_DEFINE4(readlinkat, int, dfd,

[PATCH v5 12/19] vfs: make rmdir retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 83 +++--- 1 file changed, 47 insertions(+), 36 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index d6e9754..7eb59cc 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3282,51

[PATCH v5 19/19] vfs: make chroot retry once on ESTALE error

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 43 +++ 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/fs/open.c b/fs/open.c index 59a7e9d..991760f 100644 --- a/fs/open.c +++ b/fs/open.c @@ -455,27 +455,38 @@

[PATCH v5 18/19] vfs: have chdir retry lookup and call once on ESTALE error

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/fs/open.c b/fs/open.c index 147b232..59a7e9d 100644 --- a/fs/open.c +++ b/fs/open.c @@ -401,20 +401,27 @@ SYSCALL_DEFINE1(chdir, const

[PATCH v5 17/19] vfs: have faccessat retry once on an ESTALE error

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 70 --- 1 file changed, 40 insertions(+), 30 deletions(-) diff --git a/fs/open.c b/fs/open.c index 0df0c5d..147b232 100644 --- a/fs/open.c +++ b/fs/open.c @@ -318,6 +318,9 @@

[PATCH v5 16/19] vfs: have do_sys_truncate retry once on an ESTALE error

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 92 +++ 1 file changed, 51 insertions(+), 41 deletions(-) diff --git a/fs/open.c b/fs/open.c index 7babeed..0df0c5d 100644 --- a/fs/open.c +++ b/fs/open.c @@ -66,62 +66,72 @@

[PATCH v5 11/19] vfs: fix linkat to retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 60 1 file changed, 40 insertions(+), 20 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 9986117..d6e9754 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3565,6

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Daniel Mack
On 08.08.2012 14:54, Arnd Bergmann wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig results in: drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':

[PATCH v5 15/19] vfs: remove user_path_parent

2012-08-08 Thread Jeff Layton
...there are no more callers. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 936591f..ca1496a 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2121,24 +2121,6 @@ int user_path_at(int

Re: [PATCH 5/6] ARM: integrator: include linux/export.h

2012-08-08 Thread Linus Walleij
On Wed, Aug 8, 2012 at 2:54 PM, Arnd Bergmann a...@arndb.de wrote: Without this patch, building integrator_defconfig results in: arch/arm/mach-integrator/core.c:150:1: warning: data definition has no type or storage class [enabled by default] arch/arm/mach-integrator/core.c:150:1: warning:

[PATCH v5 14/19] vfs: fix renameat to retry on ESTALE errors

2012-08-08 Thread Jeff Layton
...as always, rename is the messiest of the bunch. We have to track whether to retry or not via a separate flag since the error handling is already quite complex. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 31 ++- 1 file changed, 26 insertions(+),

[PATCH v5 13/19] vfs: make do_unlinkat retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index 7eb59cc..0c112c3 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3392,8 +3392,14 @@ static long do_unlinkat(int dfd, const char

[PATCH v5 10/19] vfs: fix symlinkat to retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 9fd5163..9986117 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3468,24 +3468,34 @@

[PATCH v5 09/19] vfs: fix mkdir to retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 0a0397f..9fd5163 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3190,17 +3190,26 @@ SYSCALL_DEFINE3(mkdirat,

[PATCH v5 08/19] vfs: fix mknodat to retry on ESTALE errors

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 51 +-- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index f04ba14..0a0397f 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3109,34 +3109,49 @@

[PATCH v5 07/19] vfs: add new reval argument to kern_path_create

2012-08-08 Thread Jeff Layton
...for now, all of the callers pass in false. Eventually, we'll set that to true when we retry the lookup after getting back an ESTALE on a call. While we're at it, change the is_dir arg to a bool since that's how it's used currently. Signed-off-by: Jeff Layton jlay...@redhat.com ---

[PATCH v5 06/19] vfs: turn empty arg in getname_flags into a bool

2012-08-08 Thread Jeff Layton
...it's just used as a flag. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 4 ++-- fs/stat.c | 2 +- include/linux/fs.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index dc58de9..f0463bc 100644 --- a/fs/namei.c

[PATCH v5 05/19] vfs: remove user_path_at_empty

2012-08-08 Thread Jeff Layton
...there are no more callers. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c| 12 +++- include/linux/namei.h | 1 - 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index e66161f..dc58de9 100644 --- a/fs/namei.c +++

[PATCH v3] irq_remap: disable IRQ remapping if any IOAPIC lacks an IOMMU

2012-08-08 Thread Seth Forshee
The ACPI tables in the Macbook Air 5,1 define a single IOAPIC with id 2, but the only remapping unit described in the DMAR table matches id 0. Interrupt remapping fails as a result, and the kernel panics with the message timer doesn't work through Interrupt-remapped IO-APIC. To fix this, check

[PATCH v5 03/19] vfs: make fstatat retry on ESTALE errors from getattr call

2012-08-08 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 2 +- fs/stat.c | 21 - include/linux/fs.h | 1 + 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 83a6f46..e66161f 100644 --- a/fs/namei.c +++

[PATCH v5 00/19] vfs: add the ability to retry on ESTALE to several syscalls

2012-08-08 Thread Jeff Layton
This patchset is a respin of the one I sent on July 26th. The main reason for the resend is to deal with some recent changes in namei.c that created some merge conflicts. This series depends on the audit series that I also sent on July 26th. That set didn't need any changes, so I'm not planning

[PATCH v5 01/19] vfs: add a retry_estale helper function to handle retries on ESTALE

2012-08-08 Thread Jeff Layton
This function is expected to be called from path-based syscalls to help them decide whether to try the lookup and call again in the event that they got an -ESTALE return back on an earier try. Currently, we only retry the call once on an ESTALE error, but in the event that we decide that that's

Re: ȸ��: [PATCH 1/4] arm/dts: max77686: Add DTS file for max77686 PMIC

2012-08-08 Thread Mark Brown
On Tue, Aug 07, 2012 at 07:50:11PM +, Dongjin Kim wrote: Please fix your mailer to word wrap within paragraphs. Are you meaning VDD_MIF_1.0V, for example, would be replaced with another common name for other boards and my board file, exynos4412-odroidx.dts, describe the name again if

Re: [PATCH v2] regulator: make the dummy regulator's print_constraint more helpful

2012-08-08 Thread Mark Brown
On Tue, Aug 07, 2012 at 09:01:37PM +0200, Uwe Kleine-König wrote: This prevents the output of just dummy: in the boot log. Now it says: regulator-dummy: no parameters Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 1/2] debugfs: Allow debugfs_create_dir() to take data

2012-08-08 Thread Greg Kroah-Hartman
On Wed, Aug 08, 2012 at 09:24:32AM +0300, Hiroshi Doyu wrote: Add __debugfs_create_dir(), which takes data passed from caller. Why? Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- fs/debugfs/inode.c |7 --- include/linux/debugfs.h |9 - 2 files changed, 12

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Laurent Pinchart
Hi Tomasz, Thanks for the patch. On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: This patch adds reference counting on a module that exports dma-buf and implements its operations. This prevents the module from being unloaded while DMABUF file is in use. Signed-off-by:

Re: [PATCHv2 1/4] modem_shm: Add Modem Access Framework

2012-08-08 Thread Greg KH
On Wed, Aug 08, 2012 at 05:36:05AM +0200, Arun MURTHY wrote: On Tue, Aug 07, 2012 at 12:24:28PM +0530, Arun Murthy wrote: Adds Modem Access Framework, which allows for registering platform specific modem access mechanisms. The framework also exposes APIs for client drivers for

[PATCH] mtd: nand: omap: Trivial warn fix

2012-08-08 Thread Shubhrajyoti D
The return value is not propagated in some of the error paths. Fix the same by passing the value to err. CC drivers/mtd/nand/omap2.o drivers/mtd/nand/omap2.c: In function 'omap_nand_probe': drivers/mtd/nand/omap2.c:1154: warning: 'err' may be used uninitialized in this function LD

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Peter Ujfalusi
On 08/08/2012 04:13 PM, Mark Brown wrote: On Wed, Aug 08, 2012 at 12:41:20PM +0300, Peter Ujfalusi wrote: +Required properties: +- compatible : must be ti,twl4030-audio So, as I mentioned before I find this sort of direct mapping of the Linux device representation into the device tree

Re: WARNING: at mm/page_alloc.c:4514 free_area_init_node+0x4f/0x37b()

2012-08-08 Thread Borislav Petkov
On Mon, Aug 06, 2012 at 09:01:57AM +0900, Minchan Kim wrote: Linus already applied the patch in rc-1 but he might need better changelog. I am not sure I send this patch to whom, Linus or Andrew? Anyway, Please use below if really need it. Btw, I see Linus has already shut up the warning

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-08 Thread David Ahern
On 8/8/12 12:00 AM, Bjorn Helgaas wrote: On Tue, Aug 7, 2012 at 2:50 PM, Don Dutile ddut...@redhat.com wrote: On 08/06/2012 04:47 PM, Bjorn Helgaas wrote: On Sun, Aug 5, 2012 at 11:55 PM, Alex Williamson alex.william...@redhat.com wrote: On Sun, 2012-08-05 at 23:30 -0600, Bjorn Helgaas

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 04:43:16PM +0300, Peter Ujfalusi wrote: On 08/08/2012 04:13 PM, Mark Brown wrote: This doesn't seem like something that should be in the CODEC driver really, there's a general need for something which can unmute controls at the end of the power up sequence and mute

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Tomasz Stanislawski
Hi Laurent, On 08/08/2012 03:35 PM, Laurent Pinchart wrote: Hi Tomasz, Thanks for the patch. On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: This patch adds reference counting on a module that exports dma-buf and implements its operations. This prevents the module from

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-08 Thread Nicolas Pitre
On Wed, 8 Aug 2012, Cyril Chemparathy wrote: On 08/08/12 01:56, Nicolas Pitre wrote: On Tue, 7 Aug 2012, Cyril Chemparathy wrote: [...] u32 arm_check[] = { 0xe2810041, 0xe2810082, 0xe2810f41, 0xe2810f82, 0xe2810e41, 0xe2810e82, 0xe2810d41, 0xe2810d82, 0xe2810c41, 0xe2810c82,

Re: [PATCH 00/22] Introducing the TI Keystone platform

2012-08-08 Thread Will Deacon
Hi Cyril, On Wed, Aug 01, 2012 at 12:04:36AM +0100, Cyril Chemparathy wrote: This series is a follow on to the RFC series posted earlier (archived at [1]). The major change introduced here is the modification to the kernel patching mechanism for phys_to_virt/virt_to_phys, in order to support

[PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-08 Thread Tarun Kanti DebBarma
Add *remove* callback so that necessary cleanup operations are performed when device is unregistered. The device is deleted from the list and associated clock handle is released by calling clk_put() and irq descriptor is released using the irq_free_desc() api. Signed-off-by: Tarun Kanti DebBarma

Re: [PATCH 5/6] ARM: integrator: include linux/export.h

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Linus Walleij wrote: Missing a at the end of the subject line, but whatever. Acked-by: Linus Walleij linus.wall...@linaro.org Fixed the subject and added the Ack. Thanks! Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH -v2 2/6] fuse: make the maximum read/write request size tunable

2012-08-08 Thread Miklos Szeredi
Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com writes: Make the maximum read/write request size tunable between 32 pages and the number of pages equivalent to pipe_max_size. The max_read/max_write mount options affect the size. The 32 pages are used by default without these options.

Re: [PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-08 Thread Shilimkar, Santosh
On Wed, Aug 8, 2012 at 7:28 PM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: Add *remove* callback so that necessary cleanup operations are performed when device is unregistered. The device is deleted from the list and associated clock handle is released by calling clk_put() and irq

Re: [PATCH] dma-buf: add reference counting for exporter module

2012-08-08 Thread Daniel Vetter
On Wed, Aug 08, 2012 at 03:53:10PM +0200, Tomasz Stanislawski wrote: Hi Laurent, On 08/08/2012 03:35 PM, Laurent Pinchart wrote: Hi Tomasz, Thanks for the patch. On Wednesday 08 August 2012 12:17:41 Tomasz Stanislawski wrote: This patch adds reference counting on a module that

Re: [PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-08 Thread DebBarma, Tarun Kanti
On Wed, Aug 8, 2012 at 7:33 PM, Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Wed, Aug 8, 2012 at 7:28 PM, Tarun Kanti DebBarma tarun.ka...@ti.com wrote: Add *remove* callback so that necessary cleanup operations are performed when device is unregistered. The device is deleted from

Re: Fork bomb limitation in memcg WAS: Re: [PATCH 00/11] kmem controller for memcg: stripped down version

2012-08-08 Thread Glauber Costa
On 08/07/2012 05:59 PM, Glauber Costa wrote: On 06/29/2012 02:25 AM, Andrew Morton wrote: On Thu, 28 Jun 2012 13:01:23 +0400 Glauber Costa glom...@parallels.com wrote: ... OK, that all sounds convincing ;) Please summarise and capture this discussion in the [patch 0/n] changelog so we

[PATCH] sched: Fix __sched_period comment

2012-08-08 Thread Borislav Petkov
From: Borislav Petkov borislav.pet...@amd.com It should be sched_nr_latency so fix it before it annoys me more. Signed-off-by: Borislav Petkov borislav.pet...@amd.com --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Peter Ujfalusi
On 08/08/2012 04:52 PM, Mark Brown wrote: The hs_extmute is used for reducing pop noise on the headset. The sequence is described in the TRM and it need to be done within the codec driver since it is within the sequence. Is the point it's at in the sequence the end? On both ends :o On HS

<    4   5   6   7   8   9   10   11   12   13   >