Re: [GIT PULL 0/2] perf/core fixes

2012-09-25 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, on top of the previous req, > > - Arnaldo > > The following changes since commit b1ac754b67b5a875d63bee880f60ccb0c6bd8899: > > tools lib traceevent: Handle alloc_arg failure (2012-09-24 12:31:52 -0300) > > are

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 9:51 AM, viresh kumar wrote: > On Wed, Sep 26, 2012 at 12:17 PM, Andy Shevchenko > wrote: > >> This separate driver makes no sense in case it is built properly without >> CLK framework. Let me check this and leave comments at patch 1/6. > > Following is the commit that int

Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)?

2012-09-25 Thread Hyeoncheol Lee
Hi, 2012/9/26 Masami Hiramatsu : > (2012/09/26 11:52), Hyeoncheol Lee wrote: >> Hi, >> >> uprobe_event only supports %REG arguments. I think that memory fetch, >> return value fetch, memory dereference functions in >> kernel/trace/trace_probe.c are good for uprobe_event. So with a little >> modifi

RE: [PATCH] x86/fixup_irq: Clean the offlining CPU from the irq affinity mask

2012-09-25 Thread Liu, Chuansheng
> > + } else if (cpumask_test_cpu(cpu, data->affinity)) > > + cpumask_clear_cpu(cpu, data->affinity); > > > > You meant to use 'affinity' (instead of data->affinity) in the above 2 > statements > right? Note that we do chip->irq_set_affinity(data, affinity, true); furt

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread viresh kumar
On Wed, Sep 26, 2012 at 12:17 PM, Andy Shevchenko wrote: > This separate driver makes no sense in case it is built properly without > CLK framework. Let me check this and leave comments at patch 1/6. Following is the commit that introduced this change :) commit 93abe8e4b13ae9a0428ce940a8a03ac72

Re: [PATCH] staging:vt6656: Fix tabs error in 80211mgr.c

