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

2013-04-01 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in drivers/clocksource/Makefile between commit 275786b71d42 ("ARM: sirf: use clocksource_of infrastructure") from the arm-soc tree and commit c74512bf83f3 ("ARM: mxs: move timer driver into drivers/clocksource") from the imx-mxs

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

2013-04-01 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/Kconfig.debug between commit 266c347924f5 ("ARM: nomadik: move debugmacro to debug includes") from the arm-soc tree and commit 11c6f861cf3a ("ARM: mxs: rename debug-macro.S for multiplatform build") from the imx-mxs

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

2013-04-01 Thread Richard Weinberger
Am Tue, 2 Apr 2013 17:29:50 +1100 schrieb Stephen Rothwell : > Hi all, > > After merging the char-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/misc/cs5535-mfgpt.c:30:3: warning: missing terminating " > character [enabled by default] drivers/misc/cs553

[PATCH] romfs: fix nommu map length to keep inside filesystem

2013-04-01 Thread gerg
From: Greg Ungerer Checks introduced in commit 4991e7251 ("romfs: do not use mtd->get_unmapped_area directly") re-introduce problems fixed in the earlier commit 2b4b2482e ("romfs: fix romfs_get_unmapped_area() argument check"). If a flat binary app is located at the end of a romfs, its page alig

Re: [PATCH 3/5] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-01 Thread Martin Schwidefsky
On Sat, 30 Mar 2013 12:45:35 +0100 Heiko Carstens wrote: > On Fri, Mar 29, 2013 at 07:27:06PM -0700, Tejun Heo wrote: > > Both dump_stack() and show_stack() are currently implemented by each > > architecture. show_stack(NULL, NULL) dumps the backtrace for the > > current task as does dump_stack(

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-01 Thread Pekka Enberg
On Tue, Apr 2, 2013 at 3:42 AM, Joonsoo Kim wrote: >> I have a vague memory that Joonsoo also ran into this issue awhile back. > > Yes. I sent a patch for this two month ago. :) It's applied now. Pekka -- To unsubscribe from this list: send the line "unsubscribe linux-kern

[PATCH v2] cs5535-mfgpt: Add another reset method

2013-04-01 Thread Richard Weinberger
The CS5535/CS5536 MFGPT has no support to reset the device. The current method uses an undocumented bit but does not work on all devices. At least on my ALIX board it completely freezes the board. This new method tries to soft reset all timers by unconfiguring them. But this does not clear the RO

Re: [PATCH v2 1/3] slub: correct to calculate num of acquired objects in get_partial_node()

2013-04-01 Thread Pekka Enberg
On Tue, Mar 19, 2013 at 7:10 AM, Joonsoo Kim wrote: > Could you pick up 1/3, 3/3? > These are already acked by Christoph. > 2/3 is same effect as Glauber's "slub: correctly bootstrap boot caches", > so should skip it. Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id

