[PATCH] staging: tidspbridge: fix return value check in dsp_wdt_init()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch)

RE: [PATCH] pwm-backlight: Take over maintenance

2012-09-21 Thread Arun MURTHY
Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Cc: Arun Murthy arun.mur...@stericsson.com Cc: Matthew Garrett m...@redhat.com Cc: Robert Morell rmor...@nvidia.com Cc: Dilan Lee di...@nvidia.com Cc: Axel Lin axel@gmail.com Cc: Mark Brown

Re: [PATCH 3/7] dw_dmac: get number of channels from hardware if possible

2012-09-21 Thread viresh kumar
On Thu, Sep 20, 2012 at 3:10 PM, viresh kumar viresh.ku...@linaro.org wrote: On Thu, Sep 20, 2012 at 3:05 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2012-09-18 at 12:20 +0530, viresh kumar wrote: @@ -1392,23 +1396,32 @@ static int __devinit dw_probe(struct

RE: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-21 Thread Philip, Avinash
Hi Stephen, On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: On 09/20/2012 10:51 PM, Philip, Avinash wrote: Some backlights perform poorly when driven by a PWM with a short duty-cycle. For such devices, the low threshold can be used to specify a lower bound for the duty-cycle and

Re: [PATCH 01/14] userns: Convert loop to use kuid_t instead of uid_t

2012-09-21 Thread Jens Axboe
On 2012-09-21 02:28, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Signed-off-by: Jens Axboe jax...@fusionio.com Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman ebied...@xmission.com --- drivers/block/loop.c |4 ++--

Re: [PATCH 1/4] usb: phy: add a new driver for usb3 phy

2012-09-21 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 19, 2012 at 8:11 PM, Marc Kleine-Budde m...@pengutronix.de wrote: On 09/19/2012 01:30 PM, Kishon Vijay Abraham I wrote: Added a driver for usb3 phy that handles the interaction between usb phy device and dwc3 controller. This also includes device tree support for usb3 phy

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

2012-09-21 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/binfmt_elf.c: In function 'fill_files_note': fs/binfmt_elf.c:1419:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration] fs/binfmt_elf.c:1419:7:

[PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by:

[PATCH] ARM: imx: fix the return value check in imx_clk_busy_divider()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_register() returns ERR_PTR() no NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch)

Status of arm-soc for 3.7

2012-09-21 Thread Olof Johansson
First, a heads up for those of you who were planning on coming with late merge requests: Sorry, but we will probably hold off until 3.8. We'll still take fixes and probably some small updates. But given all the moves of platform data and other code shuffling in the tree for this next merge

Re: [PATCH 4/5] PCI/IOV: simplify code by hotplug safe pci_get_domain_bus_and_slot()

2012-09-21 Thread Yinghai Lu
On Thu, Sep 20, 2012 at 7:56 PM, Bjorn Helgaas bhelg...@google.com wrote: This is another thing I'm curious about. How do you handle this situation today (before host bridge hot-add)? The DMAR I'm not so worried about because as far as I know, there's no such thing as a DMAR that's

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

2012-09-21 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/compat_binfmt_elf.c:22:53: fatal error: asm/sigframe.h: No such file or directory Caused by commit coredump: add a new elf note with siginfo of the signal. That include file only

[PATCH] clk: fix return value check in of_fixed_clk_setup()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_register_fixed_rate() returns ERR_PTR() not NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch.

Re: [PATCH] audit: define AUDIT_ARCH_OPENRISC

2012-09-21 Thread Jonas Bonn
On 09/21/2012 12:46 AM, Kees Cook wrote: When using audit on OpenRISC, an audit arch is needed. This defines it and fixes a compile-time bug uncovered in linux-next, likely from a cut/paste from an arch with 64/32-bit modes that defined arch_arch(): arch/openrisc/kernel/ptrace.c:190:2: error:

Re: [PATCH 09/14] userns: Convert binder ipc to use kuids

2012-09-21 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2012 at 05:28:45PM -0700, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Arve Hjønnevåg a...@android.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman

linux-next: build failure after merge of the final tree (mfd and battery trees related)

2012-09-21 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/mfd/88pm860x-core.c: In function 'device_power_init': drivers/mfd/88pm860x-core.c:982:11: error: too few arguments to function 'mfd_add_devices' include/linux/mfd/core.h:100:12: note:

