Re: 3.7-rc6 soft lockup in kswapd0

2012-11-23 Thread George Spelvin
> tl;dr: Have installed Dave Hansen's patch as requested, rebooted. >Now it's a matter of waiting for lockup... Well, the machine locked up again; it looks like Dave Hansen's patch isn't the whie story. Too bad I'm away from the office and can't get at the console right now. I'll get

Re: [PATCH 3/5] Input: bu21013_ts - Add support for Device Tree booting

2012-11-23 Thread Dmitry Torokhov
On Fri, Nov 23, 2012 at 03:52:58PM +, Lee Jones wrote: > On Wed, 14 Nov 2012, Lee Jones wrote: > > > Now we can register the BU21013_ts touch screen when booting with > > Device Tree enabled. Here we parse all the necessary components > > previously expected to be passed from platform data. >

Re: [PATCH 2/5] Input: bu21013_ts - Move GPIO init and exit functions into the driver

2012-11-23 Thread Dmitry Torokhov
Hi Lee, On Thu, Nov 22, 2012 at 12:10:30PM +, Lee Jones wrote: > > /** > + * bu21013_gpio_board_init() - configures the touch panel > + * @reset_pin: reset pin number > + * > + * This function is used to configure the voltage and > + * reset the touch panel controller. > + */ > +static int