2012-09-25 Thread Dan Carpenter
On Wed, Sep 26, 2012 at 12:05:11PM +0600, Ilya gorskin wrote: > This is a patch to the 80211mgr.c file that fixes up a tabs > error found by the checkpatch.pl tool > > Signed-off-by: Goirskin Ilya > --- > drivers/staging/vt6656/80211mgr.c | 628 > +++--- > 1 file

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread Andy Shevchenko
On Wed, 2012-09-26 at 09:20 +0530, viresh kumar wrote: > On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko > wrote: > > From: Heikki Krogerus > > > > This driver should be usable on all platforms that depend on clk API. > > This is not what you mentioned in subject :( > > > Signed-off-by: Heik

[PATCH] CMA: decrease cc.nr_migratepages after reclaiming pagelist

2012-09-25 Thread Minchan Kim
The reclaim_clean_pages_from_list reclaims clean pages before migration so cc.nr_migratepages should be updated. Currently, there is no problem but it can be wrong if we try to use the vaule in future. Cc: Mel Gorman Cc: Michal Nazarewicz Cc: Bartlomiej Zolnierkiewicz Cc: Marek Szyprowski Sign

Re: [PATCH] x86/fixup_irq: Clean the offlining CPU from the irq affinity mask

2012-09-25 Thread Srivatsa S. Bhat
On 09/26/2012 08:02 PM, Chuansheng Liu wrote: > > When one CPU is going offline, and fixup_irqs() will re-set the > irq affinity in some cases, we should clean the offlining CPU from > the irq affinity. > > The reason is setting offlining CPU as of the affinity is useless. > Moreover, the smp_aff

Re: [PATCH V2] GPIO: gpio-pxa: fix bug when get gpio value

2012-09-25 Thread Haojian Zhuang
On Wed, Sep 26, 2012 at 9:46 AM, Neil Zhang wrote: > We need to return 0 or 1 when get gpio value. > > Signed-off-by: Neil Zhang > --- > drivers/gpio/gpio-pxa.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c > in

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Andy Shevchenko
On Tue, 2012-09-25 at 09:57 -0700, Joe Perches wrote: > On Tue, 2012-09-25 at 16:37 +0300, Andy Shevchenko wrote: > > On Tue, 2012-09-25 at 06:19 -0700, Joe Perches wrote: > > > You also added yourself as a maintainer. > > > Congrats/sympathies, etc... > > Actually I prefer to be just a supporter

Re: [PATCH 3/3] DMA: PL330: Balance module remove function with probe

2012-09-25 Thread Inderpal Singh
On 25 September 2012 18:47, Jassi Brar wrote: > On Tue, Sep 25, 2012 at 2:27 PM, Inderpal Singh > wrote: >> Since peripheral channel resources are not being allocated at probe, >> no need to flush the channels and free the resources in remove function. >> >> Signed-off-by: Inderpal Singh >> ---

Re: [PATCH v4 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-25 Thread Shubhrajyoti
On Wednesday 26 September 2012 10:50 AM, Patil, Rachna wrote: > This patch adds support for suspend/resume of > TSC/ADC MFDevice. this should be merged with the patch adding support else we may end up in a case where patch a does the runtime calls and the call back handlers added later. > > Signed

[PATCH v2] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Paul Gortmaker Cc: Jean Delvare --- Changes for v2: 1: Fixed review comments pointed by Laurent. drivers/media/i2c/mt9p031.c | 19 +-- drivers/me

[PATCH] x86_64: Work around old gas bug

2012-09-25 Thread Tao Guo
gas in binutils(2.16.91) could not parse parentheses within macro parameters, and this is a workaround to make old gas work without generating below errors: arch/x86/kernel/entry_64.S: Assembler messages: arch/x86/kernel/entry_64.S:387: Error: too many positional arguments arch/x86/kernel/entry_64.

[PATCH] CMA: migrate mlocked page

2012-09-25 Thread Minchan Kim
Now CMA can't migrate mlocked page so it ends up fail to allocate contiguous memory space. It's not good for CMA. This patch makes mlocked page be migrated out. Of course, it can affect realtime processes but in CMA usecase, contiguos memory allocation failing is far worse than access latency to an

Re: [PATCH] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-09-25 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Tue, Sep 25, 2012 at 9:30 PM, Laurent Pinchart wrote: > Hi Prabhakar, > > Thank you for the patch. > > On Tuesday 25 September 2012 18:29:25 Prabhakar wrote: >> From: Lad, Prabhakar >> >> Signed-off-by: Lad, Prabhakar >> Signed-off-by: Manjunath Hadli >>

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread Naoya Horiguchi
On Wed, Sep 26, 2012 at 12:02:34AM -0400, Naoya Horiguchi wrote: ... > > > + * page is a thp, not a non-huge compound page. > > > + */ > > > + else if (PageTransCompound(page) && !PageSlab(page)) > > > u |= 1 << KPF_THP; > > > > Good catch! > > > > Will this report THP for the various

[PATCH] staging:vt6656: Fix tabs error in 80211mgr.c

2012-09-25 Thread Ilya gorskin
This is a patch to the 80211mgr.c file that fixes up a tabs error found by the checkpatch.pl tool Signed-off-by: Goirskin Ilya --- drivers/staging/vt6656/80211mgr.c | 628 +++--- 1 file changed, 310 insertions(+), 318 deletions(-) diff --git a/drivers/staging/vt6

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

2012-09-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/key/af_key.c: In function 'pfkey_add': net/key/af_key.c:1476:9: error: implicit declaration of function 'audit_get_sessionid' [-Werror=implicit-function-declaration] net/core/dev.c: I

Re: [PATCH 1/1] pinctrl: Samsung: Fix return value

2012-09-25 Thread Sachin Kamat
Hi Thomas, Please provide your review comments. On 14 September 2012 19:37, Linus Walleij wrote: > On Fri, Sep 14, 2012 at 2:02 PM, Sachin Kamat wrote: > >> Return the value obtained from of_property_count_strings() >> instead of -EINVAL. >> >> Silences the following smatch warning: >> drivers/

Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)?

2012-09-25 Thread Srikar Dronamraju
> > Perhaps, it is not so small things, but at least, we can try. > In the userspace, memories(pages) can be paged out on swap or > files. In that case, memory dereference function needs to track > down the data on the disk and it causes I/O. This means we will > see the visible performance degrad

Re: [PATCH] perf record: add meta-data support for pipe-mode

2012-09-25 Thread David Ahern
I like the idea, but can't checkout the patch - does not apply to Arnaldo's latest perf/core branch. mind rebasing? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.or

Re: [PATCH 1/2] Fix a crash when block device is read and block size is changed at the same time

2012-09-25 Thread Jens Axboe
On 2012-09-26 00:49, Mikulas Patocka wrote: > Here I'm resending it as two patches. The first one uses existing > semaphore, the second converts it to RCU-based percpu semaphore. Thanks, applied. In the future, please send new patch 'series' as a new thread instead of replying to some email in th

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-25 Thread Thanasis
on 09/25/2012 11:53 PM Francois Romieu wrote the following: > Thanasis : > [...] >> Ping failed in the following step: >> >> HEAD is now at 3c6ad46 r8169: move rtl_set_rx_mode before its >> rtl_hw_start callers. > > *spleen* > > It's a genuine code move without any real change. Imho it's more a

Re: [PATCH 4/4] usb: phy: omap-usb2: enable 960Mhz clock for omap5

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 19, 2012 at 5:26 PM, Felipe Balbi wrote: > On Wed, Sep 19, 2012 at 05:00:29PM +0530, Kishon Vijay Abraham I wrote: >> "usb_otg_ss_refclk960m" is needed by usb2 phy present in omap5. For >> omap4, the clk_get of this clock will fail since it does not have this >> clock. >> >> Signe

[PATCH v4 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-25 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna --- Changes in v2: Addressed review comments from Matthias Kaehlck

[PATCH v4 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-25 Thread Patil, Rachna
This patch adds support for suspend/resume of TSC/ADC MFDevice. Signed-off-by: Patil, Rachna --- Changes in v2: Added this patch newly in this patch series. Changes in v3: No changes. Changes in v4: Replaced suspend/resume callbacks with dev_pm_ops. drivers/iio/adc/ti_

[PATCH v4 3/5] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-09-25 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna --- Changes in v2: No changes Changes in v3: No changes Changes in v4: No changes drivers/input/to

[PATCH v4 2/5] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-09-25 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna --- Changes in v2: Merged "[PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels", patch submitted in p

[PATCH v4 1/5] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-09-25 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna --- Changes in v2: Missed changing the name of touchscreen header file in

[PATCH v4 0/5] Support for TSC/ADC MFD driver

2012-09-25 Thread Patil, Rachna
This patch set adds a MFD core driver which registers touchscreen and ADC as its client drivers. The existing touchscreen has been modified to work as a MFD client driver and a new ADC driver has been added in the IIO subsystem. There are 8 analog input lines, which can be used as: 1. 8 general pu

[PATCH] x86/fixup_irq: Clean the offlining CPU from the irq affinity mask

2012-09-25 Thread Chuansheng Liu
When one CPU is going offline, and fixup_irqs() will re-set the irq affinity in some cases, we should clean the offlining CPU from the irq affinity. The reason is setting offlining CPU as of the affinity is useless. Moreover, the smp_affinity value will be confusing when the offlining CPU come ba

Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)?

2012-09-25 Thread Masami Hiramatsu
(2012/09/26 11:52), Hyeoncheol Lee wrote: > Hi, > > uprobe_event only supports %REG arguments. I think that memory fetch, > return value fetch, memory dereference functions in > kernel/trace/trace_probe.c are good for uprobe_event. So with a little > modification of parse_probe_arg(), uprobe_event

Re: [QUESTION] Can uprobe_event support @ADDR, $retval, offs(FETCHARG)?

2012-09-25 Thread Srikar Dronamraju
Hi Hyeoncheol, > uprobe_event only supports %REG arguments. I think that memory fetch, > return value fetch, memory dereference functions in > kernel/trace/trace_probe.c are good for uprobe_event. Yes, these will be good to have and is listed as todo. > So with a little > modification of parse_p

Re: [PATCH v5 0/25] Generic Red-Black Trees (still WIP)

2012-09-25 Thread Daniel Santos
Hmm, looks like I've had some type of mailer problem as this message didn't appear on LKML :( I hope this one goes through, but sorry my patches aren't properly grouped. On 09/25/2012 06:24 PM, Daniel Santos wrote: > First I want to apologize for not being able to work on this over most of the >

linux-next: manual merge of the arm-soc tree with the fbdev tree

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/video/msm/mdp_hw.h between commit 8abf0b31e161 ("video: msm: Remove useless mach/* includes") from the fbdev tree and commit 1ef21f6343ff ("ARM: msm: move platform_data definitions") from the arm-soc tree. I fixed it u

Re: [PATCH 00/10] workqueue: restructure flush_workqueue() and start all flusher at the same time

2012-09-25 Thread Lai Jiangshan
On 09/26/2012 04:24 AM, Tejun Heo wrote: > Hello, Lai. > > On Tue, Sep 25, 2012 at 05:02:43PM +0800, Lai Jiangshan wrote: >> It is not possible to remove cascading. If cascading code is >> not in flush_workqueue(), it must be in some where else. > > Yeah, sure, I liked that it didn't have to be d

[RFC GIT PULL rcu/next] v2 RCU commits for 3.7

2012-09-25 Thread Paul E. McKenney
Hello, Ingo, This is now an RFC pull for only one of the previous two reasons. The commits have how been through -next without the adaptive-idle patches, but although good progress has been made on the adaptive-idle patches, they are still not quite there yet. Again, the current adaptive-idle ser

Re: XHCI Bug discovered in 3.6-RC6 (solution included)

2012-09-25 Thread Vivek Gautam
Apologies for that. I should have been rather a bit patient. Best regards Vivek On Tue, Sep 25, 2012 at 7:10 PM, Greg KH wrote: > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > On Tue, Sep 25, 2012 at 03:12:33PM +0530, Vivek Gautam wrot

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

2012-09-25 Thread Philip, Avinash
On Tue, Sep 25, 2012 at 11:49:14, Stephen Warren wrote: > On 09/24/2012 10:29 PM, Philip, Avinash wrote: > > On Fri, Sep 21, 2012 at 23:13:39, Stephen Warren wrote: > >> On 09/21/2012 12:03 AM, Philip, Avinash wrote: > >>> Hi Stephen, > >>> > >>> On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wro

Re: INFO: rcu_preempt detected stalls on CPUs/tasks: { 1} (detected by 0, t=10002 jiffies)

2012-09-25 Thread Paul E. McKenney
On Wed, Sep 26, 2012 at 12:22:37PM +0800, Fengguang Wu wrote: > On Tue, Sep 25, 2012 at 08:07:01AM -0700, Paul E. McKenney wrote: > > On Tue, Sep 25, 2012 at 07:19:38PM +0800, Fengguang Wu wrote: > > > Hi Paul, > > > > > > I've just bisected down one RCU stall problem: > > > > > > [ 12.035785]

Re: [PATCH 2/3] workqueue: create __flush_delayed_work to avoid duplicating code

2012-09-25 Thread Viresh Kumar
On 25 September 2012 23:17, Tejun Heo wrote: > On Tue, Sep 25, 2012 at 04:06:07PM +0530, Viresh Kumar wrote: >> flush_delayed_work() and flush_delayed_work_sync() had major portion of code >> similar. This patch introduces another routine __flush_delayed_work() which >> contains the common part to

Re: [RFC v2 05/10] vfs: introduce one hash table

2012-09-25 Thread Zhi Yong Wu
On Tue, Sep 25, 2012 at 5:54 PM, Ram Pai wrote: > On Sun, Sep 23, 2012 at 08:56:30PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Adds a hash table structure which contains >> a lot of hash list and is used to efficiently >> look up the data temperature of a file or its >> rang

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread Naoya Horiguchi
On Wed, Sep 26, 2012 at 10:47:54AM +0800, Fengguang Wu wrote: > On Tue, Sep 25, 2012 at 10:06:08PM -0400, Naoya Horiguchi wrote: > > On Tue, Sep 25, 2012 at 05:20:48PM -0700, David Rientjes wrote: > > > On Tue, 25 Sep 2012, Naoya Horiguchi wrote: > > > > > > > KPF_THP can be set on non-huge compou

Re: [PATCHv1 3/6] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko wrote: > diff --git a/drivers/dma/dw_dmac_at32.c b/drivers/dma/dw_dmac_at32.c > index 7bc7ac4..5c9180e 100644 > --- a/drivers/dma/dw_dmac_at32.c > +++ b/drivers/dma/dw_dmac_at32.c > @@ -12,6 +12,7 @@ > * it under the terms of the GNU General Publi

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko wrote: > diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig > index df32537..e47cc90 100644 > --- a/drivers/dma/Kconfig > +++ b/drivers/dma/Kconfig > @@ -89,6 +89,15 @@ config DW_DMAC > Support the Synopsys DesignWare AHB DMA controlle

[patch -mm] mm, numa: reclaim from all nodes within reclaim distance fix fix

2012-09-25 Thread David Rientjes
It's cleaner if the iteration is explicitly done only for NUMA kernels. No functional change. Intended to be folded into mm-numa-reclaim-from-all-nodes-within-reclaim-distance.patch already in -mm. Signed-off-by: David Rientjes --- mm/page_alloc.c | 24 1 files ch

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko wrote: > From: Heikki Krogerus > > This driver should be usable on all platforms that depend on clk API. This is not what you mentioned in subject :( > Signed-off-by: Heikki Krogerus > Signed-off-by: Andy Shevchenko > --- > drivers/dma/Kconfig

Re: [GIT PULL] Asymmetric keys and module signing

2012-09-25 Thread Rusty Russell
David Howells writes: > The module signing patches provide: > > - Some fixes to Rusty's patch. Also an additional patch to extend the policy >handling for modules signed with an unknown key and to handle FIPS mode. Ok, I merged some of this (after our previous accidentally-off-list discussi

Re: [PATCH] x86: remove the useless branch in c_start()

2012-09-25 Thread Michael Wang
On 09/19/2012 01:42 PM, Michael Wang wrote: > Since 'cpu == -1' in cpumask_next() is legal, no need to handle '*pos == 0' > specially. > > About the comments: > /* just in case, cpu 0 is not the first */ > A test with a cpumask in which cpu 0 is not the first has been done, and it > works we

Re: [PATCH] sched: rewrite the wrong annotation for select_task_rq_fair()

2012-09-25 Thread Michael Wang
On 09/18/2012 04:16 PM, Michael Wang wrote: > The annotation for select_task_rq_fair() is wrong since commit c88d5910, it's > actually for a removed function. > > This patch rewrite the wrong annotation to make it correct. Could I get some comments on this patch? Regards, Michael Wang > > Sign

Re: [PATCHv1 1/6] dmaengine: dw_dmac: Remove clk API dependency

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko wrote: > From: Heikki Krogerus > > Not all platforms support clk API. > > Signed-off-by: Heikki Krogerus > Signed-off-by: Andy Shevchenko > --- > drivers/dma/Kconfig|1 - > drivers/dma/dw_dmac.c | 18 +++--- > driv

Re: [PATCH] sched: fix should_resched() to avoid do schedule in atomic

2012-09-25 Thread Michael Wang
On 09/18/2012 11:13 AM, Michael Wang wrote: > This patch try to fix the BUG: > > [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 > [0.044017] no locks held by swapper/0/1. > [0.044692] Pid: 1, comm: swapper/0 Not tainted 3.6.0-rc1-00420-gb7aebb9 > #34 > [0.045861]

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 7:07 PM, Andy Shevchenko wrote: > On Tue, 2012-09-25 at 06:19 -0700, Joe Perches wrote: >> On Tue, 2012-09-25 at 15:13 +0300, Andy Shevchenko wrote: >> > Signed-off-by: Andy Shevchenko >> >> You also added yourself as a maintainer. >> Congrats/sympathies, etc... > Actually

Re: [PATCHv1 5/6] MAINTAINERS: fix indentation for Viresh Kumar

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko > Cc: Viresh Kumar > --- > MAINTAINERS | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Acked-by: Viresh Kumar Though i am not sure if this patch should be part of the set. --

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-09-25 Thread viresh kumar
On Tue, Sep 25, 2012 at 5:09 PM, Andy Shevchenko wrote: > Not all of the controllers support the 64 bit data width. Make it configurable > via platform data. The driver will try to get a value from the component > parameters, otherwise it will use the platform data. > > Signed-off-by: Andy Shevche

Re: [RFC v2 01/10] vfs: introduce private rb structures

2012-09-25 Thread Zhi Yong Wu
On Tue, Sep 25, 2012 at 6:20 PM, Ram Pai wrote: > On Sun, Sep 23, 2012 at 08:56:26PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> One root structure hot_info is defined, is hooked >> up in super_block, and will be used to hold rb trees >> root, hash list root and some other inf

Re: 3.6-rc7 boot crash + bisection

2012-09-25 Thread Alex Williamson
On Wed, 2012-09-26 at 01:01 +0200, Florian Dazinger wrote: > Am Tue, 25 Sep 2012 13:43:46 -0600 > schrieb Alex Williamson : > > > On Tue, 2012-09-25 at 20:54 +0200, Florian Dazinger wrote: > > > Am Tue, 25 Sep 2012 12:32:50 -0600 > > > schrieb Alex Williamson : > > > > > > > On Mon, 2012-09-24 at

Re: [PATCH v2 2/2] btrfs-progs: Fix up memory leakage

2012-09-25 Thread Zhi Yong Wu
On Wed, Sep 26, 2012 at 1:14 AM, Goffredo Baroncelli wrote: > On 09/25/2012 12:14 PM, David Sterba wrote: >> >> On Tue, Sep 25, 2012 at 10:02:16AM +0800, zwu.ker...@gmail.com wrote: >>> >>> From: Zhi Yong Wu >>> >>>Some code pathes forget to free memory on exit. >> >> >> Same as with the fd's,

Re: [RFC v2 03/10] vfs: add one new mount option '-o hottrack'

2012-09-25 Thread Zhi Yong Wu
On Tue, Sep 25, 2012 at 5:28 PM, Dave Chinner wrote: > On Sun, Sep 23, 2012 at 08:56:28PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Introduce one new mount option '-o hottrack', >> and add its parsing support. >> Its usage looks like: >>mount -o hottrack >>mount -o

Re: [RFC v2 02/10] vfs: add support for updating access frequency

2012-09-25 Thread Zhi Yong Wu
thanks a lot for your review in my heart, Dave. It is very helpful to me. On Tue, Sep 25, 2012 at 5:17 PM, Dave Chinner wrote: > On Sun, Sep 23, 2012 at 08:56:27PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add some utils helpers to update access frequencies >> for one file

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread Fengguang Wu
On Tue, Sep 25, 2012 at 10:06:08PM -0400, Naoya Horiguchi wrote: > On Tue, Sep 25, 2012 at 05:20:48PM -0700, David Rientjes wrote: > > On Tue, 25 Sep 2012, Naoya Horiguchi wrote: > > > > > KPF_THP can be set on non-huge compound pages like slab pages, because > > > PageTransCompound only sees PG_h

Re: [PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-09-25 Thread Masami Hiramatsu
(2012/09/25 22:47), sjur.brandel...@stericsson.com wrote: > From: Sjur Brændeland > > This merge reduces code size by unifying the approach for > sending scatter-lists and regular buffers. Any type of > write operation (splice, write, put_chars) will now allocate > a port_buffer and send_buf() an

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Mike Galbraith
On Tue, 2012-09-25 at 19:22 -0700, Linus Torvalds wrote: > On Tue, Sep 25, 2012 at 7:00 PM, Mike Galbraith wrote: > > > > Yes. On AMD, the best thing you can do for fast switchers AFAIKT is > > turn it off. Different story on Intel. > > I doubt it's all that different on Intel. The behavioral

linux-next: manual merge of the wireless-next tree with the pci tree

2012-09-25 Thread Sujith Manoharan
Stephen Rothwell wrote: > Hi John, > > Today's linux-next merge of the wireless-next tree got a conflict in > drivers/net/wireless/ath/ath9k/pci.c between commit 08bd108096b6 ("ath9k: > Use PCI Express Capability accessors") from the pci tree and commit > 046b6802c8d3 ("ath9k: Disable ASPM only fo

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread David Rientjes
On Tue, 25 Sep 2012, Naoya Horiguchi wrote: > KPF_THP can be set on non-huge compound pages like slab pages, because > PageTransCompound only sees PG_head and PG_tail. Obviously this is a bug > and breaks user space applications which look for thp via /proc/kpageflags. > This patch rules out setti

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Mike Galbraith
On Tue, 2012-09-25 at 20:42 +0200, Borislav Petkov wrote: > Right, so why did we need it all, in the first place? There has to be > some reason for it. Easy. Take two communicating tasks. Is an affine wakeup a good idea? It depends on how much execution overlap there is. Wake affine when there

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Linus Torvalds
On Tue, Sep 25, 2012 at 7:00 PM, Mike Galbraith wrote: > > Yes. On AMD, the best thing you can do for fast switchers AFAIKT is > turn it off. Different story on Intel. I doubt it's all that different on Intel. Your patch showed improvement for Intel too on this same benchmark (tbench). Borisla

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

2012-09-25 Thread Alex Shi
On 09/26/2012 10:11 AM, Tomoki Sekiyama wrote: > Hi Alex, > > On 2012/09/25 11:57, Alex Shi wrote: >> On 09/24/2012 09:37 AM, Alex Shi wrote: >> >>> On 09/20/2012 04:50 PM, Tomoki Sekiyama wrote: >>> unsigned int irq_resched_count; unsigned int irq_call_count; + /* irq_tlb_c

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

2012-09-25 Thread Tomoki Sekiyama
Hi Alex, On 2012/09/25 11:57, Alex Shi wrote: > On 09/24/2012 09:37 AM, Alex Shi wrote: > >> On 09/20/2012 04:50 PM, Tomoki Sekiyama wrote: >> >>> unsigned int irq_resched_count; >>> unsigned int irq_call_count; >>> + /* irq_tlb_count is double-counted in irq_call_count, so it must be >>

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread Naoya Horiguchi
On Tue, Sep 25, 2012 at 05:20:48PM -0700, David Rientjes wrote: > On Tue, 25 Sep 2012, Naoya Horiguchi wrote: > > > KPF_THP can be set on non-huge compound pages like slab pages, because > > PageTransCompound only sees PG_head and PG_tail. Obviously this is a bug > > and breaks user space applicat

Re: [PATCH] ALSA: hda - Add inverted internal mic quirk for Lenovo IdeaPad U310

2012-09-25 Thread Greg KH
On Wed, Sep 26, 2012 at 01:20:44AM +0200, Felix Kaechele wrote: > The Lenovo IdeaPad U310 has an internal mic where the right channel > is phase inverted. > > Signed-off-by: Felix Kaechele > --- > sound/pci/hda/patch_conexant.c | 1 + > 1 file changed, 1 insertion(+) This is not the correct w

linux-next: manual merge of the wireless-next tree with the pci tree

2012-09-25 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in drivers/net/wireless/ath/ath9k/pci.c between commit 08bd108096b6 ("ath9k: Use PCI Express Capability accessors") from the pci tree and commit 046b6802c8d3 ("ath9k: Disable ASPM only for AR9285") from the wireless-next tr

Re: 20% performance drop on PostgreSQL 9.2 from kernel 3.5.3 to 3.6-rc5 on AMD chipsets - bisected

2012-09-25 Thread Mike Galbraith
On Tue, 2012-09-25 at 10:21 -0700, Linus Torvalds wrote: > On Tue, Sep 25, 2012 at 10:00 AM, Borislav Petkov wrote: > > > > 3.6-rc6+tip/auto-latest-kill select_idle_sibling() > > Is this literally just removing it entirely? Because apart from the > latency spike at 4 procs (and the latency numbe

[PATCH V2] GPIO: gpio-pxa: fix bug when get gpio value

2012-09-25 Thread Neil Zhang
We need to return 0 or 1 when get gpio value. Signed-off-by: Neil Zhang --- drivers/gpio/gpio-pxa.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index 9cac88a..3c9dc8c 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/driv

linux-next: manual merge of the net-next tree with Linus' tree

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/batman-adv/bat_iv_ogm.c between commit 7caf69fb9c50 ("batman-adv: Fix symmetry check / route flapping in multi interface setups") from Linus' tree and commit bbb1f90efba8 ("batman-adv: Don't break statements after assignme

Re: [PATCH v5 0/25] Generic Red-Black Trees (still WIP)

2012-09-25 Thread Steven Rostedt
On Tue, 2012-09-25 at 20:02 -0500, Daniel Santos wrote: > >> Q&A > >> === > >> Q: Why did you add BUILD_BUG_ON_NON_CONST() and > >>BUILD_BUG_ON_NON_CONST42()? > > A: Because BUILD_BUG_ON_NON_CONST42() will crash if it does not result > > in the answer to life, the universe and everything! > >

Re: [PATCH] block: export trace_block_unplug

2012-09-25 Thread NeilBrown
On Tue, 25 Sep 2012 14:50:34 +0200 Jens Axboe wrote: > On 09/25/2012 01:57 AM, NeilBrown wrote: > > > > Hi Jens, > > is there any chance this can be in the next merge window? I'm > > adding block tracing to md and found I need another export. > > No problem, applied. > Thanks. NeilBrown s

Re: [PATCH 0/3 v3] perf: precise mode and exclude_guest

2012-09-25 Thread David Ahern
On 9/13/12 2:59 PM, David Ahern wrote: Hopefully this wraps up the precise mode-exclude_guest dependency. I'm sure someone will let me know if I screwed up the attribution in the second patch. David Ahern (2): perf tool: precise mode requires exclude_guest perf tool: give user better messa

[PATCH -next] device.h: Add missing inline to #ifndef CONFIG_PRINTK dev_vprintk_emit

2012-09-25 Thread Joe Perches
Also add __printf() verification for format string. Reported-by: Geert Uytterhoeven Signed-off-by: Joe Perches --- include/linux/device.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/linux/device.h b/include/linux/device.h index 8873603..86ef6ab 100

Re: [PATCH 05/10] mm, util: Use dup_user to duplicate user memory

2012-09-25 Thread Ezequiel Garcia
Hi Andrew, On Tue, Sep 25, 2012 at 6:29 PM, Andrew Morton wrote: > On Sat, 8 Sep 2012 17:47:54 -0300 > Ezequiel Garcia wrote: > >> Previously the strndup_user allocation was being done through memdup_user, >> and the caller was wrongly traced as being strndup_user >> (the correct trace must rep

[PATCH] x86: use the correct macros

2012-09-25 Thread Yasuaki Ishimatsu
This patch fixes to use the correct macros. CC: Len Brown CC: Thomas Gleixner CC: Ingo Molnar CC: H. Peter Anvin Signed-off-by: Yasuaki Ishimatsu --- arch/x86/kernel/acpi/boot.c |2 +- drivers/acpi/numa.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) Index: linu

[PATCH v2] dma-debug: New interfaces to debug dma mapping errors

2012-09-25 Thread Shuah Khan
A recent dma mapping error analysis effort showed that a large percentage of dma_map_single() and dma_map_page() returns are not checked for mapping errors. Reference: http://linuxdriverproject.org/mediawiki/index.php/DMA_Mapping_Error_Analysis Adding support for tracking dma mapping and unmappin

Re: [PATCH v5 0/25] Generic Red-Black Trees (still WIP)

2012-09-25 Thread Daniel Santos
>> Q&A >> === >> Q: Why did you add BUILD_BUG_ON_NON_CONST() and >>BUILD_BUG_ON_NON_CONST42()? > A: Because BUILD_BUG_ON_NON_CONST42() will crash if it does not result > in the answer to life, the universe and everything! By the way, I have a theory before time, God was writing code on some c

[PATCH] x86: rename mp_register_lapic in a comment

2012-09-25 Thread Yasuaki Ishimatsu
Commit 31d2092eb0c23636b73d2c24c0c11b66470cef58 (x86: move mp_register_lapic_address to boot.c) renamed mp_register_lapic to acpi_register_lapic. But mp_register_lapic remains in a comment. So the patch rename it. CC: Len Brown CC: Thomas Gleixner CC: Ingo Molnar CC: H. Peter Anvin Signed-off-

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

2012-09-25 Thread Dave Chinner
On Tue, Sep 25, 2012 at 04:59:55PM +0800, Guo Chao wrote: > On Mon, Sep 24, 2012 at 06:26:54PM +1000, Dave Chinner wrote: > > @@ -783,14 +783,19 @@ static void __wait_on_freeing_inode(struct inode > > *inode); > > static struct inode *find_inode(struct super_block *sb, > >

Re: [PATCH] slab: Ignore internal flags in cache creation

2012-09-25 Thread David Rientjes
On Tue, 25 Sep 2012, Christoph Lameter wrote: > > No cache should ever pass those as a creation flags. We can just ignore > > this bit if it happens to be passed (such as when duplicating a cache in > > the kmem memcg patches) > > Acked-by: Christoph Lameter > Nack, this is already handled by

Re: [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated

2012-09-25 Thread Minchan Kim
On Tue, Sep 25, 2012 at 10:12:07AM +0100, Mel Gorman wrote: > On Mon, Sep 24, 2012 at 02:26:44PM -0700, Andrew Morton wrote: > > On Mon, 24 Sep 2012 10:39:38 +0100 > > Mel Gorman wrote: > > > > > On Fri, Sep 21, 2012 at 02:36:56PM -0700, Andrew Morton wrote: > > > > > > > Also, what has to be do

[PATCH] Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.

2012-09-25 Thread Jonghwa Lee
This patch fixes small bug on cpu_cooling. CPU cooling device has own id generated with idr mathod. However in the previous version, it swapped to all same id at last stage of probing as 0. This makes id's collision and also occures error when it releases that id. Signed-off-by: Jonghwa Lee ---

[PATCH] gpio: add TS-5500 DIO headers support

2012-09-25 Thread Vivien Didelot
The Technologic Systems TS-5500 platform provides 3 digital I/O headers: DIO1, DIO2, and the LCD port, that may be used as a DIO header. Signed-off-by: Vivien Didelot Signed-off-by: Jerome Oufella --- drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile |

Re: [PATCH v3 05/26] md: Convert md_trim_bio() to use bio_advance()

2012-09-25 Thread NeilBrown
On Mon, 24 Sep 2012 15:34:45 -0700 Kent Overstreet wrote: > Signed-off-by: Kent Overstreet > CC: Jens Axboe > CC: NeilBrown > --- > drivers/md/md.c | 19 +-- > 1 file changed, 5 insertions(+), 14 deletions(-) > > diff --git a/drivers/md/md.c b/drivers/md/md.c > index 7a2b079.

Re: hot-added cpu is not asiggned to the correct node

2012-09-25 Thread Yasuaki Ishimatsu
Hi Dan, At first, thank you for your comment. 2012/09/24 18:33, Dan Carpenter wrote: On Wed, Sep 12, 2012 at 02:33:11PM +0900, Yasuaki Ishimatsu wrote: When I hot-added CPUs and memories simultaneously using container driver, all the hot-added CPUs were mistakenly assigned to node0. Is this

Re: [PATCH v4 3/3] tracing: format non-nanosec times from tsc clock without a decimal point.

2012-09-25 Thread David Sharp
On Tue, Sep 25, 2012 at 4:36 PM, Steven Rostedt wrote: > On Tue, 2012-09-25 at 15:29 -0700, David Sharp wrote: > > >> >> + ret = trace_seq_printf( >> >> + s, "[%08llx] %ld.%03ldms (+%ld.%03ldms): ", >> >> + ns2usecs(iter->ts), >>

Re: [PATCH] pagemap: fix wrong KPF_THP on slab pages

2012-09-25 Thread David Rientjes
On Tue, 25 Sep 2012, Naoya Horiguchi wrote: > KPF_THP can be set on non-huge compound pages like slab pages, because > PageTransCompound only sees PG_head and PG_tail. Obviously this is a bug > and breaks user space applications which look for thp via /proc/kpageflags. > Currently thp is construct

Re: [PATCH 5/9] mm: compaction: Acquire the zone->lru_lock as late as possible

2012-09-25 Thread Minchan Kim
On Tue, Sep 25, 2012 at 02:39:31PM -0700, Andrew Morton wrote: > On Tue, 25 Sep 2012 17:13:27 +0900 > Minchan Kim wrote: > > > I see. To me, your saying is better than current comment. > > I hope comment could be more explicit. > > > > diff --git a/mm/compaction.c b/mm/compaction.c > > index df0

mmotm 2012-09-25-17-06 uploaded

2012-09-25 Thread akpm
The mm-of-the-moment snapshot 2012-09-25-17-06 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [RFC PATCH 2/17] input: RMI4 core bus and sensor drivers.

2012-09-25 Thread Christopher Heiny
Sorry about the delay in following up on this one - we're going over the feedback, and realized we'd missed this comment. On 08/23/2012 01:55 AM, Linus Walleij wrote: +/* Create templates for given types */ >+#define simple_show_union_struct_unsigned(regtype, propname)\ >+simple_show_union_str

Re: ktest.pl always returns 0?

2012-09-25 Thread Steven Rostedt
On Tue, 2012-09-25 at 16:33 -0400, Steven Rostedt wrote: > On Tue, 2012-09-25 at 12:40 -0700, Greg KH wrote: > > > Hey, it's not my fault your employer has a crummy email system that > > can't handle remote access well, I just went off of the Author: line in > > your ktest.pl kernel commits :) >

[PATCH v5 20/25] selftest: Add generic tree self-test common code.

2012-09-25 Thread Daniel Santos
Self-test code for both performance and correctness testing. The files tools/testing/selftests/grbtree/common.{h,c} contain code for use in both the user- and kernel-space test program/module and depends upon a few functions being made available by said. The purpose of these tests is to verify cor

  1   2   3   4   5   6   7   >