[PATCH v3 0/7] KVM: MMU: fix release pfn in mmu code

2012-09-21 Thread Xiao Guangrong
Changlog: changes from Avi's comments: - comment for FNAME(fetch) - add annotations (__acquires, __releases) for page_fault_start and page_fault_end changes from Marcelo's comments: - remove mmu_is_invalid - make release noslot pfn path more readable The last patch which introduces

[PATCH v3 1/7] KVM: MMU: fix release noslot pfn

2012-09-21 Thread Xiao Guangrong
We can not directly call kvm_release_pfn_clean to release the pfn since we can meet noslot pfn which is used to cache mmio info into spte Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |6 -- arch/x86/kvm/paging_tmpl.h |6 -- 2 files

[PATCH v3 2/7] KVM: MMU: remove mmu_is_invalid

2012-09-21 Thread Xiao Guangrong
Remove mmu_is_invalid and use is_invalid_pfn instead Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c |5 - arch/x86/kvm/paging_tmpl.h |4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/mmu.c

[PATCH v3 3/7] KVM: MMU: do not release pfn in mmu_set_spte

2012-09-21 Thread Xiao Guangrong
It helps us to cleanup release pfn in the later patches Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 29 ++--- arch/x86/kvm/paging_tmpl.h | 18 -- 2 files changed, 26 insertions(+), 21 deletions(-)

[PATCH v3 4/7] KVM: MMU: cleanup FNAME(page_fault)

2012-09-21 Thread Xiao Guangrong
Let it return emulate state instead of spte like __direct_map Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/paging_tmpl.h | 31 --- 1 files changed, 12 insertions(+), 19 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h

[PATCH v3 5/7] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-21 Thread Xiao Guangrong
The only difference between FNAME(update_pte) and FNAME(pte_prefetch) is that the former is allowed to prefetch gfn from dirty logged slot, so introduce a common function to prefetch spte Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/paging_tmpl.h | 58

Re: linux-next: build failure after merge of the final tree (mfd and battery trees related)

2012-09-21 Thread Stephen Rothwell
Hi all, On Fri, 21 Sep 2012 16:48:19 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/mfd/88pm860x-core.c: In function 'device_power_init': drivers/mfd/88pm860x-core.c:982:11: error:

[PATCH v3 6/7] KVM: MMU: move prefetch_invalid_gpte out of pagaing_tmp.h

2012-09-21 Thread Xiao Guangrong
The function does not depend on guest mmu mode, move it out from paging_tmpl.h Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 36 arch/x86/kvm/paging_tmpl.h | 24 ++-- 2 files changed,

[PATCH v3 7/7] KVM: MMU: introduce page_fault_start/page_fault_end

2012-09-21 Thread Xiao Guangrong
Wrap the common operations into these two functions Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/mmu.c | 55 arch/x86/kvm/paging_tmpl.h | 12 - 2 files changed, 40 insertions(+), 27 deletions(-)

linux-next: Tree for Sept 21

2012-09-21 Thread Stephen Rothwell
Hi all, Changes since 201209020: The net-next tree sill had its build failure for which I added a patch. It also gained a conflict against the net tree. The md tree gained conflicts against the block tree. The battery tree gained a conflict against the mfd tree and a build failure due to an

[PATCH] c2port: fix return value check in duramar2150_c2port_init()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function c2port_device_register() returns ERR_PTR() not NULL pointer. The NULL test in the return value check should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch.

Re: [PATCH 01/14] userns: Convert loop to use kuid_t instead of uid_t

2012-09-21 Thread Eric W. Biederman
Jens Axboe jax...@fusionio.com writes: On 2012-09-21 02:28, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Signed-off-by: Jens Axboe jax...@fusionio.com Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman ebied...@xmission.com ---

RE: [RFC PATCH 01/13] ARM: davinci: move private EDMA API to arm/common

2012-09-21 Thread Hebbar, Gururaja
On Thu, Sep 20, 2012 at 20:13:34, Porter, Matt wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx atm) as well. This just moves the private EDMA API but does not support OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig

Re: [PATCH 01/14] userns: Convert loop to use kuid_t instead of uid_t