Re: [PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Alessandro Rubini
My patch: >> This driver would not compile if ARM_AMBA is selected under x86, >> because "CS" and "DS" are already defined there. But AMBA >> is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. >> >> The patch just adds the "PL330_" prefix to all register and bit fields, >> so it

Re: [PATCH 3/4] ARM: Dove: Convert to DT GPIO and pinctrl

2012-11-23 Thread Thomas Petazzoni
Dear Jason Cooper, On Fri, 23 Nov 2012 21:39:42 -0500, Jason Cooper wrote: > > + pinctrl: pinctrl@d0200 { > > + compatible = "marvell,dove-pinctrl"; > > + reg = <0xd0200 0x10>; > > + clocks = <_clk 22>; > > The above line broke the

Re: [PATCH v3 01/12] x86, boot: move verify_cpu.S after 0x200

2012-11-23 Thread Yinghai Lu
On Thu, Nov 22, 2012 at 3:27 AM, Eric W. Biederman wrote: > "H. Peter Anvin" writes: > >> Quite certain something depends on it. > > It would not surprise me at all that there is a dependency, if we have > not had a better way to report the 64bit entry point. I just wanted to > make the context

RE: [PATCH 17/24] MAINTAINERS: fix Documentation/mei/

2012-11-23 Thread Winkler, Tomas
> Subject: [PATCH 17/24] MAINTAINERS: fix Documentation/mei/ > > The documentation was moved to Documentation/misc-devices/mei/ > instead. > > Cc: Tomas Winkler > Signed-off-by: Cesar Eduardo Barros ACK -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH V2 resend] net: dsa/slave: Fix compilation warnings

2012-11-23 Thread Viresh Kumar
Currently when none of CONFIG_NET_DSA_TAG_DSA, CONFIG_NET_DSA_TAG_EDSA and CONFIG_NET_DSA_TAG_TRAILER is defined, we get following compilation warnings: net/dsa/slave.c:51:12: warning: 'dsa_slave_init' defined but not used [-Wunused-function] net/dsa/slave.c:60:12: warning: 'dsa_slave_open'

Re: [PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Jassi Brar
On 24 November 2012 06:23, Davide Ciminaghi wrote: > From: Alessandro Rubini > > This driver would not compile if ARM_AMBA is selected under x86, > because "CS" and "DS" are already defined there. But AMBA > is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. > > The patch just

Re: [tip:x86/smap] x86-32: Start out eflags and cr4 clean

2012-11-23 Thread H. Peter Anvin
On 11/23/2012 07:49 PM, Yuhong Bao wrote: + * Specifically, cr4 exists if and only if CPUID exists, + * which in turn exists if and only if EFLAGS.ID exists. This may be true for *Intel* 486 CPUs as VME was implemented at the same time as CPUID, but I am not sure that it is true for AMD 486

[PATCH 3/3] balancenuma: fix page locking in migrating thp

2012-11-23 Thread Hillf Danton
If fail to migrate thp(due to unsuccessful isolation), and if the original pmd entry is changed after reaquiring page table lock, it is unsafe to release the page lock as page maybe unstable. It is fixed by raising extra page count before trying migration. Signed-off-by: Hillf Danton --- ---

[PATCH 2/3] balancenuma: free new thp if fail to isolate the old

2012-11-23 Thread Hillf Danton
Free newly allocated thp if fail to isolate the old. Signed-off-by: Hillf Danton --- --- a/mm/migrate.c Fri Nov 23 21:29:40 2012 +++ b/mm/migrate.c Fri Nov 23 22:52:06 2012 @@ -1624,8 +1624,10 @@ int migrate_misplaced_transhuge_page(str goto out_dropref;

[PATCH 1/3] balancenuma: add stats for huge pmd numa faults

2012-11-23 Thread Hillf Danton
A thp contributes 512 times more than a regular page to numa fault stats, so deserves its own vm event counter. THP migration is also accounted. [A duplicated computation of page node idx is cleaned up] Signed-off-by: Hillf Danton --- --- a/include/linux/vm_event_item.h Fri Nov 23 21:24:12

RE: [tip:x86/smap] x86-32: Start out eflags and cr4 clean

2012-11-23 Thread Yuhong Bao
> + * Specifically, cr4 exists if and only if CPUID exists, > + * which in turn exists if and only if EFLAGS.ID exists. This may be true for *Intel* 486 CPUs as VME was implemented at the same time as CPUID, but I am not sure that it is true for AMD 486 CPUs. Yuhong Bao

Re: [PATCH 3/4] ARM: Dove: Convert to DT GPIO and pinctrl

2012-11-23 Thread Jason Cooper
On Mon, Nov 19, 2012 at 10:39:55AM +0100, Sebastian Hesselbarth wrote: > Following the ongoing conversion of Orion SoCs to DT, make use of > gpio and pinctrl drivers through DT. The main dtsi for Dove is prepared > to allow board specific descriptors to make use of pinctrl muxing. > >

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

2012-11-23 Thread Ian Kent
On Sat, 2012-11-24 at 10:23 +0800, Ian Kent wrote: > On Fri, 2012-11-23 at 15:30 +0100, Miklos Szeredi wrote: > > Ian Kent writes: > > > > > On Fri, 2012-11-23 at 11:45 +0800, Ian Kent wrote: > > >> On Thu, 2012-11-22 at 17:24 +0100, Miklos Szeredi wrote: > > >> > Patches were tested by the

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

2012-11-23 Thread Ian Kent
On Fri, 2012-11-23 at 15:30 +0100, Miklos Szeredi wrote: > Ian Kent writes: > > > On Fri, 2012-11-23 at 11:45 +0800, Ian Kent wrote: > >> On Thu, 2012-11-22 at 17:24 +0100, Miklos Szeredi wrote: > >> > Patches were tested by the customer. > >> > > >> > Ian, Eric, do these patches look OK? > >>

[PATCH] regulator: s2mps11: Fix ramp delay value shift operation

2012-11-23 Thread Sangbeom Kim
This patch fix the abnormal ramp delay setting. The shift operation was wrong. Signed-off-by: Sangbeom Kim --- drivers/regulator/s2mps11.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index

RE: [PATCH 21/24] MAINTAINERS: fix drivers/rtc/rtc-sec.c

2012-11-23 Thread Sangbeom Kim
On Sat, Nov 24, 2012 at 9:27 AM , Cesar Eduardo Barros wrote: > I am guessing that this was a typo for rtc-s3c. Please NACK this patch > if I am wrong. rtc-sec and rtc-s3c is different one. rtc-sec is driver of Samsung mfd. Rtc-s3c is driver of Samsung SoC. Currently, We had just done rtc-sec

RE: [PATCH 03/24] MAINTAINERS: remove arch/arm/plat-s5p/

2012-11-23 Thread Kukjin Kim
Cesar Eduardo Barros wrote: > > These files were merged into plat-samsung. > > Cc: Ben Dooks > Cc: Kukjin Kim Acked-by: Kukjin Kim Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd. > Cc:

Re: [PATCH v2 1/5] x86: get pg_data_t's memory from other node

2012-11-23 Thread Jiang Liu
On 2012-11-23 18:44, Tang Chen wrote: > From: Yasuaki Ishimatsu > > If system can create movable node which all memory of the > node is allocated as ZONE_MOVABLE, setup_node_data() cannot > allocate memory for the node's pg_data_t. > So when memblock_alloc_nid() fails, setup_node_data() retries

[PATCH 1/8 v3] DMA: PL330: use prefix in reg names to build under x86

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini This driver would not compile if ARM_AMBA is selected under x86, because "CS" and "DS" are already defined there. But AMBA is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. The patch just adds the "PL330_" prefix to all register and bit fields, so it

Re: [PATCH 10/24] MAINTAINERS: remove include/linux/ext3*

2012-11-23 Thread Cesar Eduardo Barros
Em 23-11-2012 22:26, Cesar Eduardo Barros escreveu: Moved to fs/ext3/ext3.h by commit 4613ad1 (ext3: move headers to fs/ext3/). Cc: linux-e...@vger.kernel.or Typo here (in fact a copy-paste error). Should be Cc: linux-e...@vger.kernel.org -- Cesar Eduardo Barros ces...@cesarb.net

[PATCH 02/24] MAINTAINERS: remove arch/arm/common/time-acorn.c

2012-11-23 Thread Cesar Eduardo Barros
This file was moved to arch/arm/mach-rpc/time.c by commit a1be5d6 (ARM: riscpc: move time-acorn.c to mach-rpc), and the pattern for arch/arm/mach-rpc/ already exists. Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file

[PATCH 08/24] MAINTAINERS: fix drivers/media/usb/dvb-usb/cxusb*

2012-11-23 Thread Cesar Eduardo Barros
This driver was never at dvb-usb-v2, as far as I could see. Cc: Michael Krufky Cc: linux-me...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index c382ff9..0488d14 100644 ---

[PATCH 09/24] MAINTAINERS: remove drivers/video/epson1355fb.c

2012-11-23 Thread Cesar Eduardo Barros
This driver was removed by commit 1c3a918 (ARM: clps711x: Remove board support for CEIVA). Cc: Christopher Hoover Cc: Christopher Hoover Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 05/24] MAINTAINERS: fix arch/arm/mach-at91/include/mach/at_hdmac.h

2012-11-23 Thread Cesar Eduardo Barros
This file was moved to include/linux/platform_data/dma-atmel.h by commit 7cdc39e (ARM: at91: move platform_data definitions). Cc: Nicolas Ferre Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 04/24] MAINTAINERS: fix drivers/rtc/rtc-vt8500.c

2012-11-23 Thread Cesar Eduardo Barros
Cc: Tony Prisk Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 9bdd5f3..c67b991 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1232,7 +1232,7 @@ F:

[PATCH 03/24] MAINTAINERS: remove arch/arm/plat-s5p/

2012-11-23 Thread Cesar Eduardo Barros
These files were merged into plat-samsung. Cc: Ben Dooks Cc: Kukjin Kim Cc: linux-arm-ker...@lists.infradead.org Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MAINTAINERS

[PATCH 00/24] MAINTAINERS: fix file patterns

2012-11-23 Thread Cesar Eduardo Barros
This patch series attempts to fix F: patterns on the MAINTAINERS file which point to non-existing files or directories. Patch 7 also attempts to add matching uapi/ patterns to all include directory patterns, if applicable. Cesar Eduardo Barros (24): MAINTAINERS: remove drivers/platform/msm/

[PATCH 01/24] MAINTAINERS: remove drivers/platform/msm/

2012-11-23 Thread Cesar Eduardo Barros
Added by commit 8a5700c (add drivers/platform/msm to MSM subsystem) in 2011, but I could not find any trace of that directory being ever added to the repository. Cc: Kenneth Heitke Cc: David Brown Cc: Daniel Walker Cc: Bryan Huntsman Cc: linux-arm-...@vger.kernel.org Signed-off-by: Cesar

[PATCH 11/24] MAINTAINERS: fix .../plat-mxc/include/mach/imxfb.h

2012-11-23 Thread Cesar Eduardo Barros
This file was moved to include/linux/platform_data/video-imxfb.h by commit 82906b1 (ARM: imx: move platform_data definitions). Cc: Sascha Hauer Cc: linux-fb...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1

[PATCH 12/24] MAINTAINERS: remove drivers/staging/hv/

2012-11-23 Thread Cesar Eduardo Barros
This directory was removed by commit 89ae7d7 (hv: storvsc: Move the storage driver out of the staging area). Cc: K. Y. Srinivasan Cc: Haiyang Zhang Cc: de...@linuxdriverproject.org Cc: Greg Kroah-Hartman Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-)

