Re: [linux-next-20130422] Bug in SLAB?

2013-05-05 Thread Geert Uytterhoeven
On Fri, May 3, 2013 at 5:43 PM, Christoph Lameter wrote: > Subject: slab: Return NULL for oversized allocations > > The inline path seems to have changed the SLAB behavior for very large > kmalloc allocations. This patch restores the old behavior but also > adds diagnostics so that we can figure w

Re: [PATCH 61/63] ARM: ux500: Stop passing DMA platform data though AUXDATA

2013-05-05 Thread Srinidhi Kasagar
On Fri, May 03, 2013 at 16:32:47 +0200, Lee Jones wrote: > The DMA platform data is now empty due to some recent refactoring, > so there is no longer a requirement to pass it though. > > Acked-by: Arnd Bergmann > Signed-off-by: Lee Jones > --- > arch/arm/mach-ux500/cpu-db8500.c |3 +-- > 1

Re: [PATCH 4/4] staging: ste_rmi4: Suppress 'ignoring return value of ‘regulator_enable()' warning

2013-05-05 Thread Srinidhi Kasagar
On Sun, May 05, 2013 at 16:18:55 +0200, Dan Carpenter wrote: > On Fri, May 03, 2013 at 12:37:14PM +0530, Srinidhi Kasagar wrote: > > On Thu, May 02, 2013 at 17:48:10 +0200, Lee Jones wrote: > > > drivers/staging/ste_rmi4/synaptics_i2c_rmi4.c: > > > In function ‘synaptics_rmi4_resume’: > > >

Re: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-05 Thread Luke Kenneth Casson Leighton
On Mon, May 6, 2013 at 5:09 AM, Robert Hancock wrote: >> and that's just within *one* of the fabless semiconductor companies, >> and you have to bear in mind that there are *several hundred* ARM >> licensees. when this topic was last raised, someone mentioned that >> ARM attempted to standardise

Re: [linux-next-20130422] Bug in SLAB?

2013-05-05 Thread Pekka Enberg
On Fri, May 3, 2013 at 9:04 PM, Christoph Lameter wrote: > Enabling various debugging options increases the size of structures and > the subslab handling in SLABs kmem_cache_create will start to fail. > > > Here is a fix for that: > > Subject: Fix bootstrap creation of kmalloc caches > > For SLAB

Re: [PATCH v5 2/7] sched: remove SMP cover for runnable variables in cfs_rq

2013-05-05 Thread Preeti U Murthy
Hi Alex, You might want to do the below for struct sched_entity also? AFAIK,struct sched_entity has struct sched_avg under CONFIG_SMP. Regards Preeti U Murthy On 05/06/2013 07:15 AM, Alex Shi wrote: > The following variables were covered under CONFIG_SMP in struct cfs_rq. > but similar runnable

[REPOST PATCH] autofs - remove autofs dentry mount check

2013-05-05 Thread Ian Kent
From: David Jeffery When checking if an autofs mount point is busy it isn't sufficient to only check if it's a mount point. For example, if the mount of an offset mountpoint in a tree is denied for this host by its export and the dentry becomes a process working directory the check incorrectly r

[REPOST PATCH] autofs - fix sparse warning for autofs4_d_manage()

2013-05-05 Thread Ian Kent
From: Claudiu Ghioc Fixed the sparse warning: * "fs/autofs4/root.c:411:5: warning: symbol 'autofs4_d_manage' was not declared. Should it be static?" edit: imk Clearly it should be static as the function is declared static at the top of root.c. end edit: imk Signed-off-by: Claudiu Ghio

Re: [PATCH v5 7/7] sched: consider runnable load average in effective_load

2013-05-05 Thread Alex Shi
On 05/06/2013 11:34 AM, Michael Wang wrote: >> > @@ -3045,7 +3045,7 @@ static long effective_load(struct task_group *tg, >> > int cpu, long wl, long wg) >> >/* >> > * w = rw_i + @wl >> > */ >> > - w = se->my_q->load.weight + wl; >> > + w = se->

Re: [PATCH v5 7/7] sched: consider runnable load average in effective_load