2013-04-01 Thread Lars-Peter Clausen
On 04/02/2013 08:27 AM, PADMAVATHI VENNA wrote: > > Hi, > --- Original Message --- > Sender : Lars-Peter Clausen > Date : Mar 25, 2013 22:16 (GMT+09:00) > Title : [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id > > Use the generic of_dma_xlate_by_chan_id xlate callback ins

[RFT][PATCH 2/2] regulator: ab8500: Add missing volt_table setting for AB8540_LDO_TVOUT

2013-04-01 Thread Axel Lin
This is required for regulator_list_voltage_table() to properly work. Signed-off-by: Axel Lin --- Hi, The setting is copied from AB8500_LDO_TVOUT, I don't have the datasheet. Can someone test and review if this patch is correct or not? Axel drivers/regulator/ab8500.c |1 + 1 file changed, 1

[RFT][PATCH 1/2] regulator: ab8500: Fix list_voltage for fixed voltage regulators

2013-04-01 Thread Axel Lin
commit b080c78a4e447e9c212c207f725999d4e32c5f19 "regulator: ab8500: Update voltage handling for fixed voltage regulators" remove min_uV settings and set volt_table for all fixed voltage, thus we can not use regulator_list_voltage_linear now. Use regulator_list_voltage_table instead. Signed-off-by:

linux-next: build failure after merge of the char-misc tree

2013-04-01 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/misc/cs5535-mfgpt.c:30:3: warning: missing terminating " character [enabled by default] drivers/misc/cs5535-mfgpt.c:31:31: warning: missing terminating " character [enabled by defa

NULL pointer at kset_find_obj

2013-04-01 Thread CAI Qian
Just booted the latest mainline, [ 35.217698] Request for unknown module key 'Magrathea: Glacier signing key: 8b7774b08bc4ee9637073434c10f0823f6fbe523' err -11 [ 35.218511] BUG: unable to handle kernel paging request at a03093f0 [ 35.218521] IP: [] kset_find_obj+0x30/0x80 [ 35.

Re: mkfs.f2fs gets stuck with "blk_update_request: bio idx 0 >= vcnt 0" on 3.8

2013-04-01 Thread Vyacheslav Dubeyko
On Tue, 2013-04-02 at 00:21 +0400, Max Filippov wrote: [snip] > > > > Could you share "cat /proc/partitions" and "strace mkfs.f2fs > > /dev/mmcblk0p3" outputs? I think that these outputs can be very useful for > > issue analysis. > > > > By the way, can you reproduce the issue on another SD-ca

Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id

2013-04-01 Thread PADMAVATHI VENNA
Hi, --- Original Message --- Sender : Lars-Peter Clausen Date : Mar 25, 2013 22:16 (GMT+09:00) Title : [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id Use the generic of_dma_xlate_by_chan_id xlate callback instead of a custom implementation. There is one minor difference

Re: [RFC PATCH 1/2] cpuidle: Add idle enter/exit time stamp for notifying current idle state.

2013-04-01 Thread jonghwa3 . lee
On 2013년 04월 02일 14:00, Daniel Lezcano wrote: > On 04/01/2013 10:24 AM, Jonghwa Lee wrote: >> This patch adds idle state time stamp to cpuidle device structure to >> notify its current idle state. If last enter time is newer than last >> exit time, then it means that the core is in idle now. >> >>

RE: [PATCH v7 03/14] spi/spi-atmel: add physical base address

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Yang, Wenyou > Sent: 2013年4月2日 13:50 > To: 'Mark Brown' > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; > spi-devel-gene...@lists.sourceforge.net; linux

linux-next: manual merge of the usb-gadget tree with the tree

2013-04-01 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/udc.c between commit adf0f735e61a ("usb: chipidea: move debug files creation/removal to the core") from the usb tree and commit dc9e2873b740 ("usb: chipidea: let udc-core manage gadget->dev") from the

[PATCH] Build fix for ARM. The UAPI changes split kernel API and userspace API content onto two separate header files and assumed a full linux build. This trips up embedded builds.

2013-04-01 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- include/uapi/drm/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 8d1e2bb..73a99e4 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -36,7 +36,7 @@ #ifndef _DRM_

xfs deadlock on 3.9-rc5 running xfstests case #78

2013-04-01 Thread CAI Qian
Saw on almost all the servers range from x64, ppc64 and s390x with kernel 3.9-rc5 and xfsprogs-3.1.10. Never caught this in 3.9-rc4, so looks like something new broke this. Log is here with sysrq debug info. http://people.redhat.com/qcai/stable/log CAI Qian -- To unsubscribe from this list: send t

Re: [PATCH] loop: prevent bdev freeing while device in use

2013-04-01 Thread Al Viro
On Mon, Apr 01, 2013 at 10:58:55PM -0700, Anatol Pomozov wrote: > >> > >> loop_set_fd/loop_clr_fd (and any other loop ioctl) is called under > >> loop_device->lo_ctl_mutex. > > > > Ok, good enough for me, I applied it, and it's commit > > c1681bf8a7b1b98edee8b862a42c19c4e53205fd in my tree. > > > >

Re: [PATCH] loop: prevent bdev freeing while device in use

2013-04-01 Thread Anatol Pomozov
Hi On Mon, Apr 1, 2013 at 3:53 PM, Linus Torvalds wrote: > On Mon, Apr 1, 2013 at 10:00 AM, Anatol Pomozov > wrote: >> Hi >> >> On Mon, Apr 1, 2013 at 8:16 AM, Linus Torvalds >> wrote: >>> On Mon, Apr 1, 2013 at 4:58 AM, Anatol Pomozov >>> wrote: To prevent use-after-free we need to

Re: [PATCH 3/8] virtio: do not export "u16" and "u64" to userspace

2013-04-01 Thread Rusty Russell
Paul Bolle writes: > virtio_balloon.h exports "u16" and "u64" to userspace. Use "__u16" and > "__u64" instead. > > Signed-off-by: Paul Bolle > --- > 0) Tested with a kernel build. > > 1) Both types are used in this header for quite some time now. So is my > patch flawed or doesn't userspace actua

Re: [RFC] mm: remove swapcache page early

2013-04-01 Thread Minchan Kim
On Mon, Apr 01, 2013 at 10:13:58PM -0700, Hugh Dickins wrote: > On Tue, 2 Apr 2013, Minchan Kim wrote: > > On Fri, Mar 29, 2013 at 01:01:14PM -0700, Hugh Dickins wrote: > > > On Fri, 29 Mar 2013, Minchan Kim wrote: > > > > On Thu, Mar 28, 2013 at 11:19:12AM -0700, Dan Magenheimer wrote: > > > > >

[PATCH] Trivial fix for ath9k dmesg typo.

2013-04-01 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- drivers/net/wireless/ath/ath9k/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c index 07e2526..76da544 100644 --- a/drivers/net/wireless/ath/ath9k/hw.c +++ b/dr

RE: [PATCH v7 03/14] spi/spi-atmel: add physical base address

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:42 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; > spi

RE: [PATCH v7 10/14] spi/spi-atmel: correct 16 bits transfers with DMA

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:54 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; > spi

RE: [PATCH v7 08/14] spi/spi-atmel: fix spi-atmel driver to adapt to slave_config changes

2013-04-01 Thread Yang, Wenyou
Hi, Mark, > -Original Message- > From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] > Sent: 2013年4月1日 21:51 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; > richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; > spi

Re: [PATCH v2 0/2] fix hugepage coredump

2013-04-01 Thread Konstantin Khlebnikov
Naoya Horiguchi wrote: Hi, Here is 2nd version of hugepage coredump fix. See individual patches for more details. Thanks, Naoya Horiguchi ACK to both patches VM_* bits cleanup patchset was merged into v3.7, so only two recent stable kernels needs this fix. -- To unsubscribe from this list

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
Hi, Bjorn, On Tue, Apr 2, 2013 at 4:53 AM, Bjorn Helgaas wrote: > On Mon, Apr 1, 2013 at 2:51 PM, Rafael J. Wysocki wrote: >> On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: >>> [+cc Zheng, who added this with 71a83bd727] >>> >>> On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki wro

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
On Tue, Apr 2, 2013 at 1:28 PM, huang ying wrote: > On Tue, Apr 2, 2013 at 4:51 AM, Rafael J. Wysocki wrote: >> >> On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: >> > [+cc Zheng, who added this with 71a83bd727] >> > >> > On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki wrote: >> >

Re: [PATCH v3, part4 26/39] mm/openrisc: prepare for removing num_physpages and simplify mem_init()

2013-04-01 Thread Jonas Bonn
On 03/26/2013 04:54 PM, Jiang Liu wrote: Prepare for removing num_physpages and simplify mem_init(). Signed-off-by: Jiang Liu Cc: Jonas Bonn Cc: David Howells Cc: Arnd Bergmann Cc: li...@lists.openrisc.net Cc: linux-kernel@vger.kernel.org Tested and works fine on OpenRISC. Acked-by: Jonas

Re: [PATCH v2, part1 16/29] mm/openrisc: use common help functions to free reserved pages

2013-04-01 Thread Jonas Bonn
On 10 March 2013 07:26, Jiang Liu wrote: > Use common help functions to free reserved pages. > Also include to avoid local declarations. > > Signed-off-by: Jiang Liu > Cc: Jonas Bonn Tested and works fine on OpenRISC. Acked-by: Jonas Bonn /Jonas > --- > arch/openrisc/mm/init.c | 27 +++-

Re: linux-next: manual merge of the virtio tree with the rr-fixes tree

2013-04-01 Thread Amit Shah
On (Tue) 02 Apr 2013 [14:17:39], Stephen Rothwell wrote: > Hi Rusty, > > Today's linux-next merge of the virtio tree got a conflict in > drivers/char/virtio_console.c between commit 9ba5c80b1aea ("virtio: > console: add locking around c_ovq operations") from the rr-fixes tree and > commit 6797999d

Re: [Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-04-01 Thread huang ying
On Tue, Apr 2, 2013 at 4:51 AM, Rafael J. Wysocki wrote: > > On Monday, April 01, 2013 11:34:46 AM Bjorn Helgaas wrote: > > [+cc Zheng, who added this with 71a83bd727] > > > > On Sat, Mar 30, 2013 at 4:38 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > The runtime PM of PC

Re: [RFC] mm: remove swapcache page early

2013-04-01 Thread Hugh Dickins
On Tue, 2 Apr 2013, Minchan Kim wrote: > On Fri, Mar 29, 2013 at 01:01:14PM -0700, Hugh Dickins wrote: > > On Fri, 29 Mar 2013, Minchan Kim wrote: > > > On Thu, Mar 28, 2013 at 11:19:12AM -0700, Dan Magenheimer wrote: > > > > > > > > I wonder if something like this would have a similar result for

Re: [PATCH 0/6] Make return type of i2c_del_adapter() (and i2c_del_mux_adapter()) void

2013-04-01 Thread Wolfram Sang
On Sat, Mar 09, 2013 at 07:16:43PM +0100, Lars-Peter Clausen wrote: > Currently i2c_del_adapter() returns 0 on success and potentially an error code > on failure. Unfortunately this doesn't mix too well with the Linux device > driver > model. An i2c_adapter is usually registered in a drivers probe

Re: [PATCH v6 1/2] cpufreq: split the cpufreq_driver_lock and use the rcu

2013-04-01 Thread Viresh Kumar
On 2 April 2013 01:41, Nathan Zimmer wrote: > diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c > +static struct cpufreq_driver __rcu *cpufreq_driver; > +static DEFINE_SPINLOCK(cpufreq_driver_lock); You really need this lock? This is only used in cpufreq_register_driver and unre

Re: [PATCH v6 2/2] cpufreq: covert the cpufreq_data_lock to a spinlock

2013-04-01 Thread Viresh Kumar
On 2 April 2013 06:26, Nathan Zimmer wrote: > On Mon, Apr 01, 2013 at 10:41:27PM +0200, Rafael J. Wysocki wrote: >> On Monday, April 01, 2013 03:11:09 PM Nathan Zimmer wrote: >> > This eliminates the rest of the contention found in __cpufreq_cpu_get. >> > I am not seeing a way to use the rcu so we

Re: [RFC PATCH 1/2] cpuidle: Add idle enter/exit time stamp for notifying current idle state.

2013-04-01 Thread Daniel Lezcano
On 04/01/2013 10:24 AM, Jonghwa Lee wrote: > This patch adds idle state time stamp to cpuidle device structure to > notify its current idle state. If last enter time is newer than last > exit time, then it means that the core is in idle now. > > Signed-off-by: Jonghwa Lee > --- The patch descrip

Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired

2013-04-01 Thread Tony Chung
Thanks Guenter! I agree with you. My first reaction was also about a small watchdog server that will start in early boot process. There are pros and cons. For example, there are many types of watchdog devices such as ipmi_watchdog which can accept more than 255 seconds for timeout. So you real

Re: [PATCH 4/5] sched: don't consider upper se in sched_slice()

2013-04-01 Thread Preeti U Murthy
Hi Joonsoo, On 04/02/2013 07:55 AM, Joonsoo Kim wrote: > Hello, Preeti. > > On Mon, Apr 01, 2013 at 12:36:52PM +0530, Preeti U Murthy wrote: >> Hi Joonsoo, >> >> On 04/01/2013 09:38 AM, Joonsoo Kim wrote: >>> Hello, Preeti. >>> >> Ideally the children's cpu share must add upto the paren

Re: [PATCH] ACPI / I2C: Use parent's ACPI_HANDLE() in acpi_i2c_register_devices()

2013-04-01 Thread Wolfram Sang
On Mon, Apr 01, 2013 at 02:25:03AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI handle of struct i2c_adapter's dev member should not be > set, because this causes that struct i2c_adapter to be associated > with the ACPI device node corresponding to its parent as the > se

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 --- arch/a

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 + arch/arm/boo

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 1/6] of: Add support for reading a u32 from a multi-value property.

2013-04-01 Thread Tony Prisk
This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9 +

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/

[PATCHv4 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
v4 changes: Changed as requested by Stephen Warren: Corrected the range checking in of_property_read_u32_index(). Fix configs[0] assignment in wmt_pctl_dt_node_to_map_pull(). Remove the kfree(maps) call, and use devm_kzalloc to simplify the fail path. Drop the custom .of_xlate function and use the

[PATCHv4 RESEND 0/6] arm: vt8500: Add support for pinctrl/gpio module

2013-04-01 Thread Tony Prisk
Sorry - got Linus W's email address wrong in first send. v4 changes: Changed as requested by Stephen Warren: Corrected the range checking in of_property_read_u32_index(). Fix configs[0] assignment in wmt_pctl_dt_node_to_map_pull(). Remove the kfree(maps) call, and use devm_kzalloc to simplify the

[PATCHv4 2/6] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-01 Thread Tony Prisk
With the inclusion of the pin control driver, more GPIO pins have been identified on the arch-vt8500 SoCs requiring an increase in the available GPIOs. Signed-off-by: Tony Prisk --- arch/arm/Kconfig |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/

[PATCHv4 6/6] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-01 Thread Tony Prisk
With the move to a combined pinctrl/gpio driver, the arch-vt8500 gpio driver is no longer required. Signed-off-by: Tony Prisk --- .../devicetree/bindings/gpio/gpio-vt8500.txt | 24 -- drivers/gpio/Kconfig |6 - drivers/gpio/Makefile

[PATCHv4 5/6] arm: vt8500: Remove gpio devicetree nodes

2013-04-01 Thread Tony Prisk
Remove the gpio related devicetree nodes as these are no longer required with the move to a combined pinctrl/gpio driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |7 --- arch/arm/boot/dts/wm8505.dtsi |7 --- arch/arm/boot/dts/wm8650.dtsi |7 --- arch/a

[PATCHv4 4/6] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-01 Thread Tony Prisk
This patch adds pinctrl nodes to the VIA VT8500 and Wondermedia SoC dtsi files to support the pinctrl driver. Signed-off-by: Tony Prisk --- arch/arm/boot/dts/vt8500.dtsi |9 + arch/arm/boot/dts/wm8505.dtsi |9 + arch/arm/boot/dts/wm8650.dtsi |9 + arch/arm/boo

[PATCHv4 1/6] of: Add support for reading a u32 from a multi-value property.

2013-04-01 Thread Tony Prisk
This patch adds an of_property_read_u32_index() function to allow reading a single indexed u32 value from a property containing multiple u32 values. Signed-off-by: Tony Prisk Reviewed-by: Stephen Warren --- drivers/of/base.c | 33 + include/linux/of.h |9 +

RE: Fail to build trinity

2013-04-01 Thread Sun, Yi
Alright, done. Thank you, Dave. Thanks --Sun, Yi > -Original Message- > From: da...@redhat.com [mailto:da...@redhat.com] > Sent: Tuesday, April 02, 2013 3:22 AM > To: Sun, Yi > Cc: linux-kernel@vger.kernel.org > Subject: Re: Fail to build trinity > > On Mon, Apr 01, 2013 at 03:09:0

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

2013-04-01 Thread Larry Finger
On 04/01/2013 10:31 PM, Stephen Rothwell wrote: Hi Larry, On Mon, 01 Apr 2013 22:07:24 -0500 Larry Finger wrote: On 04/01/2013 09:34 PM, Stephen Rothwell wrote: After merging the wireless-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/wireless/rtlw

bisected! (WAS Re: s390x: kernel BUG at fs/ext4/inode.c:1591!)

2013-04-01 Thread CAI Qian
Bisect indicated this is the culprit, 0e401101db49959f5783f6ee9e676124b5a183ac ext4: fix memory leakage in mext_check_coverage This following with Dmitry's debug patch applied, CAI Qian Ý 101.408610¨ ES cache assertation failed for inode: 753 es_cached ex Ý56/5/744 81/20¨ != found ex Ý56/5/339

[PATCH 02/23] perf: make perl support based on CONFIG_LIBPERL

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 ++- tools/perf/Pconfig

[PATCH 03/23] perf: make python support based on CONFIG_LIBPYTHON

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 105 +++ tools/perf/Pconfig

[PATCH 02/23] perf: make perl support based on CONFIG_LIBPERL

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 ++- tools/perf/Pconfig

Re: [PATCH 04/27] perf tools: Move programs check into config/Makefile

2013-04-01 Thread Namhyung Kim
On Tue, 2 Apr 2013 00:27:03 +0200, Jiri Olsa wrote: > On Tue, Apr 02, 2013 at 07:09:50AM +0900, Namhyung Kim wrote: >> 2013-04-01 (월), 21:18 +0200, Jiri Olsa: >> > Moving programs check into config/Makefile. >> >> [SNIP] >> >> > +RM = rm -f >> > +MKDIR = mkdir >> > +FIND= find >> > +IN

[PATCH 07/23] perf: remove GTK2_SUPPORT in favor of CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |2 +- tools/perf/util/annotat

[PATCH 06/23] perf: remove NEWT_SUPPORT in favor of CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |3 ++- tools/perf/util/annota

[PATCH 09/23] perf: make cfi unwind support based on CONFIG_LIBUNWIND

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 20 ++-- tools/perf/Pconfig

[PATCH 04/23] perf: make gtk2 support based on CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 39 --- tools/perf/Pconfig

[PATCH 05/23] perf: make newt support based on CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 46 +-- tools/perf/Pconfig

[PATCH 12/23] perf: add BIONIC config option

2013-04-01 Thread David Ahern
Sets the LIBC option and is independent of LIBELF. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |6 -- tools/perf/

[PATCH 10/23] perf: make demangle support based on CONFIG_DEMANGLE

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 70 ++ tools/perf/Pconfig

[PATCH 14/23] perf: make backtrace support based on CONFIG_BACKTRACE

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 10 -- tools/perf/Pconfig |3

[PATCH 18/23] perf: deprecate LIBELF_SUPPORT in favor of CONFIG_LIBELF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |2 -- tools/perf/builtin-inject.c |3 ++- too

[PATCH 16/23] perf: consolidate CONFIG_LIBUNWIND checks in Makefile

2013-04-01 Thread David Ahern
code move only Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 38 +- 1 file changed,

[PATCH 21/23] perf: consolidate CONFIG_DWARF checks in Makefile

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --g

Re: linux-next: build failure after merge of the final tree (block tree related)

2013-04-01 Thread Stephen Rothwell
Hi Jens, On Tue, 2 Apr 2013 10:22:36 +1100 Stephen Rothwell wrote: > > Ping? Forget it, I misgrepped :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpOZPR2O8hDS.pgp Description: PGP signature

[PATCH 13/23] perf: make numa support based on CONFIG_LIBNUMA

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile| 18 +++--- tools/perf/Pconfig |5 + too

[PATCH 19/23] perf: deprecate DWARF_SUPPORT in favor of CONFIG_DWARF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |2 +- tools/perf/builtin-probe.c | 15 ++

[PATCH 11/23] perf: make dwarf support based on CONFIG_DWARF

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 22 -- tools/perf/Pconfig

[PATCH 23/23] perf: only add elf-based object files if CONFIG_LIBELF is set

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --g

[PATCH 20/23] perf: consolidate CONFIG_LIBELF checks in Makefile

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 34 -- 1 file changed, 16 insertions(+), 1

[PATCH 22/23] perf: only add elf to EXTLIBS if CONFIG_LIBELF is set

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 15/23] perf: make libaudit support based on CONFIG_LIBAUDIT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 16 +++- tools/perf/Pconfig |

[PATCH 17/23] perf: remove LIBUNWIND_SUPPORT in favor of CONFIG_LIBUNWIND

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile |1 - tools/perf/builtin-record.c | 11 ++- tools/perf/u

[PATCH 08/23] perf: make elf support based on CONFIG_LIBELF

2013-04-01 Thread David Ahern
Add CONFIG_LIBC as well. It is only used to determine if lack of elf support is due to support missing for libc or libelf. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra C

[PATCH 00/23] perf: integrate with kconfig and CONFIG driven features

2013-04-01 Thread David Ahern
Patches can also be retrieved from: https://github.com/dsahern/linux.git perf-config I still need to add the conf build targets from the top level Makefile. For this RFC series, you can run the commands manually to generate the .config file for perf and the corresponding include/config/auto.con

[PATCH 01/23] perf: initial infrasructure for kconfig

2013-04-01 Thread David Ahern
Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Cc: linux-k

[PATCH 05/23] perf: make newt support based on CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 46 +-- tools/perf/Pconfig

[PATCH 06/23] perf: remove NEWT_SUPPORT in favor of CONFIG_NEWT

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile|1 - tools/perf/ui/ui.h |3 ++- tools/perf/util/annota

[PATCH 03/23] perf: make python support based on CONFIG_LIBPYTHON

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 105 +++ tools/perf/Pconfig

[PATCH 04/23] perf: make gtk2 support based on CONFIG_GTK2

2013-04-01 Thread David Ahern
Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Makefile | 39 --- tools/perf/Pconfig

[PATCH 01/23] perf: initial infrasructure for kconfig

2013-04-01 Thread David Ahern
Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Cc: linux-k

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread Zhouping Liu
On 04/02/2013 11:40 AM, Lin Feng wrote: Hi Zhouping, On 04/02/2013 11:09 AM, Zhouping Liu wrote: I don't understand clearly the last sentence 'you'll probably only get 100% hugepages only 1/512th of the time.' could you please explain more details about 'only 1/512th of the time'? IIUC, thp s

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread David Rientjes
On Tue, 2 Apr 2013, Lin Feng wrote: > > so, again, if I understand correctly, thp should tune the naturally aligned > > maps, such as generated by mmap()/malloc(), > > make such maps 'hugepagesize' aligned if the maps or vma is equal and > > greater than 'hugepagesize', doesn't it? > > We may g

Re: THP: AnonHugePages in /proc/[pid]/smaps is correct or not?

2013-04-01 Thread Lin Feng
Hi Zhouping, On 04/02/2013 11:09 AM, Zhouping Liu wrote: > I don't understand clearly the last sentence 'you'll probably only get 100% > hugepages only 1/512th of the time.' > could you please explain more details about 'only 1/512th of the time'? IIUC, thp size is 2M so it may be comprised of 5

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

2013-04-01 Thread Stephen Rothwell
Hi Larry, On Mon, 01 Apr 2013 22:07:24 -0500 Larry Finger wrote: > > On 04/01/2013 09:34 PM, Stephen Rothwell wrote: > > > > After merging the wireless-next tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/net/wireless/rtlwifi/rtl8188ee/dm.c:30:18: fatal

Re: [PATCH 20/33] aio: give shared kioctx fields their own cachelines

2013-04-01 Thread Theodore Ts'o
Reviewed-by: "Theodore Ts'o" -- 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.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 19/33] aio: kill struct aio_ring_info

2013-04-01 Thread Theodore Ts'o
On Thu, Mar 21, 2013 at 09:35:40AM -0700, Kent Overstreet wrote: > struct aio_ring_info was kind of odd, the only place it's used is where > it's embedded in struct kioctx - there's no real need for it. > > The next patch rearranges struct kioctx and puts various things on their > own cachelines -

[patch v3 4/8] sched: update cpu load after task_tick.

2013-04-01 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 8843cd3..e3233d3 100644 --- a/kernel/sched/core.c +

[patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-01 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 | 11 ++- 1 file changed, 10 insertions

[patch v3 5/8] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-04-01 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 v3 8/8] sched: use instant load for burst wake up

2013-04-01 Thread Alex Shi
If many tasks sleep long time, their runnable load are zero. And if they are waked up bursty, too light runnable load causes big imbalance among CPU. So such benchmark, like aim9 drop 5~7%. With this patch the losing is covered, and even is slight better. Signed-off-by: Alex Shi --- kernel/sche

  1   2   3   4   5   6   7   >