[PATCH 14/24] MAINTAINERS: fix drivers/ieee802154/

2012-11-23 Thread Cesar Eduardo Barros
This directory was moved to drivers/net/ieee802154/ by commit 31d178b (drivers/ieee802154: move ieee802154 drivers to net folder). Cc: Alexander Smirnov Cc: Dmitry Eremin-Solenikov Cc: linux-zigbee-de...@lists.sourceforge.net Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file

[PATCH 16/24] MAINTAINERS: remove arch/x86/platform/mrst/pmu.*

2012-11-23 Thread Cesar Eduardo Barros
These files were removed by commit 1a8359e (x86/mid: Remove Intel Moorestown). Cc: Alan Cox Cc: Len Brown Cc: linux...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3a09993..e7a2349

[PATCH 20/24] MAINTAINERS: remove include/linux/of_pwm.h

2012-11-23 Thread Cesar Eduardo Barros
Added by commit 200efed (pwm: Take over maintainership of the PWM subsystem), but I could not find any trace of that file being ever added to the repository. Cc: Thierry Reding Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS

[PATCH 22/24] MAINTAINERS: fix BAST

2012-11-23 Thread Cesar Eduardo Barros
These files were renamed by commit 85fd6d6 (ARM: S3C2410: move mach-s3c2410/* into mach-s3c24xx/). Cc: Ben Dooks Cc: Vincent Sanders Cc: Simtec Linux Team Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS

[PATCH 23/24] MAINTAINERS: fix drivers/staging/sm7xx/

2012-11-23 Thread Cesar Eduardo Barros
This directory was moved to drivers/staging/sm7xxfb/ by commit 925aa66 (staging: sm7xxfb: sm7xx becomes sm7xxfb). Cc: Teddy Wang Cc: Javier M. Mellid Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

[PATCH 24/24] MAINTAINERS: remove drivers/block/ub.c

2012-11-23 Thread Cesar Eduardo Barros
This driver was removed by commit 68a5059 (block: remove the deprecated ub driver). Cc: Pete Zaitcev Cc: linux-...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index e8990d2..f4934bd

[PATCH 21/24] MAINTAINERS: fix drivers/rtc/rtc-sec.c

2012-11-23 Thread Cesar Eduardo Barros
Added by commit f69d3a1 (Add maintainer for samsung mfd driver). I could not find any trace of that file being ever added to the repository. I am guessing that this was a typo for rtc-s3c. Please NACK this patch if I am wrong. Cc: Sangbeom Kim Cc: Alessandro Zummo Cc: Grant Likely Cc: Rob

[PATCH 18/24] MAINTAINERS: remove drivers/mmc/host/imxmmc.*

2012-11-23 Thread Cesar Eduardo Barros
This driver was removed by commit 6187fee (mmc: remove imxmmc driver). Cc: Sascha Hauer Cc: Pavel Pisa Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 6 -- 1 file changed, 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 19/24] MAINTAINERS: remove arch/*/lib/perf_event*.c

2012-11-23 Thread Cesar Eduardo Barros
This pattern only matched arch/frv/lib/perf_event.c, which was removed by commit e360adb (irq_work: Add generic hardirq context callbacks). Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 1 - 1 file

[PATCH 17/24] MAINTAINERS: fix Documentation/mei/

2012-11-23 Thread Cesar Eduardo Barros
The documentation was moved to Documentation/misc-devices/mei/ instead. Cc: Tomas Winkler Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e7a2349..fc646ef 100644 --- a/MAINTAINERS +++

[PATCH 13/24] MAINTAINERS: fix drivers/i2c/busses/i2c-stub.c

2012-11-23 Thread Cesar Eduardo Barros
This file was moved to drivers/i2c/i2c-stub.c by commit 31d178b (i2c-stub: Move to drivers/i2c). Cc: Jean Delvare Cc: "Mark M. Hoffman" Cc: linux-...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 15/24] MAINTAINERS: remove firmware/isci/