2013-05-05 Thread Michael Wang
Hi, Alex On 05/06/2013 09:45 AM, Alex Shi wrote: > effective_load calculates the load change as seen from the > root_task_group. It needs to engage the runnable average > of changed task. [snip] > */ > @@ -3045,7 +3045,7 @@ static long effective_load(struct task_group *tg, int > cpu, long wl, l

Re: [patch v7 05/21] sched: log the cpu utilization at rq

2013-05-05 Thread Alex Shi
On 05/06/2013 11:26 AM, Preeti U Murthy wrote: > Hi Alex, > > You can add my Reviewed-by for the below patch. > > Thanks Thanks a lot for the review! -- Thanks Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.

Re: [PATCH] ARC: Remove non existent reference to GENERIC_KERNEL_EXECVE & GENERIC_KERNEL_THREAD

2013-05-05 Thread Vineet Gupta
On 05/05/2013 05:27 PM, Alexander Shiyan wrote: > Signed-off-by: Alexander Shiyan Applied to my for-curr for 3.10 (to be pushed to Linus is a day or two). Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

Re: [PATCH v4 4/6] KVM: MMU: fast invalid all shadow pages

2013-05-05 Thread Xiao Guangrong
On 05/04/2013 08:52 AM, Marcelo Tosatti wrote: > On Sat, May 04, 2013 at 12:51:06AM +0800, Xiao Guangrong wrote: >> On 05/03/2013 11:53 PM, Marcelo Tosatti wrote: >>> On Fri, May 03, 2013 at 01:52:07PM +0800, Xiao Guangrong wrote: On 05/03/2013 09:05 AM, Marcelo Tosatti wrote: >> + >>

linux-next: Tree for May 6

2013-05-05 Thread Stephen Rothwell
Hi all, Please do not add any v3.11 destined work to your linux-next included branches until after v3.10-rc1 is released. I am receiving a (un)reasonable number of conflicts from there being multiple copies of some commits in various trees. Please clean this up and resist the temptataion to reb

[PATCH 4/4] hwrng: tx4939 - remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3/4] hwrng: timeriomem - remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/4] hwrng: bcm63xx - remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 1/4] hwrng: atmel - remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3.9-stable] mmc: dw_mmc: fix fifo access for 64-bit

2013-05-05 Thread Jonghwan Choi
This patch looks like it should be in the 3.9-stable tree, should we apply it? -- From: "Seungwon Jeon " commit c09fbd7451b797213b3df8bf06b9ec33f954 upstream mci_writew causes a failure of fifo access for 64-bit. mci_writeq is correct. Signed-off-by: Seungwon Jeon Acked-by

[PATCH 8/8] twl4030_charger: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 7/8] rx51_battery: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 6/8] jz4740-battery: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 5/8] gpio-charger: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 4/8] bq27x00_battery: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3/8] ab8500_bm: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/8] 88pm860x_charger: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 1/8] 88pm860x_battery: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

Re: device tree not the answer in the ARM world [was: Re: running Debian on a Cubieboard]

2013-05-05 Thread Robert Hancock
On 05/05/2013 06:27 AM, Luke Kenneth Casson Leighton wrote: this message came up on debian-arm and i figured that it is worthwhile endeavouring to get across to people why device tree cannot and will not ever be the solution it was believed to be, in the ARM world. [just a quick note to david wh

[PATCH 8/8] mfd: tc6393xb: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 7/8] mfd: tc6387xb: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 6/8] mfd: t7l66xb: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 5/8] mfd: mcp-sa11x0: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 4/8] mfd: twl4030-madc: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3/8] mfd: twl4030-audio: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/8] mfd: jz4740-adc: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 1/8] mfd: intel_msic: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/2] dma: timb_dma: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 1/2] dma: at_hdmac: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

linux-next: manual merge of the akpm tree with the tree

2013-05-05 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in ipc/sem.c between commit 321310ced2d6 ("ipc: move sem_obtain_lock() rcu locking into the only caller") from Linus' tree and commit "ipc/sem.c: alternatives to preempt_disable()" from the akpm tree. I just dropped the akpm tree

[PATCH 4/4] pinctrl: u300: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3/4] pinctrl: sirf: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/4] pinctrl: mxs: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 1/4] pinctrl: coh901: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 7/7] gpio: vx855: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 6/7] gpio: timberdale: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