2012-09-21 Thread Jens Axboe
On 2012-09-21 09:07, Eric W. Biederman wrote: Jens Axboe jax...@fusionio.com writes: On 2012-09-21 02:28, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Signed-off-by: Jens Axboe jax...@fusionio.com Acked-by: Serge Hallyn serge.hal...@canonical.com

Re: [PATCH][GIT PULL][v3.6] tracing: Don't call page_to_pfn() if page is NULL

2012-09-21 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: Ingo, I wrote a test that triggers the bug, and tested this patch which seems to fix it as well. Please pull the latest tip/perf/urgent tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git

Re: [PATCH 2.6.32] memcg: warn on deeper hierarchies with use_hierarchy==0

2012-09-21 Thread Michal Hocko
On Thu 20-09-12 15:33:23, David Rientjes wrote: On Thu, 20 Sep 2012, Michal Hocko wrote: Yes printk_once is an alternative but I really wanted to have this as much visible as possible. People tend to react to stack traceces more and this one will trigger only if somebody is either doing

[PATCH] spi: sh-hspi: fix return value check in hspi_probe()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch)

[PATCH] irqdomain: Removed unused variable description

2012-09-21 Thread Venu Byravarasu
Removed description for unused variables: irq_base, nr_irq hwirq_base, from the irq_domain structure. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- include/linux/irqdomain.h |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/include/linux/irqdomain.h

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread Jan Beulich
On 20.09.12 at 23:24, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Sep 20, 2012 at 03:13:42PM +0100, Oliver Chick wrote: On Thu, 2012-09-20 at 14:49 +0100, Konrad Rzeszutek Wilk wrote: On Thu, Sep 20, 2012 at 12:48:41PM +0100, Jan Beulich wrote: On 20.09.12 at 13:30, Oliver

Re: [PATCH 4/5] charger-manager: Check fully charged state of battery periodically

2012-09-21 Thread Chanwoo Choi
On 09/21/2012 02:10 PM, Anton Vorontsov wrote: On Tue, Aug 21, 2012 at 05:06:52PM +0900, Chanwoo Choi wrote: This patch check periodically fully charged state of battery to protect overcharge and overheat. If battery is fully charged, stop charging and check droped voltage with

[PATCH] ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch)

Re: [PATCH 01/14] userns: Convert loop to use kuid_t instead of uid_t

2012-09-21 Thread Eric W. Biederman
Jens Axboe jax...@fusionio.com writes: On 2012-09-21 09:07, Eric W. Biederman wrote: Jens Axboe jax...@fusionio.com writes: On 2012-09-21 02:28, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Signed-off-by: Jens Axboe jax...@fusionio.com Acked-by: Serge Hallyn

Re: mm: frontswap: fix a wrong if condition in frontswap_shrink

2012-09-21 Thread Dan Carpenter
On Fri, Sep 21, 2012 at 11:29:56AM +0800, Zhenzhong Duan wrote: pages_to_unuse is set to 0 to unuse all frontswap pages But that doesn't happen since a wrong condition in frontswap_shrink cancels it. Signed-off-by: Zhenzhong Duan zhenzhong.d...@oracle.com --- mm/frontswap.c |4 ++--

RE: [PATCH] fix x2apic defect that Linux kernel doesn't mask 8259A interrupt during the time window between changing VT-d table base address and initializing these VT-d entries(smpboot.c and apic.c )

2012-09-21 Thread Zhang, Lin-Bao (Linux Kernel RD)
Hi suresh, Thanks for your reply and review this patch. I also cc other maintainers of arch/x86/kernel/smpboot.c and arch/x86/kernel/apic/apic.c(getting them by get_maintainer.pl script, hopefully I have not disturbed many people , if yes ,sorry first) -Original Message- From:

Re: [PATCH 3/5] charger-manager: Add support sysfs entry for charger

2012-09-21 Thread Chanwoo Choi
On 09/21/2012 02:12 PM, Anton Vorontsov wrote: On Tue, Aug 21, 2012 at 05:06:49PM +0900, Chanwoo Choi wrote: This patch add support sysfs entry for each charger(regulator). Charger-manager use one or more chargers for charging battery but some charger isn't necessary on specific scenario. So,