2012-11-23 Thread Cesar Eduardo Barros
This directory was removed by commit 7d99b3a (isci, firmware: Remove isci fallback parameter blob and generator). Cc: Ben Hutchings Cc: Dan Williams Cc: James Bottomley Cc: Intel SCU Linux support Cc: Lukasz Dorau Cc: Maciej Patelczyk Cc: Dave Jiang Cc: linux-s...@vger.kernel.org

[PATCH 10/24] MAINTAINERS: remove include/linux/ext3*

2012-11-23 Thread Cesar Eduardo Barros
Moved to fs/ext3/ext3.h by commit 4613ad1 (ext3: move headers to fs/ext3/). Cc: Al Viro Cc: Jan Kara Cc: Andrew Morton Cc: Andreas Dilger Cc: linux-e...@vger.kernel.or Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS

[PATCH 07/24] MAINTAINERS: adjust for UAPI

2012-11-23 Thread Cesar Eduardo Barros
Several headers were moved or split to uapi/. Cc: David Howells Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 160 1 file changed, 118 insertions(+), 42 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 06/24] MAINTAINERS: fix drivers/media/platform/atmel-isi.c

2012-11-23 Thread Cesar Eduardo Barros
This file was moved to drivers/media/platform/soc_camera/atmel-isi.c by commit b47ff4a ([media] move soc_camera to its own directory). Cc: Mauro Carvalho Chehab Cc: Josh Wu Cc: linux-me...@vger.kernel.org Signed-off-by: Cesar Eduardo Barros --- MAINTAINERS | 2 +- 1 file changed, 1

Re: [ 011/171] ptp: update adjfreq callback description

2012-11-23 Thread Herton Ronaldo Krzesinski
On Wed, Nov 21, 2012 at 04:39:17PM -0800, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jacob Keller > > commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. > > This patch updates the adjfreq