Re: [PATCH firmware 1/2] rtl_nic: Add firmware rtl8168g-3

2013-05-05 Thread Ben Hutchings
On Tue, 2013-04-23 at 20:37 +0800, Hayes Wang wrote: > File: rtl_nic/rtl8168g-3.fw > Version: 0.0.1 > > Signed-off-by: Hayes Wang > --- Applied, thanks. Ben. > WHENCE| 5 - > rtl_nic/rtl8168g-3.fw | Bin 0 -> 832 bytes > 2 files changed, 4 insertions(+), 1 deletion(-) >

Re: [PATCH firmware 2/2] rtl_nic: add firmware rtl8106e-2

2013-05-05 Thread Ben Hutchings
On Tue, 2013-04-23 at 20:37 +0800, Hayes Wang wrote: > File: rtl_nic/rtl8106e-2.fw > Version: 0.0.1 > > Signed-off-by: Hayes Wang > --- Applied, thanks. Ben. > WHENCE| 3 +++ > rtl_nic/rtl8106e-2.fw | Bin 0 -> 832 bytes > 2 files changed, 3 insertions(+) > create mode 1006

[PATCH 5/7] gpio: tc3589x: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 4/7] gpio: stmpe: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 3/7] gpio: rdc321x: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

[PATCH 2/7] gpio: lynxpoint: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

Re: [patch v7 16/21] sched: no balance for prefer_sibling in power scheduling

2013-05-05 Thread Preeti U Murthy
Hi Alex, You can add my Reviewed-by for the below patch. Thanks Regards Preeti U Murthy On 04/04/2013 07:30 AM, Alex Shi wrote: > In power aware scheduling, we don't want to balance 'prefer_sibling' > groups just because local group has capacity. > If the local group has no tasks at the time, t

Re: [patch v7 05/21] sched: log the cpu utilization at rq

2013-05-05 Thread Preeti U Murthy
Hi Alex, You can add my Reviewed-by for the below patch. Thanks Regards Preeti U Murthy On 04/04/2013 07:30 AM, Alex Shi wrote: > The cpu's utilization is to measure how busy is the cpu. > util = cpu_rq(cpu)->avg.runnable_avg_sum * SCHED_POEWR_SCALE > / cpu_rq(cpu)->avg.

[PATCH 1/7] gpio: langwell: remove unnecessary platform_set_drvdata()

2013-05-05 Thread Jingoo Han
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingo

Re: [patch v7 02/21] sched: set initial value of runnable avg for new forked task

2013-05-05 Thread Preeti U Murthy
Hi Alex, The below patch looks good to me. On 04/04/2013 07:30 AM, Alex Shi wrote: > We need initialize the se.avg.{decay_count, load_avg_contrib} for a > new forked task. > Otherwise random values of above variables cause mess when do new task > enqueue: > enqueue_task_fair > enqueue

Re: [PATCH 09/14] perf ftrace: Add 'record' sub-command

2013-05-05 Thread David Ahern
On 5/5/13 7:57 PM, Namhyung Kim wrote: Hi David, On Fri, 26 Apr 2013 07:44:18 -0600, David Ahern wrote: On 4/25/13 12:24 AM, Namhyung Kim wrote: But it looks there's a race between cond_wait() and cond_broatcast(). I'll take a look at that. Why not use eventfd or a pipe for the signalling in

[PATCH V2 5/5] input: pxa27x-keypad: add device tree support

2013-05-05 Thread Chao Xie
Signed-off-by: Chao Xie --- .../devicetree/bindings/input/pxa27x-keypad.txt| 60 + drivers/input/keyboard/pxa27x_keypad.c | 232 +++- 2 files changed, 288 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/pxa27x-keypad

[PATCH V2 0/5] input: pxa27x-keypad: enhancement and device tree support

2013-05-05 Thread Chao Xie
The patches include 2 parts 1. use matrix_keypad for matrix keyes support 2. add device tree support for pxa27x-keypad V2->V1: Do not copy the members from pdata. For device tree support, directly allocate the pdata structure. Chao Xie (5): input: pxa27x-keypad: use matrix_keymap for matrix key

[PATCH V2 2/5] arm: mmp: use matrix_keymap for aspenite

