Re: [PATCH] gpio: New driver for GPO emulation using PWM generators

2012-11-22 Thread Grant Likely
On Thu, 22 Nov 2012 14:42:03 +0100, Peter Ujfalusi wrote: > There seams to be board designs using PWM generators as enable/disable > signals. > For these boards we used to have custom code as hacks to deal with such a > situations. > With the gpio-pwm driver we can emulate the GPIO

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Anton Vorontsov
On Fri, Nov 23, 2012 at 11:36:01AM +0400, Alexander Shiyan wrote: [...] > got_no_fiq_insn also not initialized. It is static, so by definition it is initialized to 0. > I think as a whole on this issue requires additional comments from Russell > as the author of implementation. > > PS: In any

Re: [PATCH 0/4] Dove pinctrl fixes and DT enabling

2012-11-22 Thread Linus Walleij
On Wed, Nov 21, 2012 at 4:52 PM, Jason Cooper wrote: > On Wed, Nov 21, 2012 at 03:45:42PM +0100, Linus Walleij wrote: >> So what I mean is that the patches creating pinctrl/mvebu is in the >> pinctrl tree, so if patches in the MVEBU tree depend on these, >> then it must have pulled in a branch

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-22 Thread Huang Ying
On Fri, 2012-11-23 at 11:09 +0800, Huang Ying wrote: > On Fri, 2012-11-23 at 02:35 +, Ben Hutchings wrote: > > On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > > > 3.0-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > -- >

Re: [PATCH] input: stmpe-ts: Add DT support for stmpe touchscreen

2012-11-22 Thread Dmitry Torokhov
On Fri, Nov 23, 2012 at 11:59:46AM +0530, Viresh Kumar wrote: > From: Vipul Kumar Samar > > This patch allows the STMPE Touchscreen driver to be successfully probed and > initialised when Device Tree support is enabled. Bindings are mentioned in > Documentation too. Applied, thank you Viresh.

Re: [PATCH 1/1] pinctrl: pinctrl-single: Fix error check condition

2012-11-22 Thread Linus Walleij
On Tue, Nov 20, 2012 at 12:04 PM, Sachin Kamat wrote: > *map should be tested for NULL instead of map. > > Signed-off-by: Sachin Kamat Thanks, patch applied. As we are late in the kernel cycle and I haven't seen reports about regressions on this, it will wait for kernel v3.8. Yours, Linus

Re: [PATCH 3/7] mfd: max8925: fix onkey driver irq base

2012-11-22 Thread Dmitry Torokhov
Hi Qing, On Fri, Nov 23, 2012 at 03:20:11PM +0800, Qing Xu wrote: > On 11/06/2012 03:39 PM, Qing Xu wrote: > >From: Qing Xu > > > >update onkey driver's irq base, it should get from max8925, > >but not save in a private value > > > >Signed-off-by: Qing Xu > >--- > >

Re: memory-cgroup bug

2012-11-22 Thread Michal Hocko
On Thu 22-11-12 23:34:34, azurIt wrote: [...] > >And finally could you post the disassembly of your version of > >mem_cgroup_handle_oom, please? > > How can i do this? Either use gdb YOUR_VMLINUX and disassemble mem_cgroup_handle_oom or use objdump -d YOUR_VMLINUX and copy out only

[PATCH 3/3] regulator: add device tree support for max8997

2012-11-22 Thread Thomas Abraham
Add device tree based discovery support for max8997. Cc: Karol Lewandowski Cc: Rajendra Nayak Cc: Rob Herring Cc: Grant Likely Signed-off-by: Thomas Abraham Acked-by: MyungJoo Ham --- This is the sixth version of this patch. The link to v5 version of this patch is

[PATCH 2/3] regulator: max8997: limit the number of dvs registers programmed in non-dvs mode

2012-11-22 Thread Thomas Abraham
In case the gpio based volatage selection mode is not used for either of buck 1/2/5, then only the BUCKxDVS1 register need to be programmed. So determine whether dvs mode is used and limit the loop count appropriately. Cc: MyungJoo Ham Signed-off-by: Thomas Abraham ---

Re: [PATCH 1/1] pinctrl: Samsung: Do not initialise statics to 0

2012-11-22 Thread Linus Walleij
On Tue, Nov 20, 2012 at 12:49 PM, Kukjin Kim wrote: > Sachin Kamat wrote: >> >> Static variables are initialised to 0 by GCC. >> Fixes the following checkpatch error: >> ERROR: do not initialise statics to 0 or NULL >> FILE: pinctrl/pinctrl-samsung.c:50: >> static unsigned int pin_base = 0; >> >>