Re: [ 05/38] ptp: update adjfreq callback description

2012-11-23 Thread Herton Ronaldo Krzesinski
On Wed, Nov 21, 2012 at 04:39:48PM -0800, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jacob Keller > > commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. > > This patch updates the adjfreq

[PATCH 3/8 v3] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/

2012-11-23 Thread Davide Ciminaghi
From: Alessandro Rubini The header is used by drivers/dma/amba-pl08x.c, which can be compiled under x86, where PL080 exists under a PCI-to-AMBA bridge. This patche moves it where it can be accessed by other architectures, and fixes all users. Signed-off-by: Alessandro Rubini Acked-by:

[PATCH 1/8] x86: Export asm/{svm.h,vmx.h,perf_regs.h}

2012-11-23 Thread Arnaldo Carvalho de Melo
From: David Howells Export asm/{svm.h,vmx.h,perf_regs.h} so that they can be disintegrated. It looks from previous commits that the first two should have been exported, but the header-y lines weren't added to the Kbuild. I'm guessing that asm/perf_regs.h should be exported too. Signed-off-by:

[PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error

2012-11-23 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool. Signed-off-by: Sukadev Bhattiprolu Acked-by: David Howells Cc: Anton Blanchard Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Cc: linuxppc-...@ozlabs.org Link:

[PATCH 3/8] tools: Honour the O= flag when tool build called from a higher Makefile

2012-11-23 Thread Arnaldo Carvalho de Melo
From: David Howells Honour the O= flag that was passed to a higher level Makefile and then passed down as part of a tool build. To make this work, the top-level Makefile passes the original O= flag and subdir=tools to the tools/Makefile, and that in turn passes subdir=$(O)/$(subdir)/foodir when

[PATCH 8/8] perf kvm: Fix building perf kvm on non x86 arches

2012-11-23 Thread Arnaldo Carvalho de Melo
From: Xiao Guangrong Now, 'perf kvm stat' is only supported on x86, let its code depend on (__x86_64__ || __i386__) to fix building it on other architectures. Reviewed-by: David Howells Signed-off-by: Xiao Guangrong Cc: Borislav Petkov Cc: David Ahern Cc: David Howells Cc: Dong Hao Cc:

[PATCH 7/8] perf kvm: Rename perf_kvm to perf_kvm_stat

2012-11-23 Thread Arnaldo Carvalho de Melo
From: Xiao Guangrong Then let it only be used in 'perf kvm stat'. Preparatory patch to stop trying to build parts of this tool that for now are only supported on x86. Signed-off-by: Xiao Guangrong Cc: Borislav Petkov Cc: David Ahern Cc: David Howells Cc: Dong Hao Cc: Ingo Molnar Cc: Josh

[GIT PULL 0/8] perf/urgent fixes

2012-11-23 Thread Arnaldo Carvalho de Melo
Hi Ingo, Tested using a cross-compiler and directly on a Raspberry pi (ARM) with raspbian. Please consider pulling. - Arnaldo The following changes since commit 18423d3562f396206e0928a71177eeb2edfed077: Merge tag 'perf-urgent-for-mingo' of

[PATCH 2/8] tools: Define a Makefile function to do subdir processing

2012-11-23 Thread Arnaldo Carvalho de Melo
From: David Howells Define a Makefile function that can be called with $(call ...) to wrap the subdir make invocations in tools/Makefile. This will allow us in the next patch to insert bits in there to honour O= flags when called from the top-level Makefile. Signed-off-by: David Howells Cc:

[PATCH 4/8] tools: Pass the target in descend

2012-11-23 Thread Arnaldo Carvalho de Melo
From: David Howells Fixing: [acme@sandy linux]$ cd tools [acme@sandy tools]$ make clean DESCEND power/cpupower CC lib/cpufreq.o CC lib/sysfs.o LD libcpupower.so.0.0.0 CC utils/helpers/amd.o utils/helpers/amd.c:7:21: error: pci/pci.h: No such

[PATCH 6/8] perf: Make perf build for x86 with UAPI disintegration applied

2012-11-23 Thread Arnaldo Carvalho de Melo
From: David Howells Make perf build for x86 once the UAPI disintegration patches for that arch have been applied by adding the appropriate -I flags - in the right order - and then converting some #includes that use ../.. notation to find main kernel headerfiles to use and instead. Note that

Re: [PATCH 00/46] staging: line6: drop MIDI state sysfs attrs

2012-11-23 Thread Markus Grabner
Am Donnerstag, 22. November 2012, 21:08:55 schrieb Stefan Hajnoczi: > On Thu, Nov 22, 2012 at 8:58 PM, Greg Kroah-Hartman > > wrote: > > On Thu, Nov 22, 2012 at 08:48:39PM +0100, Stefan Hajnoczi wrote: > >> Markus and I have discussed the MIDI processing that currently happens in > >> the line6

Re: [PATCH] Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE

2012-11-23 Thread Dave Jones
On Thu, Nov 22, 2012 at 12:10:41PM +0400, Kirill Smelkov wrote: > Linus, maybe you missed this. What is the reason telling people > CC_OPTIMIZE_FOR_SIZE should be Y if we actually do otherwise? > > > commit 281dc5c5ec0fb299514567cbc358562649c1af95 > Author: Linus Torvalds > Date: Sun

Re: [PATCH] of/address: sparc: Declare of_iomap as an extern function for sparc again

2012-11-23 Thread Greg KH
On Fri, Nov 23, 2012 at 11:34:20PM +, Grant Likely wrote: > Cc'ing stable since this should go into previous kernels too. This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.

Re: Recent kernel "mount" slow

2012-11-23 Thread Jeff Chua
On Sat, Nov 24, 2012 at 7:31 AM, Jeff Chua wrote: > On Sat, Nov 24, 2012 at 6:21 AM, Jeff Chua wrote: >> On Fri, Nov 23, 2012 at 9:24 PM, Jens Axboe wrote: >>> On 2012-11-22 20:21, Linus Torvalds wrote: Doesn't sound like a fsdevel issue since it seems to be independent of

Re: [RFC/PATCH] ubi: Replace wear leveling thread with a workqueue

2012-11-23 Thread Ezequiel Garcia
Hi Shmulik, Thanks for the review. On Fri, Nov 23, 2012 at 6:26 PM, Shmulik Ladkani wrote: [...] >> - spin_lock(>wl_lock); >> - if (list_empty(>works) || ubi->ro_mode || > > Originally, 'ubi_thread' did nothing if 'ubi->ro_mode'. > This filtering is missing from

[PATCH] PM / QoS: Handle device PM QoS flags while removing constraints

2012-11-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki PM QoS flags have to be handled by dev_pm_qos_constraints_destroy() in the same way as PM QoS resume latency constraits. That is, if they have been exposed to user space, they have to be hidden from it and the list of flags requests has to be flushed before destroying

Re: [PATCH] of/address: sparc: Declare of_iomap as an extern function for sparc again

2012-11-23 Thread Grant Likely
Cc'ing stable since this should go into previous kernels too. g. Grant Likely wrote: >On Fri, 23 Nov 2012 14:21:10 -0500 (EST), David Miller > wrote: >> From: Andreas Larsson >> Date: Fri, 23 Nov 2012 12:24:09 +0100 >> >> > This bug-fix makes sure that of_iomap is defined extern for sparc

[PATCH v3] mm: trace filemap add and del

2012-11-23 Thread Robert Jarzmik
Use the events API to trace filemap loading and unloading of file pieces into the page cache. This patch aims at tracing the eviction reload cycle of executable and shared libraries pages in a memory constrained environment. The typical usage is to spot a specific device and inode (for example

Re: Recent kernel "mount" slow

2012-11-23 Thread Jeff Chua
On Sat, Nov 24, 2012 at 6:21 AM, Jeff Chua wrote: > On Fri, Nov 23, 2012 at 9:24 PM, Jens Axboe wrote: >> On 2012-11-22 20:21, Linus Torvalds wrote: >>> Doesn't sound like a fsdevel issue since it seems to be independent of >>> filesystems. More like some generic block layer thing. Adding Jens

Re: [PATCH] exec: do not leave bprm->interp on stack

2012-11-23 Thread Tetsuo Handa
P J P wrote: > >Hello Kees, all, > > Please have a look at a *NEW* patch at the end of this mail. It seems to fix > both the issues, stack disclosure + undue recursions. > > It uses modprobe "--first-time" option which returns an error code when > trying > to load a module which is

[PATCH] ARM: pxa: pxa27x.c: add dummy SA1100 rtc clock

2012-11-23 Thread Andrea Adami
* Using pxa27x you could now build both RTC_DRV_PXA and RTC_DRV_SA1100. * Make sure you don't use both together: link /dev/rtc0 or /dev/rtc1 * to /dev/rtc according to your requirement. Signed-off-by: Andrea Adami --- arch/arm/mach-pxa/pxa27x.c |1 + 1 files changed, 1 insertions(+), 0

Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-23 Thread Marcelo Tosatti
On Thu, Nov 22, 2012 at 02:21:20PM +0900, Yoshihiro YUNOMAE wrote: > Hi Marcelo, > > (2012/11/21 7:51), Marcelo Tosatti wrote: > >On Tue, Nov 20, 2012 at 07:36:33PM +0900, Yoshihiro YUNOMAE wrote: > >>Hi Marcelo, > >> > >>Sorry for the late reply. > >> > >>(2012/11/17 4:15), Marcelo Tosatti

[GIT PULL] devicetree fix for v3.7

2012-11-23 Thread Grant Likely
Hi Linus, Here's is a device tree build regression fix that I've just received. Please pull. Thanks, g. The following changes since commit 26d29d06ea020411559f75ec908db235ca1838d9: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2012-11-22 21:45:34

Re: Recent kernel "mount" slow

2012-11-23 Thread Jeff Chua
On Fri, Nov 23, 2012 at 9:24 PM, Jens Axboe wrote: > On 2012-11-22 20:21, Linus Torvalds wrote: >> Doesn't sound like a fsdevel issue since it seems to be independent of >> filesystems. More like some generic block layer thing. Adding Jens >> (and quoting the whole thing) >> >> Jens, any ideas?

Re: [PATCH v3 5/6] Add a V4L2 driver for SI476X MFD

2012-11-23 Thread Andrey Smirnov
On 11/16/2012 07:02 AM, Hans Verkuil wrote: > Hi Andrey, > > Some more comments... > > On Tue October 23 2012 20:44:31 Andrey Smirnov wrote: >> This commit adds a driver that exposes all the radio related >> functionality of the Si476x series of chips via the V4L2 subsystem. >> >> Signed-off-by:

Re: [PATCH] of/address: sparc: Declare of_iomap as an extern function for sparc again

2012-11-23 Thread Grant Likely
On Fri, 23 Nov 2012 14:21:10 -0500 (EST), David Miller wrote: > From: Andreas Larsson > Date: Fri, 23 Nov 2012 12:24:09 +0100 > > > This bug-fix makes sure that of_iomap is defined extern for sparc so that > > the > > sparc-specific implementation of_iomap is once again used when including >

[PATCH 9/9] tile: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/tile/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

[PATCH 8/9] sparc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: David S. Miller --- arch/sparc/include/asm/dma-mapping.h |1 + 1 file

[PATCH 7/9] sh: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/sh/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 6/9] powerpc: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/powerpc/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

[PATCH 5/9] mips: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/mips/include/asm/dma-mapping.h |2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 4/9] microblaze: dma-mapping: support debug_dma_mapping_error

2012-11-23 Thread Shuah Khan
Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated. Signed-off-by: Shuah Khan Acked-by: Michal Simek --- This patch is

Re: [PATCH RFT] mfd: rc5t583: Fix array subscript is above array bounds

2012-11-23 Thread Laxman Dewangan
On Tuesday 20 November 2012 08:04 AM, Axel Lin wrote: I got below build warning while compiling this driver. It's obviously RC5T583_MAX_INTERRUPT_MASK_REGS is 9 but irq_en_add array only has 8 elements. CC drivers/mfd/rc5t583-irq.o drivers/mfd/rc5t583-irq.c: In function

[PATCH 3/9] ia64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan --- arch/ia64/include/asm/dma-mapping.h |1 + 1 file changed, 1 insertion(+) diff

[PATCH 2/9] c6x: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Mark Salter --- arch/c6x/include/asm/dma-mapping.h |1 + 1 file changed, 1

[PATCH 1/9] ARM64: dma_debug: add debug_dma_mapping_error support

2012-11-23 Thread Shuah Khan
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces. Signed-off-by: Shuah Khan Acked-by: Catalin Marinas --- arch/arm64/include/asm/dma-mapping.h |1 + 1 file

[PATCH 0/9] dma_debug: add debug_dma_mapping_error support to architectures that support DMA_DEBUG_API

2012-11-23 Thread Shuah Khan
An earlier patch added dma mapping error debug feature to dma_debug infrastructure. References: https://lkml.org/lkml/2012/10/8/296 https://lkml.org/lkml/2012/11/3/219 The following series of patches adds the call to debug_dma_mapping_error() to architecture specific dma_mapping_error()

Re: [RFC/PATCH] ubi: Replace wear leveling thread with a workqueue

2012-11-23 Thread Shmulik Ladkani
Hi Ezequiel, On Fri, 23 Nov 2012 09:13:29 -0300 Ezequiel Garcia wrote: > /** > - * ubi_thread - UBI background thread. > + * ubi_wl_do_work - UBI background wl worker function. > * @u: the UBI device description object pointer > */ > -int ubi_thread(void *u) > +void ubi_wl_do_work(struct

Re: percpu section failure with Gold linker

2012-11-23 Thread Tejun Heo
Hello, Jan. On Fri, Nov 23, 2012 at 09:44:02PM +0100, Jan Engelhardt wrote: > when compiling a kernel with the gold linker (3.7.0-rc6 26d29d06ea0204, > gcc-4.7 and binutils-2.23 in my case), certain pcpu symbols are > seemingly errneously copied over from .o files to .ko files, leading to > a

[GIT PULL] Power management fix for v3.7-rc7

2012-11-23 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-for-3.7-rc7 to receive one power management fix for v3.7-rc7 as commit a7227a0faa117d0bc532aea546ae5ac5f89e8ed7 PM / QoS: fix wrong error-checking condition on top of

[PATCH v2] [RFC] regmap: Add no-"bus" configuration possibility

2012-11-23 Thread Andrey Smirnov
Second version of the patch with incorporated suggestions form Mark(hopefully): https://lkml.org/lkml/2012/11/20/249 Once again at this point this patch is for illustrative purposes. If the overall structure and nature of the change is agreed upon, I'll work on properly implementing it and

[PATCH] pkt_sched: QFQ Plus: fair-queueing service at DRR cost

2012-11-23 Thread Paolo Valente
This patch turns QFQ into QFQ+, a variant of QFQ that provides the following two benefits: 1) QFQ+ is faster than QFQ, 2) differently from QFQ, QFQ+ correctly schedules also non-leaves classes in a hierarchical setting. A detailed description of QFQ+, plus a performance comparison with DRR and