2013-05-05 Thread Chao Xie
Signed-off-by: Chao Xie --- arch/arm/mach-mmp/aspenite.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index 9f64d56..1e23346 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.

[PATCH V2 3/5] arm: mmp: use matrix_keymap for teton_bga

2013-05-05 Thread Chao Xie
Signed-off-by: Chao Xie --- arch/arm/mach-mmp/teton_bga.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-mmp/teton_bga.c b/arch/arm/mach-mmp/teton_bga.c index 8609967..d8967fa 100644 --- a/arch/arm/mach-mmp/teton_bga.c +++ b/arch/arm/mach-mmp/teton_b

[PATCH V2 4/5] input: pxa27x-keypad: remove the unused members at platform data

2013-05-05 Thread Chao Xie
Now pxa27x-keypad make use matrix_keymap for matrix keyes, so remove the unused members in platform data. Signed-off-by: Chao Xie --- include/linux/platform_data/keypad-pxa27x.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/linux/platform_data/keypad-pxa27x.h

[PATCH V2 1/5] input: pxa27x-keypad: use matrix_keymap for matrix keyes

2013-05-05 Thread Chao Xie
pxa27x-keypad includes matrix keyes. Make use of matrix_keymap for the matrix keyes. Signed-off-by: Chao Xie --- drivers/input/keyboard/Kconfig |1 + drivers/input/keyboard/pxa27x_keypad.c | 36 +- include/linux/platform_data/keypad-pxa27x.h |1

Re: [PATCH v2 10/13] x86, acpi, numa, mem-hotplug: Introduce MEMBLK_HOTPLUGGABLE to mark and reserve hotpluggable memory.

2013-05-05 Thread Tang Chen
Hi Vasilis, Sorry for the delay and thank you for reviewing and testing. :) On 05/03/2013 06:50 PM, Vasilis Liaskovitis wrote: Should we skip ranges on nodes that the kernel uses? e.g. with if (memblock_is_kernel_node(nid)) continue; Yes. I think I forgot to call it in

Re: [PATCH 03/26] perf tools: Move arch check into config/Makefile

2013-05-05 Thread Namhyung Kim
On Fri, 26 Apr 2013 18:18:09 +0200, Jiri Olsa wrote: > Namhyung, > if you'd like to check, all changes addressing your comments are in here: > > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > perf/core_make > > I'll wait a bit for other comments and resend the patchset later Sorry,

Re: [PATCH 09/14] perf ftrace: Add 'record' sub-command

2013-05-05 Thread Namhyung Kim
Hi David, On Fri, 26 Apr 2013 07:44:18 -0600, David Ahern wrote: > On 4/25/13 12:24 AM, Namhyung Kim wrote: >> But it looks there's a race between cond_wait() and cond_broatcast(). >> I'll take a look at that. > > Why not use eventfd or a pipe for the signalling instead? Thanks for your feedback!

Re: [PATCH 12/14] perf ftrace: Use pager for displaying result

2013-05-05 Thread Namhyung Kim
On Fri, 26 Apr 2013 10:40:23 +0200, Jiri Olsa wrote: > On Thu, Apr 25, 2013 at 03:50:45PM +0900, Namhyung Kim wrote: >> On Wed, 24 Apr 2013 16:17:24 +0200, Jiri Olsa wrote: >> > On Tue, Apr 23, 2013 at 05:31:10PM +0900, Namhyung Kim wrote: >> >> From: Namhyung Kim >> >> >> >> It's convenient to u

[PATCH v5 5/7] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-05-05 Thread Alex Shi
They are the base values in load balance, update them with rq runnable load average, then the load balance will consider runnable load avg naturally. Signed-off-by: Alex Shi --- kernel/sched/core.c | 4 ++-- kernel/sched/fair.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --g

[PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-05 Thread Alex Shi
We need initialize the se.avg.{decay_count, load_avg_contrib} for a new forked task. Otherwise random values of above variables cause mess when do new task enqueue: enqueue_task_fair enqueue_entity enqueue_entity_load_avg and make forking balancing imbalance since incorrect

[PATCH v5 7/7] sched: consider runnable load average in effective_load

2013-05-05 Thread Alex Shi
effective_load calculates the load change as seen from the root_task_group. It needs to engage the runnable average of changed task. Thanks for Morten Rasmussen and PeterZ's reminder of this. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 24 1 file changed, 12 inser

[PATCH v5 6/7] sched: consider runnable load average in move_tasks

2013-05-05 Thread Alex Shi
Except using runnable load average in background, move_tasks is also the key functions in load balance. We need consider the runnable load average in it in order to the apple to apple load comparison. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 8 +++- 1 file changed, 7 insertions(+),

[PATCH v5 2/7] sched: remove SMP cover for runnable variables in cfs_rq

2013-05-05 Thread Alex Shi
The following variables were covered under CONFIG_SMP in struct cfs_rq. but similar runnable variables work for UP in struct rq and task_group. like rq->avg, task_group->load_avg. So move them out, they also can work with UP. u64 runnable_load_avg, blocked_load_avg; atomic64_t de

[PATCH v5 4/7] sched: update cpu load after task_tick.

2013-05-05 Thread Alex Shi
To get the latest runnable info, we need do this cpuload update after task_tick. Signed-off-by: Alex Shi --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index ecec7f1..33bcebf 100644 --- a/kernel/sched/core.c +

[PATCH v5 1/7] Revert "sched: Introduce temporary FAIR_GROUP_SCHED dependency for load-tracking"

2013-05-05 Thread Alex Shi
Remove CONFIG_FAIR_GROUP_SCHED that covers the runnable info, then we can use runnable load variables. Signed-off-by: Alex Shi --- include/linux/sched.h | 7 +-- kernel/sched/core.c | 7 +-- kernel/sched/fair.c | 13 ++--- kernel/sched/sched.h | 9 + 4 files chang

[PATCH v5 0/7] use runnable load avg in load balance

2013-05-05 Thread Alex Shi
This patchset bases on tip/sched/core. It fixed a UP config bug. And the last of patch changed, it insert the runnable load avg into effective_load(), thus the wake_affine consider load avg via effective_load. I retested on Intel core2, NHM, SNB, IVB, 2 and 4 sockets machines with benchmark kbui

Re: [PATCH 09/14] perf ftrace: Add 'record' sub-command

2013-05-05 Thread Namhyung Kim
Hi Jiri, Sorry for late reply. I've been busy these days. On Thu, 25 Apr 2013 15:24:18 +0900, Namhyung Kim wrote: > On Wed, 24 Apr 2013 16:12:41 +0200, Jiri Olsa wrote: >> I got following lockup for record command: >> >> # ./perf --no-pager ftrace record ls >> ... >> hangs >> >> in other

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-05-05 Thread Li, Zhen-Hua (USL-China)
On 04/29/2013 02:55 AM, Alan Stern wrote: On Sun, 28 Apr 2013, ZhenHua wrote: In fact, the patch is so easy that I am including it below. Please test this (without either of your patches) to see if it works. Alan Stern Index: usb-3.9/drivers/usb/host/uhci-hub.c ===

[PATCH V4 2/3] pwm: pxa: use module_platform_driver()

2013-05-05 Thread Chao Xie
Old pwm-pxa.c will register driver by arch_initcall. Then other drivers based on the PWM driver can successully call old pwm_request because arch_initcall make sure the PWM driver will be registered earlier. Now, pwm_request is re-written and done by common layer code. It will return -EPROBE_DEFER

[PATCH V4 3/3] pwm: pxa: add device tree support

2013-05-05 Thread Chao Xie
Add the deice tree support for pwm-pxa. Signed-off-by: Chao Xie --- drivers/pwm/pwm-pxa.c | 52 - 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-pxa.c b/drivers/pwm/pwm-pxa.c index aa4bea7..c8d59a2 100644 --- a/dr

[PATCH V4 0/3] pwm: pxa: bug fix and device tree support

2013-05-05 Thread Chao Xie
The patches fix some bugs 1. pwm-pxa driver is shared by ARCH_PXA and ARCH_MMP 2. use module_platform_driver for driver register The patches also add device tree support for pwm. V2->V1: Remove the redundant initialization. Fix bug of no initialization of .of_match_table. Use CONFIG_OF for

[PATCH V4 1/3] pwm: pxa: ARCH_MMP share same pwm driver with ARCH_PXA

2013-05-05 Thread Chao Xie
The PWM driver is not only used by ARCH_PXA but also ARCH_MMP. Signed-off-by: Chao Xie --- drivers/pwm/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 115b644..9ec4040 100644 --- a/drivers/pwm/Kconfig +++ b/drivers

Re: [RFC/PATCH] perf: Expand definition of sysfs format attribute

2013-05-05 Thread Michael Ellerman
On Mon, Apr 08, 2013 at 05:24:22PM +1000, Michael Ellerman wrote: > On Mon, Mar 04, 2013 at 03:21:05PM +1100, Michael Ellerman wrote: > > Make it explicit that the format attributes may define overlapping bit > > ranges. Unfortunately this was left unspecified originally, and all the > > examples s

linux-next: the mips tree is screwed up again

2013-05-05 Thread Stephen Rothwell
Hi Ralf, It looks like John Crispin has cherry-picked or rebased part of Linus' tree into his branch that you have now merged. Guys, don't rebase your trees - especially this late and especially after they have been merged into a published tree. I will use the mips tree from Friday. -- Cheers,

[GIT] [3.10] MFD pull request

2013-05-05 Thread Samuel Ortiz
Hi Linus, This is the MFD pull request for the 3.10 merge window. There is one merge conflict with your tree, and I fixed it for reference in my mfd-3.10-merge branch. For 3.10 we have a few new MFD drivers for: - The ChromeOS embedded controller which provides keyboard, battery and power mana

Re: Re: MIPS : die at free_initmem() function 3.9+

2013-05-05 Thread EUNBONG SONG
>So on 64bits MIPS platforms, __va(__pa(x)) may not equal to x, that may cause >trouble to free_initmem_default(). Could you please help to do another test >by changing >free_initmem_default(POISON_FREE_INITMEM); >to >free_initmem_default(0); >This test could help to identify whether this panic i

Re: [PATCH 1/2] freezer: add unsafe versions of freezable helpers

2013-05-05 Thread Pavel Machek
Hi! > > NFS calls the freezable helpers with locks held, which is unsafe > > and caused lockdep warnings when 6aa9707 "lockdep: check that no > > locks held at freeze time" was applied (reverted in dbf520a). > > Add new *_unsafe versions of the helpers that will not run the > > lockdep test when 6

[PATCH] MPILIB: disable usage of floating point registers on parisc

2013-05-05 Thread Helge Deller
The umul_ppmm() macro for parisc uses the xmpyu assembler statement which does calculation via a floating point register. But usage of floating point registers inside the Linux kernel are not allowed and gcc will stop compilation due to the -mdisable-fpregs compiler option. Fix this by disabling

[PATCH] kernel/modsign_certificate.S: fix build on parisc architecture

2013-05-05 Thread Helge Deller
Module signing functionality breaks the kernel build on parisc with the following error: kernel/built-in.o: In function `load_module_signing_keys': kernel/modsign_pubkey.c:67: undefined reference to `modsign_certificate_list_end' kernel/modsign_pubkey.c:66: undefined reference to `modsign_certif

Re: [GIT PULL, RFC] Full dynticks, CONFIG_NO_HZ_FULL feature

2013-05-05 Thread Paul E. McKenney
On Sun, May 05, 2013 at 01:33:45PM -0700, Linus Torvalds wrote: > On Sun, May 5, 2013 at 4:03 AM, Ingo Molnar wrote: > > > > Please consider pulling the latest timers-nohz-for-linus git tree from: > > Ok, it seems to work for me, so pulled. > > However, by "work for me" I mean "doesn't actually

Re: [PATCH] virtio: don't expose u16 in userspace api

2013-05-05 Thread David Miller
From: Stephen Hemminger Date: Fri, 3 May 2013 17:49:41 -0700 > Programs using virtio headers outside of kernel will no longer > build because u16 type does not exist in userspace. All user ABI > must use __u16 typedef instead. > > Bug introduce by: > commit 986a4f4d452dec004697f667439d27c3fda9

[PATCH] ext4: implement error handling of ext4_mb_new_preallocation()

2013-05-05 Thread Alexey Khoroshilov
If memory allocation in ext4_mb_new_group_pa() is failed, it returns error code, ext4_mb_new_preallocation() propages it, but ext4_mb_new_blocks() ignores it. An observed result was: - allocation fail means ext4_mb_new_group_pa() does not update ext4_allocation_context; - ext4_mb_new_blocks() set

Bisected 3.9 regression for iwl4965 connection problem to 1672c0e3

2013-05-05 Thread Jake Edge
After building 3.9 for my HP/Compaq 2510p laptop, the wireless (iwl4965) would seemingly no longer connect. Actually, it seems that it *will* eventually, where that is somewhere between 4 and 21+ retries (from KDE network manager). Going back to 3.8 (and earlier) and the problem goes away. (All

Re: [PATCH v4 0/7] enable support for AMBA drivers under x86

2013-05-05 Thread Borislav Petkov
On Sun, May 05, 2013 at 10:24:22PM +0200, Alessandro Rubini wrote: > > Did this got fixed in some tree in the meantime? Because I still see it on > > current Linus + tip/master: > > > > arch/x86/pci/sta2x11-fixup.c:186:2: warning: initialization from > > incompatible pointer type [enabled by defa

Re: [PATCH v4 0/7] enable support for AMBA drivers under x86

2013-05-05 Thread Alessandro Rubini
> Did this got fixed in some tree in the meantime? Because I still see it on > current Linus + tip/master: > > arch/x86/pci/sta2x11-fixup.c:186:2: warning: initialization from incompatible > pointer type [enabled by default] > arch/x86/pci/sta2x11-fixup.c:186:2: warning: (near initialization for

Re: [GIT PULL, RFC] Full dynticks, CONFIG_NO_HZ_FULL feature

2013-05-05 Thread Linus Torvalds
On Sun, May 5, 2013 at 4:03 AM, Ingo Molnar wrote: > > Please consider pulling the latest timers-nohz-for-linus git tree from: Ok, it seems to work for me, so pulled. However, by "work for me" I mean "doesn't actually seem to make any difference for me". Maybe I'm odd, but the most common situat

Re: [PATCH, RFC 11/22] iwlegacy: il_pm_ops is only provided for PM_SLEEP

2013-05-05 Thread Borislav Petkov
On Thu, May 02, 2013 at 05:16:15PM +0200, Arnd Bergmann wrote: > This makes sure the conditionals for the declaration match the > definition, so we provide the alternative > > #else > #define IL_LEGACY_PM_OPS NULL > #endif > > in the correct cases. > > drivers/built-in.o:(.data+0x57974): unde

Re: [tip:timers/urgent] tick: Cleanup NOHZ per cpu data on cpu down

2013-05-05 Thread Prarit Bhargava
On 05/05/2013 02:20 AM, tip-bot for Thomas Gleixner wrote: > Commit-ID: ae7868e241c015aadc8632d9fe633a102a5918f6 > Gitweb: http://git.kernel.org/tip/ae7868e241c015aadc8632d9fe633a102a5918f6 > Author: Thomas Gleixner > AuthorDate: Fri, 3 May 2013 15:02:50 +0200 > Committer: Thomas Gleix

[PATCH 4/7] USB: ftdi_sio: fix chars_in_buffer overhead

2013-05-05 Thread Johan Hovold
Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 6f602912 ("usb: serial: ftdi_sio: Add missing chars_in_buffer function") wi

[PATCH 7/7] USB: serial: clean up chars_in_buffer

2013-05-05 Thread Johan Hovold
No need to grab disconnect mutex in chars_in_buffer now that no sub-driver is or should be querying hardware buffers anymore. (They should use wait_until_sent.) Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff

[PATCH 5/7] USB: io_ti: fix chars_in_buffer overhead

2013-05-05 Thread Johan Hovold
Use the new generic usb-serial wait_until_sent implementation to wait for hardware buffers to drain. This removes the need to check the hardware buffers in chars_in_buffer and thus removes the overhead introduced by commit 263e1f9f ("USB: io_ti: query hardware-buffer status in chars_in_buffer") wi

[PATCH 1/7] USB: serial: add wait_until_sent operation

2013-05-05 Thread Johan Hovold
Add wait_until_sent operation which can be used to wait for hardware buffers to drain. Signed-off-by: Johan Hovold --- drivers/usb/serial/usb-serial.c | 17 + include/linux/usb/serial.h | 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/usb/serial/usb-serial.c b

  1   2   >