Re: [PATCH 2/3] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-21 Thread Peter Ujfalusi
On 09/19/2012 07:07 PM, Pantelis Antoniou wrote: Add support for pinctrl mux settings in the OMAP I2C driver. If no such pinctl bindings are found a warning message is printed. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/i2c/busses/i2c-omap.c | 7 +++ 1

Re: [PATCH] ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()

2012-09-21 Thread Eric Miao
On Fri, Sep 21, 2012 at 3:19 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch

Re: [PATCH 1/3] Add a core driver for SI476x MFD

2012-09-21 Thread Hans Verkuil
On Fri September 21 2012 03:05:41 andrey.smir...@convergeddevices.net wrote: On 09/13/2012 11:44 PM, Hans Verkuil wrote: Hi Andrey! Thanks for posting this driver. One request for the future: please split this patch up in smaller pieces: one for each c source for example. That makes it

Re: [PATCH 2/3] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-21 Thread Pantelis Antoniou
On Sep 21, 2012, at 10:29 AM, Peter Ujfalusi wrote: On 09/19/2012 07:07 PM, Pantelis Antoniou wrote: Add support for pinctrl mux settings in the OMAP I2C driver. If no such pinctl bindings are found a warning message is printed. Signed-off-by: Pantelis Antoniou

Re: [PATCH] ARM: pxa: fix return value check in pxa2xx_drv_pcmcia_probe()

2012-09-21 Thread Haojian Zhuang
On Fri, Sep 21, 2012 at 3:30 PM, Eric Miao eric.y.m...@gmail.com wrote: On Fri, Sep 21, 2012 at 3:19 PM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() and never returns NULL pointer. The NULL

Re: [PATCH 1/4] perf tools: configure tmp path at build time