Re: [PATCH] pkt_sched: QFQ Plus: fair-queueing service at DRR cost

2012-11-23 Thread Paolo Valente
Il 23/11/2012 20:28, David Miller ha scritto: From: Paolo Valente Date: Thu, 22 Nov 2012 17:56:20 +0100 +/* + + */ Please don't add useless things like this in your patch. Sorry, I forgot to remove it after I moved the body of the comment to a better place. I have fixed and checked again

percpu section failure with Gold linker

2012-11-23 Thread Jan Engelhardt
Hi, when compiling a kernel with the gold linker (3.7.0-rc6 26d29d06ea0204, gcc-4.7 and binutils-2.23 in my case), certain pcpu symbols are seemingly errneously copied over from .o files to .ko files, leading to a hard warning during depmod: gold$ make -j8 LD=gold HOSTLD=gold

Re: [PATCH] cpufreq: ondemand: fix wrong delay sampling rate

2012-11-23 Thread Rafael J. Wysocki
On Friday, November 23, 2012 08:57:02 PM Fabio Baltieri wrote: > On Fri, Nov 23, 2012 at 07:23:28PM +0530, Viresh Kumar wrote: > > On 23 November 2012 18:42, Fabio Baltieri wrote: > > > Restore the correct delay value for ondemand's od_dbs_timer, as it was > > > changed erroneously in 83f0e55. >