Re[2]: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Alexander Shiyan
> On Fri, Nov 23, 2012 at 10:27:51AM +0400, Alexander Shiyan wrote: > > > On Fri, Nov 23, 2012 at 07:40:30AM +0400, Alexander Shiyan wrote: > > > [...] > > > > > static unsigned long no_fiq_insn; > > > > > +static int got_no_fiq_insn; > > > > > @@ -78,11 +79,14 @@ void show_fiq_list(struct

[PATCH 1/3] regulator: max8997: reorder buck1/2/5 dvs setup code

2012-11-22 Thread Thomas Abraham
The BUCKxDVSx register programming is now moved prior to setting up of the gpio based dvs mode. This will ensure that all the BUCKxDVSx registers are programmed with appropriate voltage values before the gpio based dvs mode is selected for buck1/2/5. Cc: MyungJoo Ham Signed-off-by: Thomas

[PATCH 0/3] regulator: max8997: minor updates and device tree support

2012-11-22 Thread Thomas Abraham
This patch series includes two minor updates to the gpio dvs code in max8997 regulator driver and adds device tree support for the same driver. Thomas Abraham (3): regulator: max8997: reorder buck1/2/5 dvs setup code regulator: max8997: limit the number of dvs registers programmed in non-dvs

Re: [PATCH 07/14] pinctrl: SPEAr: Update error check for unsigned variables

2012-11-22 Thread Linus Walleij
On Fri, Nov 16, 2012 at 7:50 AM, Tushar Behera wrote: > Checking '< 0' for unsigned variables always returns false. For error > codes, use IS_ERR_VALUE() instead. > > CC: Linus Walleij > Signed-off-by: Tushar Behera Patch applied with Viresh's ACK, thanks! Linus Walleij -- To unsubscribe from

Re: [PATCH RFC v2 3/4] firmware: Add support for signature checks

2012-11-22 Thread Takashi Iwai
At Fri, 23 Nov 2012 14:56:11 +0800, joeyli wrote: > > 於 四,2012-11-08 於 18:35 +0100,Takashi Iwai 提到: > > +#ifdef CONFIG_FIRMWARE_SIG > > +static int verify_sig_file(struct firmware_buf *buf, const char > > *path) > > +{ > > + const unsigned long markerlen = sizeof(FIRMWARE_SIG_STRING) - > >

Re: KVM Disk i/o or VM activities causes soft lockup?

2012-11-22 Thread Stefan Hajnoczi
On Wed, Nov 21, 2012 at 03:36:50PM -0800, Vincent Li wrote: > We have users running on redhat based distro (Kernel > 2.6.32-131.21.1.el6.x86_64 ) with kvm, when customer made cron job > script to copy large files between kvm guest or some other user space > program leads to disk i/o or VM

Re: [PATCH 7/7] mfd: max8925: add dts

2012-11-22 Thread Qing Xu
On 11/06/2012 03:49 PM, Qing Xu wrote: From: Qing Xu add max8925 dts support into mmp2 brownstone platform Signed-off-by: Qing Xu --- arch/arm/boot/dts/mmp2-brownstone.dts | 166 + arch/arm/boot/dts/mmp2.dtsi |4 +- 2 files changed, 169

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Viresh Kumar
On 23 November 2012 12:49, Dmitry Torokhov wrote: > Ahh, I see. Then I think my first patch was correct albeit it had bad > changelog > message. If provided stubs for clk_prepare()/clk_unprepare() for > platforms that did not define HAVE_CLK and pushed the check for > HAVE_CLK_PREPARE down into

Re: [PATCH 6/7] mfd: max8925: support dt for backlight

2012-11-22 Thread Qing Xu
On 11/06/2012 03:47 PM, Qing Xu wrote: From: Qing Xu Signed-off-by: Qing Xu --- drivers/video/backlight/max8925_bl.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) Hi Richard, Florian, Could you help to review this patch, thanks a lot! -Qing

Re: [PATCH 6/7] mfd: max8925: support dt for backlight

2012-11-22 Thread Qing Xu
On 11/06/2012 03:47 PM, Qing Xu wrote: From: Qing Xu Signed-off-by: Qing Xu --- drivers/video/backlight/max8925_bl.c | 31 ++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/drivers/video/backlight/max8925_bl.c

Re: [PATCH] ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclk

2012-11-22 Thread Lothar Waßmann
Hi, > On Thu, Nov 22, 2012 at 01:31:09PM +0100, Lothar Waßmann wrote: > > > > Signed-off-by: Lothar Waßmann > > Why? > I thought that was obvious... To be able to compile the mxs sound driver as module. Lothar Waßmann -- ___ Ka-Ro

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Dmitry Torokhov
On Thu, Nov 22, 2012 at 09:30:33AM +, Russell King - ARM Linux wrote: > On Wed, Nov 21, 2012 at 06:17:50PM -0800, Dmitry Torokhov wrote: > > > You've checked non-ARM architectures too? > > > > Yes: > > > > [dtor@dtor-d630 linux-next]$ grep -r HAVE_CLK_PREPARE . > > ./arch/arm/Kconfig:

Re: [PATCH 3/7] mfd: max8925: fix onkey driver irq base