2012-09-21 Thread Pekka Enberg
Hi Irina, On Fri, Sep 21, 2012 at 1:13 AM, Irina Tirdea irina.tir...@gmail.com wrote: diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c index b442ee4..c5b4632 100644 --- a/tools/perf/util/map.c +++ b/tools/perf/util/map.c @@ -59,7 +59,8 @@ struct map *map__new(struct list_head

Re: [PATCH] ARM: mmp: using for_each_set_bit to simplify the code

2012-09-21 Thread Haojian Zhuang
On Fri, Sep 14, 2012 at 11:23 AM, Eric Miao eric.y.m...@gmail.com wrote: On Fri, Sep 14, 2012 at 10:30 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Using for_each_set_bit() to simplify the code. spatch with a semantic match is used to found this.

Re: [PATCH v2 0/3] input: Dynamic Minor Numbers

2012-09-21 Thread Dmitry Torokhov
Hi David, On Thu, Sep 20, 2012 at 07:52:00PM +0200, David Herrmann wrote: Hi This is version 2 of the Dynamic Minor Numbers support for input devices. Version 1 can be found here: http://thread.gmane.org/gmane.linux.kernel.input/26842 For historical reasons, each input-handler (like

Re: [PATCH] x86: Distinguish TLB shootdown interrupts from other functions call interrupts

2012-09-21 Thread Alex Shi
If is it better to move above explanation to irq_call_cnt definition place: harirq.h? Agreed. In the patch below, I reduced the redundant comments. Acked-by: Alex Shi alex@intel.com -- As TLB shootdown requests to other CPU cores are now using function call interrupts, TLB

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread Ian Campbell
On Thu, 2012-09-20 at 22:24 +0100, Konrad Rzeszutek Wilk wrote: On Thu, Sep 20, 2012 at 03:13:42PM +0100, Oliver Chick wrote: On Thu, 2012-09-20 at 14:49 +0100, Konrad Rzeszutek Wilk wrote: On Thu, Sep 20, 2012 at 12:48:41PM +0100, Jan Beulich wrote: On 20.09.12 at 13:30, Oliver Chick

Re: Helping with backports: linux-next, linux, linux-stable - a few enhancements

2012-09-21 Thread Greg Kroah-Hartman
On Thu, Sep 20, 2012 at 03:45:46PM -0700, Luis R. Rodriguez wrote: Greg, Stephen, Konstantin, so for the Linux backports project [0] we rely on a few git trees: * linux-next.git * linux-stable.git * linux.git The linux.git tree is required for RC releases. The linux-stable.git

Re: [PATCH V2 07/10] Secure boot: Add a dummy kernel parameter that will switch on Secure Boot mode

2012-09-21 Thread joeyli
於 四,2012-09-20 於 10:41 -0400,Matthew Garrett 提到: From: Josh Boyer jwbo...@redhat.com This forcibly drops CAP_COMPROMISE_KERNEL from both cap_permitted and cap_bset in the init_cred struct, which everything else inherits from. This works on any machine and can be used to develop even if the

RE: [RFC PATCH 00/13] DMA Engine support for AM33xx

2012-09-21 Thread Hebbar, Gururaja
On Thu, Sep 20, 2012 at 20:13:33, Porter, Matt wrote: This series adds DMA Engine support for AM33xx, which uses an EDMA DMAC. The EDMA DMAC has been previously supported by only a private API implementation (much like the situation with OMAP DMA) found on the DaVinci family of SoCs. There

[PATCH -v2] mm: frontswap: fix a wrong if condition in frontswap_shrink

2012-09-21 Thread Zhenzhong Duan
pages_to_unuse is set to 0 to unuse all frontswap pages But that doesn't happen since a wrong condition in frontswap_shrink cancel it. -v2: Add comment to explain return value of __frontswap_shrink, as suggested by Dan Carpenter, thanks Signed-off-by: Zhenzhong Duan zhenzhong.d...@oracle.com

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread Oliver Chick
On Fri, 2012-09-21 at 08:18 +0100, Jan Beulich wrote: On 20.09.12 at 23:24, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Sep 20, 2012 at 03:13:42PM +0100, Oliver Chick wrote: On Thu, 2012-09-20 at 14:49 +0100, Konrad Rzeszutek Wilk wrote: On Thu, Sep 20, 2012 at

Re: [PATCH v3 15/16] memcg/sl[au]b: shrink dead caches

2012-09-21 Thread Glauber Costa
On 09/21/2012 08:48 AM, JoonSoo Kim wrote: Hi Glauber. Hi 2012/9/18 Glauber Costa glom...@parallels.com: diff --git a/mm/slub.c b/mm/slub.c index 0b68d15..9d79216 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2602,6 +2602,7 @@ redo: } else __slab_free(s, page, x,

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-09-21 Thread Glauber Costa
On 09/20/2012 08:05 PM, JoonSoo Kim wrote: Hi, Glauber. 2012/9/18 Glauber Costa glom...@parallels.com: +/* + * We need to verify if the allocation against current-mm-owner's memcg is + * possible for the given order. But the page is not allocated yet, so we'll + * need a further commit

RE: [RFC PATCH 05/13] dma: Add TI EDMA device tree binding

2012-09-21 Thread Hebbar, Gururaja
On Thu, Sep 20, 2012 at 20:13:38, Porter, Matt wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 49 + 1 file changed, 49 insertions(+)

RE: [RFC PATCH 03/13] ARM: edma: add DT and runtime PM support for AM335x

2012-09-21 Thread Hebbar, Gururaja
On Thu, Sep 20, 2012 at 20:13:36, Porter, Matt wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Calls runtime PM API only in the DT case in order to unidle the associated hwmods on AM335x. Signed-off-by: Matt Porter mpor...@ti.com ---

[PATCH v2 2/5] ARM: dt: t20 seaboard: turn on the power for wlan

2012-09-21 Thread Wei Ni
Enable the SDHCI1 controller. This is connected to the WiFi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra20-seaboard.dts |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts

[PATCH v2 1/5] ARM: tegra: set up wlan clocks for tegra dt

2012-09-21 Thread Wei Ni
Set up the wlan clock tree for Tegra20 and Tegra30. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/mach-tegra/board-dt-tegra20.c |4 arch/arm/mach-tegra/board-dt-tegra30.c |4 2 files changed, 8 insertions(+), 0 deletions(-) diff --git

[PATCH v2 0/5] ARM: tegra: enable wlan for t20 and t30

2012-09-21 Thread Wei Ni
Enable wlan for following tegra board: Tegra30: Cardhu. Tegra20: Seaboard, Ventana. Note that this series depends on specific brcmfmac patches: http://thread.gmane.org/gmane.linux.kernel.wireless.general/97337. V2: -Since Broadcom restructure the dpc routine with above link, it can fix

[PATCH v2 5/5] ARM: tegra: enable brcmfmac in defconfig

2012-09-21 Thread Wei Ni
New options enabled: * CFG80211_WEXT: (dependency) * BRCMFMAC: wlan driver, enable as module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/configs/tegra_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/tegra_defconfig

[PATCH v2 3/5] ARM: dt: t20 ventana: set pinmux and power for wlan

2012-09-21 Thread Wei Ni
Configure pinmux as required for WiFi. Enable the SDHCI1 controller, which is connectted to the WiFi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra20-ventana.dts | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git

[PATCH v2 4/5] ARM: dt: t30 cardhu: set pinmux and power for wlan

2012-09-21 Thread Wei Ni
Configure pinmux as required for WiFi. Enable the SDHCI1 controller for a02 and a04 board, which is connected to the WiFi module. For now, always enable the regulator that provides power to the Wifi module. Signed-off-by: Wei Ni w...@nvidia.com --- arch/arm/boot/dts/tegra30-cardhu-a02.dts |6

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

2012-09-21 Thread Denys Vlasenko
Hi Stephen, On Fri, Sep 21, 2012 at 8:26 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/compat_binfmt_elf.c:22:53: fatal error: asm/sigframe.h: No such file or directory

[PATCH] Change xen_vbd's flush_support and discard_secure to have type unsigned int, rather than bool

2012-09-21 Thread Oliver Chick
Changing the type of bdev parameters to be unsigned int :1, rather than bool. This is more consistent with the types of other features in the block drivers. Signed-off-by: Oliver Chick oliver.ch...@citrix.com --- drivers/block/xen-blkback/common.h |4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-21 Thread federico . vaga
From: Federico Vaga federico.v...@gmail.com This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga

Re: [PATCH 0/6] Reduce compaction scanning and lock contention

2012-09-21 Thread Richard Davies
Hi Mel, Thank you for this series. I have applied on clean 3.6-rc5 and tested, and it works well for me - the lock contention is (still) gone and isolate_freepages_block is much reduced. Here is a typical test with these patches: # grep -F '[k]' report | head -8 65.20% qemu-kvm

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-09-21 Thread JoonSoo Kim
*_memcg = memcg should be executed when memcg_charge_kmem is success. memcg_charge_kmem return 0 if success in charging. Therefore, I think this code is wrong. If I am right, it is a serious bug that affect behavior of all the patchset. Which is precisely what it does. ret is a boolean, that

Re: [RFC PATCH 10/13] spi: omap2-mcspi: dma_request_slave_channel() support for DT platforms

2012-09-21 Thread Arnd Bergmann
On Thursday 20 September 2012, Tony Lindgren wrote: /* use PIO for small transfers, avoiding DMA setup/teardown overhead and @@ -798,14 +801,26 @@ static int omap2_mcspi_request_dma(struct spi_device *spi) dma_cap_zero(mask); dma_cap_set(DMA_SLAVE, mask); sig =

Re: MMTests 0.05

2012-09-21 Thread Glauber Costa
On 09/20/2012 07:37 PM, Mel Gorman wrote: On Thu, Sep 20, 2012 at 03:03:56PM +0400, Glauber Costa wrote: On 09/07/2012 04:42 PM, Mel Gorman wrote: ./run-mmtests.sh test-run-1 Mel, would you share with us the command line and config tweaks you had in place to run the memcg tests you presented

[PATCH 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-21 Thread Federico Vaga
This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Federico Vaga federico.v...@gmail.com ---

[PATCH v2 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-21 Thread Federico Vaga
The DMA streaming allocator is similar to the DMA contig but it use the DMA streaming interface (dma_map_single, dma_unmap_single). The allocator allocates buffers and immediately map the memory for DMA transfer. For each buffer prepare/finish it does a DMA synchronization. Signed-off-by:

[PATCH v2 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-21 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi

Re: [PATCH v2 0/3] input: Dynamic Minor Numbers

2012-09-21 Thread David Herrmann
Hi Dmitry On Fri, Sep 21, 2012 at 10:07 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Thank you very much for working on this, unfortunately your patch extends the existing infrastructure handling of character devices in input core, which is quite rigid and sub-optimal. For a while

[PATCH v2 4/4] adv7180: remove {query/g_/s_}ctrl

2012-09-21 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit the controls from this subdevice. Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/media/i2c/adv7180.c | 3

[patch for-3.6] fs, debugfs: fix race in u32_array_read and allocate array at open

2012-09-21 Thread David Rientjes
u32_array_open() is racy when multiple threads read from a file with a seek position of zero, i.e. when two or more simultaneous reads are occurring after the non-seekable files are created. It is possible that file-private_data is double-freed because the threads races between

Re: [PATCH v3 15/16] memcg/sl[au]b: shrink dead caches

2012-09-21 Thread JoonSoo Kim
Hi, Glauber. 2012/9/18 Glauber Costa glom...@parallels.com: diff --git a/mm/slub.c b/mm/slub.c index 0b68d15..9d79216 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2602,6 +2602,7 @@ redo: } else __slab_free(s, page, x, addr); + kmem_cache_verify_dead(s); }

[PATCH] aic7xxx_old: silence GCC warnings

2012-09-21 Thread Paul Bolle
Building the aic7xxx_old driver triggers these GCC warnings: drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch] drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]

Re: [PATCH v3 08/16] slab: allow enable_cpu_cache to use preset values for its tunables

2012-09-21 Thread Pekka Enberg
On Tue, Sep 18, 2012 at 5:12 PM, Glauber Costa glom...@parallels.com wrote: diff --git a/mm/slab.c b/mm/slab.c index e2cf984..f2d760c 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -4141,8 +4141,19 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, static int

Re: [RFC PATCH 01/13] ARM: davinci: move private EDMA API to arm/common

2012-09-21 Thread Russell King - ARM Linux
On Thu, Sep 20, 2012 at 10:43:34AM -0400, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx atm) as well. This just moves the private EDMA API but does not support OMAP. Signed-off-by: Matt Porter mpor...@ti.com --- arch/arm/Kconfig

Re: RCU idle CPU detection is broken in linux-next

2012-09-21 Thread Sasha Levin
On 09/20/2012 05:23 PM, Paul E. McKenney wrote: On Thu, Sep 20, 2012 at 09:44:57AM +0200, Sasha Levin wrote: On 09/20/2012 09:33 AM, Michael Wang wrote: On 09/20/2012 01:06 AM, Paul E. McKenney wrote: On Wed, Sep 19, 2012 at 06:35:36PM +0200, Sasha Levin wrote: On 09/19/2012 05:39 PM, Paul E.

[PATCH 1/4] fs/inode.c: do not take i_lock on newly allocated inode

2012-09-21 Thread Guo Chao
Does current thread have the exclusive access to newly allocated inode? The chanllege comes from individual filesystem's -alloc_inode method. It may exposure the inode to private lists, thus give other threads a chance to access the inode. That should not happen, however, because the inode is not

[PATCH 4/4] fs/inode.c: always take i_lock before calling filesystem's test() method

2012-09-21 Thread Guo Chao
In insert_inode_locked4(), we call test() without i_lock held, it's inconsistent with other places that calling test(). Though this function is only used by reiserfs, in which case i_lock is unnecessary, we should provide test() a consistent locking context. This patch calls test() under the

[PATCH 2/4] fs/inode.c: do not take i_lock in __(insert|remove)_inode_hash

2012-09-21 Thread Guo Chao
At the beginning of fs/inode.c, the comment suggests both inode_hash_lock and i_lock protect i_hash. I wonder why two locks are needed. Grep the source code shows that i_hash is accessed in limited and well-defined places: 1. In inode_unhashed() 2. In some special cases, as

[PATCH 3/4] fs/inode.c: do not take i_lock when identify an inode

2012-09-21 Thread Guo Chao
Identity of an inode, which is defined by i_sb and i_ino or by individual filesystem specific way, is not expected to be changed during inode's life time. When identify an inode, taking i_lock _seems_ unnecessary. In source code, we do have functions identifying an inode without i_lock held, e.g.

[RFC v4 Patch 0/4] fs/inode.c: optimization for inode lock usage

2012-09-21 Thread Guo Chao
This patchset optimizes several places which take the per inode spin lock. They have not been fully tested yet, thus they are marked as RFC. I do limited tests after all patches applied: use two 'find' to traverse the filesystems and touch all files in parallel. This runs for several days in a

Re: [PATCH v3 09/16] sl[au]b: always get the cache from its page in kfree

2012-09-21 Thread Pekka Enberg
On Wed, Sep 19, 2012 at 10:42 AM, Glauber Costa glom...@parallels.com wrote: index f2d760c..18de3f6 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3938,9 +3938,12 @@ EXPORT_SYMBOL(__kmalloc); * Free an object which was previously allocated from this * cache. */ -void

Re: [PATCH v3 09/16] sl[au]b: always get the cache from its page in kfree

2012-09-21 Thread Glauber Costa
On 09/21/2012 01:33 PM, Pekka Enberg wrote: On Wed, Sep 19, 2012 at 10:42 AM, Glauber Costa glom...@parallels.com wrote: index f2d760c..18de3f6 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3938,9 +3938,12 @@ EXPORT_SYMBOL(__kmalloc); * Free an object which was previously allocated from this

RE: [RFC PATCH 01/13] ARM: davinci: move private EDMA API to arm/common

2012-09-21 Thread Hebbar, Gururaja
On Fri, Sep 21, 2012 at 14:59:23, Russell King - ARM Linux wrote: On Thu, Sep 20, 2012 at 10:43:34AM -0400, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx atm) as well. This just moves the private EDMA API but does not support