Re: [PATCH v2 0/3] Add SDHCI ACPI driver

2012-11-23 Thread Rafael J. Wysocki
On Friday, November 23, 2012 01:35:58 PM Adrian Hunter wrote: > Hi > > Here is SDHCI ACPI driver. > > Changes for v2: > > Dropped "PNPACPI: exclude SDHCI devices" > Added "PNPACPI: exclude devices already bound" > Changed dev->acpi_handle to ACPI_HANDLE(dev) > Added

[PATCH 6/7] uprobes: _unregister() should always do register_for_each_vma(false)

2012-11-23 Thread Oleg Nesterov
uprobe_unregister() removes the breakpoints only if the last consumer goes away. To support the filtering it should do this every time, we want to remove the breakpoints which nobody else want to keep. Note: given that filter_chain() is not actually implemented, this patch itself doesn't change

[PATCH 4/7] uprobes: Kill uprobe_consumer->filter()

2012-11-23 Thread Oleg Nesterov
uprobe_consumer->filter() is pointless in its current form, kill it. We will add it back, but with the different signature/semantics. Perhaps we will even re-introduce the callsite in handler_chain(), but not to just skip uc->handler(). Signed-off-by: Oleg Nesterov --- include/linux/uprobes.h

[PATCH 2/7] uprobes: Kill the "uprobe != NULL" check in uprobe_unregister()

2012-11-23 Thread Oleg Nesterov
Trivial. uprobe can't be NULL after mutex_unlock(), it was already used. Signed-off-by: Oleg Nesterov --- kernel/events/uprobes.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index e9f22ed..13b247c 100644 ---

[PATCH 3/7] uprobes: Kill the pointless inode/uc checks in register/unregister

2012-11-23 Thread Oleg Nesterov
register/unregister verifies that inode/uc != NULL. For what? This really looks like "hide the potential problem", the caller should pass the valid data. register() also checks uc->next == NULL, probably to prevent the double-register but the caller can do other stupid/wrong things. If we do this

  1   2   3   4   5   6   7   8   >