2012-11-22 Thread Qing Xu
On 11/06/2012 03:39 PM, Qing Xu wrote: From: Qing Xu update onkey driver's irq base, it should get from max8925, but not save in a private value Signed-off-by: Qing Xu --- drivers/input/misc/max8925_onkey.c |3 --- drivers/mfd/max8925-core.c |2 +- 2 files changed, 1

[PATCH] driver core: use initcall_debug to control shutdown info

2012-11-22 Thread ShuoX Liu
From: ShuoX Liu syscore_shutdown uses initcall_debug to control the debug info output. It’s a good programming. But device_shutdown doesn’t. The patch changes device_shutdown to follow the style. Signed-off-by: Yanmin Zhang Signed-off-by: ShuoX Liu --- drivers/base/core.c |6 -- 1

Re: [PATCH 2/7] mfd: max8925: fix mfd device register failure

2012-11-22 Thread Qing Xu
On 11/06/2012 03:38 PM, Qing Xu wrote: From: Qing Xu we encounter rtc/power/touch driver registry failure, root cause it is resources confilict in insert_resouce, solved by changing mfd_add_devices 5th parameter to NULL Signed-off-by: Qing Xu --- drivers/mfd/max8925-core.c | 22

Re: [PATCH 1/7] mfd: max8925: add irqdomain for dt

2012-11-22 Thread Qing Xu
On 11/06/2012 03:37 PM, Qing Xu wrote: From: Qing Xu Add irqdomains for max8925's main irq, and touch irq. Wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver. Signed-off-by: Qing Xu --- drivers/mfd/max8925-core.c

Re: [PATCH 0/7] mfd: update on max8925 for DT support

2012-11-22 Thread Qing Xu
On 11/06/2012 03:35 PM, Qing Xu wrote: From: Qing Xu 1. add irqdomain for max8925, it is necessary for dt support 2. bug fix in max8925 mfd devices'irq base and device registry failure 3. support DT for max8925 mfd devices Qing Xu (7): mfd: max8925: add irqdomain for dt mfd: max8925:

[PATCH 2/2] drivers/rtc/rtc-s3c.c: Convert to use devm_* API

2012-11-22 Thread Tushar Behera
rtc-s3c driver is modified to use devm_request_and_ioremap() (combining request_mem_region and ioremap), devm_clk_get() and devm_request_irq() APIs. Since this removes the necessity of freeing the related resources the return path is also simplified. Signed-off-by: Tushar Behera ---

[PATCH 1/2] drivers/rtc/rtc-s3c.c: Remove unnecessary err_nores label

2012-11-22 Thread Tushar Behera
err_nores label redirects to a simple return statement. Move the return statement to caller location and remove the label. Signed-off-by: Tushar Behera --- drivers/rtc/rtc-s3c.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-s3c.c

[PATCH 0/2] drivers/rtc/rtc-s3c.c: Add devm_* APIs and cleanup

2012-11-22 Thread Tushar Behera
This patchset adds devm_* APIs to rtc-s3c driver and cleans up the probe function. Tushar Behera (2): drivers/rtc/rtc-s3c.c: Remove unnecessary err_nores label drivers/rtc/rtc-s3c.c: Convert to use devm_* API drivers/rtc/rtc-s3c.c | 48 1

Re: [PATCH] USB: chipidea: promote error code from ci_role_start() start instead of returning -ENODEV

2012-11-22 Thread Peter Chen
On Thu, Nov 22, 2012 at 10:11:31AM +0100, Lothar Waßmann wrote: > > Signed-off-by: Lothar Waßmann > --- > drivers/usb/chipidea/core.c |3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c > index

Re: [BUGFIX PATCH] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-22 Thread Lothar Waßmann
Hi, Mark Brown writes: > On Thu, Nov 22, 2012 at 01:31:06PM +0100, Lothar Waßmann wrote: > > > obj-$(CONFIG_SND_SOC_IMX_PCM) += snd-soc-imx-pcm.o > > snd-soc-imx-pcm-y := imx-pcm.o > > -snd-soc-imx-pcm-$(CONFIG_SND_SOC_IMX_PCM_FIQ) += imx-pcm-fiq.o > >

Re: [PATCH RFC v2 3/4] firmware: Add support for signature checks

2012-11-22 Thread joeyli
於 四,2012-11-08 於 18:35 +0100,Takashi Iwai 提到: > +#ifdef CONFIG_FIRMWARE_SIG > +static int verify_sig_file(struct firmware_buf *buf, const char > *path) > +{ > + const unsigned long markerlen = sizeof(FIRMWARE_SIG_STRING) - > 1; > + struct file *file; > + void *sig_data; > +

[git pull] Input updates for 3.7-rc6