Re: [PATCH v3 15/16] memcg/sl[au]b: shrink dead caches

2012-09-21 Thread Glauber Costa
On 09/21/2012 01:28 PM, JoonSoo Kim wrote: Hi, Glauber. 2012/9/18 Glauber Costa glom...@parallels.com: diff --git a/mm/slub.c b/mm/slub.c index 0b68d15..9d79216 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -2602,6 +2602,7 @@ redo: } else __slab_free(s, page, x,

Re: [PATCH 0/6] Reduce compaction scanning and lock contention

2012-09-21 Thread Mel Gorman
On Fri, Sep 21, 2012 at 10:13:33AM +0100, Richard Davies wrote: Hi Mel, Thank you for this series. I have applied on clean 3.6-rc5 and tested, and it works well for me - the lock contention is (still) gone and isolate_freepages_block is much reduced. Excellent! Here is a typical test

Re: [PATCH] i915: Don't register backlight when max PWM value is unknown

2012-09-21 Thread Eugene Markow
In reference to: - commit 28dcc2d60cb570d9f549c329b2f51400553412a1 Author: Jani Nikula jani.nik...@...com Date:   Mon Sep 3 16:25:12 2012 +0300    drm/i915: do not expose a dysfunctional backlight interface to userspace - Using kernel snapshot 3.6.0-rc6 commit 4651afb (Mon, 17 Sep

Re: [PATCH 03/25] userns: Convert usb functionfs to use kuid/kgid where appropriate

2012-09-21 Thread Felipe Balbi
On Thu, Sep 20, 2012 at 04:41:44AM -0700, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Felipe Balbi ba...@ti.com Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman

Re: [PATCH 02/25] userns: Convert gadgetfs to use kuid and kgid where appropriate

2012-09-21 Thread Felipe Balbi
On Thu, Sep 20, 2012 at 04:41:43AM -0700, Eric W. Biederman wrote: From: Eric W. Biederman ebied...@xmission.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Felipe Balbi ba...@ti.com Acked-by: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Eric W. Biederman

Re: [PATCH 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-21 Thread Hans Verkuil
On Fri September 21 2012 11:21:35 Federico Vaga wrote: This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com

Re: [PATCH v3 00/16] slab accounting for memcg

2012-09-21 Thread Pekka Enberg
Hi Glauber, On Tue, Sep 18, 2012 at 5:11 PM, Glauber Costa glom...@parallels.com wrote: This is a followup to the previous kmem series. I divided them logically so it gets easier for reviewers. But I believe they are ready to be merged together (although we can do a two-pass merge if people

Re: [Xen-devel] [PATCH] Persistent grant maps for xen blk drivers

2012-09-21 Thread Jan Beulich
On 21.09.12 at 10:41, Oliver Chick oliver.ch...@citrix.com wrote: On Fri, 2012-09-21 at 08:18 +0100, Jan Beulich wrote: On 20.09.12 at 23:24, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Sep 20, 2012 at 03:13:42PM +0100, Oliver Chick wrote: On Thu, 2012-09-20 at 14:49

  1   2   3   4   5   6   7   8   9   10   >