2012-11-22 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. This fixes recent regression where /dev/input/mice got assigned

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Anton Vorontsov
On Fri, Nov 23, 2012 at 10:27:51AM +0400, Alexander Shiyan wrote: > > On Fri, Nov 23, 2012 at 07:40:30AM +0400, Alexander Shiyan wrote: > > [...] > > > > static unsigned long no_fiq_insn; > > > > +static int got_no_fiq_insn; > > > > @@ -78,11 +79,14 @@ void show_fiq_list(struct seq_file *p, int

Re: [PATCH RFC v2 4/4] firmware: Install firmware signature files automatically

2012-11-22 Thread joeyli
於 四,2012-11-08 於 18:35 +0100,Takashi Iwai 提到: > ... when CONFIG_FIRMWARE_SIG is set. > > Signed-off-by: Takashi Iwai Tested-by: Chun-Yi Lee Joey Lee > --- > Makefile| 6 ++ > scripts/Makefile.fwinst | 18 -- > 2 files changed, 22 insertions(+), 2

Re: [PATCH RFC v2 1/4] firmware: Add the firmware signing support to scripts/sign-file

2012-11-22 Thread joeyli
於 四,2012-11-08 於 18:35 +0100,Takashi Iwai 提到: > Add -f option to sign-file script for generating a firmware signature > file. > > A firmware signature file contains a pretty similar structure like a > signed module but in a different order (because it's a separate file > while the module

Re: [PATCH RFC v2 2/4] firmware: Add -a option to scripts/sign-file

2012-11-22 Thread joeyli
於 四,2012-11-08 於 18:35 +0100,Takashi Iwai 提到: > Add a new option -a to sign-file for specifying the hash algorithm > to sign a file, to make it working without .config file. > This will be useful signing external module or firmware files. > > Signed-off-by: Takashi Iwai Tested-by: Chun-Yi Lee

Re: [PATCH 00/33] Latest numa/core release, v17

2012-11-22 Thread Zhouping Liu
On 11/23/2012 06:53 AM, Ingo Molnar wrote: * Ingo Molnar wrote: This release mainly addresses one of the regressions Linus (rightfully) complained about: the "4x JVM" SPECjbb run. [ Note to testers: if possible please still run with CONFIG_TRANSPARENT_HUGEPAGES=y enabled, to avoid the

Re: [PATCH 0/7] i2c: s3c2410: Add devm_* apis and cleanup

2012-11-22 Thread Tushar Behera
On 11/23/2012 11:45 AM, Shubhrajyoti Datta wrote: > On Fri, Nov 23, 2012 at 11:29 AM, Tushar Behera > wrote: >> This patchset cleans up the probe function of i2c-s3c2410 driver. >> These have been tested on Exynos4210 based Origen board. >> >> Tushar Behera (7): >> i2c: s3c2410: Remove

Re: [PATCH] staging: zram: Prevent use of unmapped buffer

2012-11-22 Thread Dan Carpenter
On Fri, Nov 23, 2012 at 09:17:09AM +0900, Minchan Kim wrote: > Hi Nitin, > > Current next-20121115(I don't know why linux-next stay at the version. Is > there > any problem on the tree? or Stephen go to holiday?) Yep. He'll be back on Monday. regards, dan carpenter -- To unsubscribe from

Re: [PATCH 4/7] i2c: s3c2410: Convert to use devm_ioremap()

2012-11-22 Thread Tushar Behera
On 11/23/2012 11:44 AM, Sachin Kamat wrote: > Hi Tushar, > > On 23 November 2012 11:29, Tushar Behera wrote: >> Signed-off-by: Tushar Behera >> --- >> drivers/i2c/busses/i2c-s3c2410.c | 13 - >> 1 files changed, 4 insertions(+), 9 deletions(-) >> >> diff --git

[PATCH] input: stmpe-ts: Add DT support for stmpe touchscreen

2012-11-22 Thread Viresh Kumar
From: Vipul Kumar Samar This patch allows the STMPE Touchscreen driver to be successfully probed and initialised when Device Tree support is enabled. Bindings are mentioned in Documentation too. Signed-off-by: Vipul Kumar Samar Signed-off-by: Viresh Kumar ---

Re[2]: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Alexander Shiyan
> On Fri, Nov 23, 2012 at 07:40:30AM +0400, Alexander Shiyan wrote: > [...] > > > static unsigned long no_fiq_insn; > > > +static int got_no_fiq_insn; > > > @@ -78,11 +79,14 @@ void show_fiq_list(struct seq_file *p, int prec) > > > > > > void set_fiq_handler(void *start, unsigned int length) >

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-22 Thread Zhang Rui
On Fri, 2012-11-23 at 09:35 +0530, Amit Kachhap wrote: > On 22 November 2012 13:42, Zhang Rui wrote: > > On Thu, 2012-11-22 at 10:11 +0530, Amit Kachhap wrote: > >> On 22 November 2012 06:52, Zhang Rui wrote: > >> > On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: > >> >> This

Re: [PATCH 0/7] i2c: s3c2410: Add devm_* apis and cleanup

2012-11-22 Thread Shubhrajyoti Datta
On Fri, Nov 23, 2012 at 11:29 AM, Tushar Behera wrote: > This patchset cleans up the probe function of i2c-s3c2410 driver. > These have been tested on Exynos4210 based Origen board. > > Tushar Behera (7): > i2c: s3c2410: Remove unnecessary label err_noclk > i2c: s3c2410: Convert to use

Re: [PATCH 4/7] i2c: s3c2410: Convert to use devm_ioremap()

2012-11-22 Thread Sachin Kamat
Hi Tushar, On 23 November 2012 11:29, Tushar Behera wrote: > Signed-off-by: Tushar Behera > --- > drivers/i2c/busses/i2c-s3c2410.c | 13 - > 1 files changed, 4 insertions(+), 9 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-s3c2410.c > b/drivers/i2c/busses/i2c-s3c2410.c >

Re: memory-cgroup bug

2012-11-22 Thread azurIt
__ > Od: "Kamezawa Hiroyuki" > Komu: azurIt > Dátum: 22.11.2012 01:27 > Predmet: Re: memory-cgroup bug > > CC: linux-kernel@vger.kernel.org, "linux-mm" >(2012/11/22 4:02), azurIt wrote: >> Hi, >> >> i'm using memory cgroup for limiting

[PATCH 7/7] i2c: s3c2410: Remove err_cpufreq label

2012-11-22 Thread Tushar Behera
err_cpufreq label is now used only once. It can be removed and related code can be moved to the caller location. Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c

[PATCH 6/7] i2c: s3c2410: Move location of clk_prepare_enable() call in probe function

2012-11-22 Thread Tushar Behera
In probe call, only s3c24xx_i2c_init() needs the I2C clock to be enabled. Moving clk_prepare_enable() and clk_disable_unprepare() calls to around this function simplifies the return path of probe call. Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c | 29

[PATCH 5/7] i2c: s3c2410: Convert to use devm_request_irq()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 3446af2..3e4143c 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++

[PATCH 4/7] i2c: s3c2410: Convert to use devm_ioremap()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index a274ef7..3446af2 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++

[PATCH 1/7] i2c: s3c2410: Remove unnecessary label err_noclk

2012-11-22 Thread Tushar Behera
err_noclk label redirects to a simple return statement. Move the return statement to the caller location and remove the label. Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH 3/7] i2c: s3c2410: Convert to use devm_request_mem_region()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 019c3d7..a274ef7 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++

[PATCH 2/7] i2c: s3c2410: Convert to use devm_clk_get()

2012-11-22 Thread Tushar Behera
Signed-off-by: Tushar Behera --- drivers/i2c/busses/i2c-s3c2410.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 7522f40..019c3d7 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++

[PATCH 0/7] i2c: s3c2410: Add devm_* apis and cleanup

2012-11-22 Thread Tushar Behera
This patchset cleans up the probe function of i2c-s3c2410 driver. These have been tested on Exynos4210 based Origen board. Tushar Behera (7): i2c: s3c2410: Remove unnecessary label err_noclk i2c: s3c2410: Convert to use devm_clk_get() i2c: s3c2410: Convert to use devm_request_mem_region()

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Anton Vorontsov
On Fri, Nov 23, 2012 at 07:40:30AM +0400, Alexander Shiyan wrote: [...] > > static unsigned long no_fiq_insn; > > +static int got_no_fiq_insn; > > @@ -78,11 +79,14 @@ void show_fiq_list(struct seq_file *p, int prec) > > > > void set_fiq_handler(void *start, unsigned int length) > > { > > -#if

[PATCH] gpio: stmpe: Add DT support for stmpe gpio

2012-11-22 Thread Viresh Kumar
From: Vipul Kumar Samar This patch allows the STMPE GPIO driver to be successfully probed and initialised when Device Tree support is enabled. Bindings are mentioned in Documentation too. Signed-off-by: Vipul Kumar Samar Signed-off-by: Viresh Kumar ---

Re: Is augmented rbtree propagation broken?

2012-11-22 Thread Michel Lespinasse
On Thu, Nov 22, 2012 at 9:14 AM, Sasha Levin wrote: > Hi Michel, > > I've noticed a bug regarding search of ioports in the KVM tool. Since the KVM > tool is > using kernel's augmented rbtree implementation to represent an interval > rbtree I dug a > bit into the new implementation in the

[BUGFIX PATCH] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-22 Thread Lothar Waßmann
Due to a broken make rule, imx-pcm-dma.c or imx-pcm-fiq.c (whatever is selected via Kconfig) will not be compiled when building as module, resulting in a non-functional sound driver. Signed-off-by: Lothar Waßmann --- sound/soc/fsl/Makefile |8 ++-- 1 files changed, 6 insertions(+), 2

[BUGFIX PATCH] ASoC: imx-sgtl5000: prevent module from being unloaded when in use

2012-11-22 Thread Lothar Waßmann
set the 'onwer' field of the registered snd_soc_card object to prevent removal of the module when its resources are in use. Signed-off-by: Lothar Waßmann --- sound/soc/fsl/imx-sgtl5000.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/imx-sgtl5000.c

[PATCH] ASoC: imx: add MODULE_LICENSE("GPL")

2012-11-22 Thread Lothar Waßmann
also set MODULE_AUTHOR and MODULE_DESCRIPTION Signed-off-by: Lothar Waßmann --- sound/soc/fsl/imx-pcm.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sound/soc/fsl/imx-pcm.c b/sound/soc/fsl/imx-pcm.c index 93dc360..d5cd9ef 100644 --- a/sound/soc/fsl/imx-pcm.c +++

[BUGFIX PATCH] USB: chipidea: fix use after free bug

2012-11-22 Thread Lothar Waßmann
The pointer to a platform_device struct must not be dereferenced after the device has been unregistered. This bug produces a crash when unloading the ci13xxx kernel module compiled with CONFIG_PAGE_POISONING enabled. Signed-off-by: Lothar Waßmann --- drivers/usb/chipidea/core.c |3 ++- 1

[PATCH] ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclk

2012-11-22 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- sound/soc/mxs/mxs-saif.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index c294fbb..f1d1f9e 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c @@ -229,6 +229,7

[PATCH] ASoC: dmaengine_pcm: set MODULE_LICENSE

2012-11-22 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- sound/soc/soc-dmaengine-pcm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/soc/soc-dmaengine-pcm.c b/sound/soc/soc-dmaengine-pcm.c index bbc1257..111b7d92 100644 --- a/sound/soc/soc-dmaengine-pcm.c +++

[PATCH] USB: chipidea: promote error code from ci_role_start() start instead of returning -ENODEV

2012-11-22 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- drivers/usb/chipidea/core.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index b726c49..bd6e7a4 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@

Re: [PATCH] regulator: tps80031: Implement list_voltage and set n_voltages = 1 for fixed regulators

2012-11-22 Thread Laxman Dewangan
On Friday 23 November 2012 06:55 AM, Axel Lin wrote: Implement list_voltage for fixed regulators, otherwise regulator_is_supported_voltage() returns 0. This rail is used for vbus only which is 5V or 0. I don't see any use for using this rail for other purpose. It just need enable/disable.

Re: [PATCH] mm: vmscan: Check for fatal signals iff the process was throttled

2012-11-22 Thread Minchan Kim
On Wed, Nov 21, 2012 at 03:38:24PM +, Mel Gorman wrote: > commit 5515061d22f0 ("mm: throttle direct reclaimers if PF_MEMALLOC reserves > are low and swap is backed by network storage") introduced a check for > fatal signals after a process gets throttled for network storage. The > intention

RE: [PATCH V5 3/6] Tools: hv: Add an example script to configure an interface

2012-11-22 Thread KY Srinivasan
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Thursday, November 22, 2012 4:13 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; b...@decadent.org.uk; > tho...@redhat.com;

Re: [PATCH] mm: cma: allocate pages from CMA if NR_FREE_PAGES approaches low water mark

2012-11-22 Thread Minchan Kim
Hi Marek, On Wed, Nov 21, 2012 at 04:50:45PM +0100, Marek Szyprowski wrote: > Hello, > > On 11/21/2012 2:05 AM, Minchan Kim wrote: > >On Tue, Nov 20, 2012 at 03:49:35PM +0100, Marek Szyprowski wrote: > >> Hello, > >> > >> On 11/20/2012 1:01 AM, Minchan Kim wrote: > >> >Hi Marek, > >> > > >> >On

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Viresh Kumar
On 22 November 2012 16:54, Lee Jones wrote: >> diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt >> b/Documentation/devicetree/bindings/mfd/stmpe.txt >> stmpe1601: stmpe1601@40 { >> + id = <0>; > > Don't do this. Device IDs are Linux specific. Hi Lee, This is id

Re: [PATCH 1/4] thermal: Add new thermal trend type to support quick cooling

2012-11-22 Thread Amit Kachhap
On 22 November 2012 13:42, Zhang Rui wrote: > On Thu, 2012-11-22 at 10:11 +0530, Amit Kachhap wrote: >> On 22 November 2012 06:52, Zhang Rui wrote: >> > On Thu, 2012-11-08 at 09:56 +0530, Amit Daniel Kachhap wrote: >> >> This modification adds 2 new thermal trend type THERMAL_TREND_RAISE_FULL >>

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-22 Thread Alexander Shiyan
> The function only saves initial arch-specific "no FIQ" instruction, by > placing the code into set_fiq_handler() we can: > > - Have less code and logic in the platform-specific files; > - Have the code that manages FIQ vector overwriting in one place, i.e. > don't spread the logic around. >

Re: [PATCH V2 2/2] mfd: stmpe: Extend DT support in stmpe driver

2012-11-22 Thread Shiraz Hashim
On Thu, Nov 22, 2012 at 10:31:48PM +0530, Viresh Kumar wrote: > On 22 November 2012 21:16, Lee Jones wrote: > > The STMPE GPIO controller can't be used by Device Tree yet in > > any case, because it doesn't have an IRQ domain. This is > > compulsory, or it won't work. Have you tried to test this

[RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
"quiet" boot param can make system boot faster without printk time. but many embedded systems want default loglevel as a always online diganostic, and it stills want a fast boot procedure without losing printk. for example, for rearview and some other urgent scenerios, we want kernel boot more

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-22 Thread Ian Kent
On Thu, 2012-11-22 at 17:24 +0100, Miklos Szeredi wrote: > Patches were tested by the customer. > > Ian, Eric, do these patches look OK? They look OK to me but I'm still a bit concerned about changing the way this behaves, but I also believe this is the way we want it to behave. Give me a

RE: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Barry Song
Hi Baruch, Thanks! > -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: Friday, November 23, 2012 11:07 AM > To: Barry Song > Cc: gre...@linuxfoundation.org; DL-SHA-WorkGroupLinux; > linux...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; >

Re: [RFC][PATCH] printk: add boot_quiet param to support deferred printk while booting

2012-11-22 Thread Baruch Siach
Hi Barry, On Fri, Nov 23, 2012 at 10:50:22AM +0800, Barry Song wrote: [...] > diff --git a/kernel/printk.c b/kernel/printk.c > index 2d607f4..0b88d6bf 100644 > --- a/kernel/printk.c > +++ b/kernel/printk.c > @@ -250,6 +250,9 @@ static u32 clear_idx; > #define LOG_ALIGN __alignof__(struct log)

Re: [PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process

2012-11-22 Thread Jun Chen
On Thu, 2012-11-22 at 11:08 +, Alan Cox wrote: > On Thu, 22 Nov 2012 06:19:23 -0500 > Jun Chen wrote: > > > > > This patch add modem power off function in the reboot process > > according registering reboot callback to the reboot_notifier_list. > > Also realizing the spi shutdown function.

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-22 Thread Huang Ying
On Fri, 2012-11-23 at 02:35 +, Ben Hutchings wrote: > On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Huang Ying > > > > commit

[PATCH] mfd: wm8994: Add support for WM1811 rev E

2012-11-22 Thread Mark Brown
This is supported identically to the previous revisions. Signed-off-by: Mark Brown Cc: sta...@vger.kernel.org --- drivers/mfd/wm8994-core.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index 0b6455a..2f6f7db 100644 ---

[PATCH] serial: ifx6x60: Add modem power off function in the platform reboot process

2012-11-22 Thread Jun Chen
This patch add modem power off function in the reboot process according registering reboot callback to the reboot_notifier_list. Also realizing the spi shutdown function. Signed-off-by: Bi Chao Signed-off-by: Chen Jun --- drivers/tty/serial/ifx6x60.c | 56

[PATCH] Btrfs: do not warn_on io_ctl->cur in io_ctl_map_page

2012-11-22 Thread Wang Sheng-Hui
io_ctl_map_page is called by many functions in free-space-cache. In most scenarios, the ->cur is not null, e.g. io_ctl_add_entry. I think we'd better remove the warn_on here. Signed-off-by: Wang Sheng-Hui --- fs/btrfs/free-space-cache.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

[PATCH] powerpc/pseries: Fix kernel crash caused by NULL PE

2012-11-22 Thread Alexey Kardashevskiy
From: Gavin Shan While hooking MSI interrupts, the corresponding device tree node of the PE that the PCI device has been put into should be checked. However, those PCI devices (e.g. VirtIO based PCI devices) that don't have EEH capability shouldn't have the associated PE. So we shouldn't try to

[PATCH] powerpc/pseries: Fix kernel crash caused by NULL PE

2012-11-22 Thread Alexey Kardashevskiy
While hooking MSI interrupts, the corresponding device tree node of the PE that the PCI device has been put into should be checked. However, those PCI devices (e.g. VirtIO based PCI devices) that don't have EEH capability shouldn't have the associated PE. So we shouldn't try to get the PE's

[PATCH v2] drivers: gdm72xx: remove last usage of NIPQUAD and NIP6

2012-11-22 Thread Shan Wei
From: Shan Wei commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT, and NIP6 also is out of date. Because DEBUG_SDU is not defined in gdm_wimax.h, no error message when compiling this code. commit cf4ca4874fc45166198424384275f443a672d0b7 Author: Joe Perches Date: Mon Aug

[PATCH 2/2] zram: allocate metadata when disksize is set up

2012-11-22 Thread Minchan Kim
Lockdep complains about recursive deadlock of zram->init_lock. Because zram_init_device could be called in reclaim context and it requires a page with GFP_KERNEL. We can fix it via replacing GFP_KERNEL with GFP_NOIO. But more big problem is vzalloc in zram_init_device which calls GFP_KERNEL. We

[PATCH 1/2] zram: force disksize setting before using zram

2012-11-22 Thread Minchan Kim
Now zram document syas "set disksize is optional" but partly it's wrong. When you try to use zram firstly after booting, you must set disksize, otherwise zram can't work because zram gendisk's size is 0. But once you do it, you can use zram freely after reset because reset doesn't reset to zero

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-22 Thread Ben Hutchings
On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Huang Ying > > commit 90b5c1d7c45eeb622302680ff96ed30c1a2b6f0e upstream. > > If a PCI device and its parents are put into

Re: [PATCH] regulator: max8925: fix compiler warnings

2012-11-22 Thread Qing Xu
On 11/23/2012 09:41 AM, Mark Brown wrote: On Thu, Nov 22, 2012 at 10:11:06AM +0800, Qing Xu wrote: - int i, regulator_idx; + int i; + int regulator_idx = 0; This sort of fix is rarely good without some analysis as to why this is a sensible initialisation to do, just

Re: Problem in Page Cache Replacement

2012-11-22 Thread Fengguang Wu
Jaegeuk, > Thanks for your response. But which kind of pages are in the special > reserved and which are all-flags-cleared? The all-flags-cleared pages are mostly free pages in the buddy system. The pages with flag "buddy" are also free pages: the buddy system only marks the head pages of each

Re: Problem in Page Cache Replacement

2012-11-22 Thread Jaegeuk Hanse
On 11/23/2012 12:17 AM, Johannes Weiner wrote: On Thu, Nov 22, 2012 at 09:16:27PM +0800, Jaegeuk Hanse wrote: On 11/22/2012 09:09 AM, Johannes Weiner wrote: On Thu, Nov 22, 2012 at 08:48:07AM +0800, Jaegeuk Hanse wrote: On 11/22/2012 05:34 AM, Johannes Weiner wrote: Hi, On Tue, Nov 20, 2012

Re: Problem in Page Cache Replacement

2012-11-22 Thread Jaegeuk Hanse
On 11/22/2012 11:53 PM, Fengguang Wu wrote: On Thu, Nov 22, 2012 at 11:41:07PM +0800, Fengguang Wu wrote: On Wed, Nov 21, 2012 at 12:07:22PM +0200, Metin Döşlü wrote: On Wed, Nov 21, 2012 at 12:00 PM, Jaegeuk Hanse wrote: On 11/21/2012 05:58 PM, metin d wrote: Hi Fengguang, I run tests and

Re: [PATCH] ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclk

2012-11-22 Thread Mark Brown
On Thu, Nov 22, 2012 at 01:31:09PM +0100, Lothar Waßmann wrote: > > Signed-off-by: Lothar Waßmann Why? signature.asc Description: Digital signature

Re: [BUGFIX PATCH] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-22 Thread Mark Brown
On Thu, Nov 22, 2012 at 01:31:06PM +0100, Lothar Waßmann wrote: > obj-$(CONFIG_SND_SOC_IMX_PCM) += snd-soc-imx-pcm.o > snd-soc-imx-pcm-y := imx-pcm.o > -snd-soc-imx-pcm-$(CONFIG_SND_SOC_IMX_PCM_FIQ) += imx-pcm-fiq.o > -snd-soc-imx-pcm-$(CONFIG_SND_SOC_IMX_PCM_DMA) += imx-pcm-dma.o > +ifneq

Re: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-22 Thread Alexey Kardashevskiy
On 22/11/12 22:56, Sethi Varun-B16395 wrote: -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Alex Williamson Sent: Tuesday, November 20, 2012 11:50 PM To: Alexey Kardashevskiy Cc: Benjamin Herrenschmidt; Paul

Re: Problem in Page Cache Replacement

2012-11-22 Thread Jaegeuk Hanse
On 11/21/2012 02:25 AM, Jan Kara wrote: On Tue 20-11-12 09:42:42, metin d wrote: I have two PostgreSQL databases named data-1 and data-2 that sit on the same machine. Both databases keep 40 GB of data, and the total memory available on the machine is 68GB. I started data-1 and data-2, and ran

Re: [RESENDING] [PATCH 07/22] ASoC: Ux500: Initialise PCM from MSP probe rather than as a device

2012-11-22 Thread Mark Brown
On Thu, Nov 22, 2012 at 02:05:40PM +, Lee Jones wrote: > On Thu, 20 Sep 2012, Lee Jones wrote: > > > > Can we have some closure on this patch please, as it's blocking the > > > > patch-set? I'm fairly sure the patch is doing the correct thing, as > > > > seconded by Mark. > > > I still don't

Re: [PATCH v2 01/11] kexec: introduce kexec_ops struct

2012-11-22 Thread Andrew Cooper
On 23/11/2012 01:38, H. Peter Anvin wrote: > I still don't really get why it can't be isolated from dom0, which would make > more sense to me, even for a Xen crash. > The crash region (as specified by crashkernel= on the Xen command line) is isolated from dom0. dom0 (using the kexec utility

  1   2   3   4   5   6   7   8   9   10   >