Re: [PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon

2013-04-03 Thread Chen Gang
Hello maintainers: when you have time, please help to check this patch whether is OK. thanks. gchen. On 2013年03月27日 15:23, Chen Gang wrote: > > need remove semicolon, or always return true. > > Signed-off-by: Chen Gang > --- > drivers/gpu/drm/nouveau/nv50_display.c |2 +- > 1

Re: [PATCH] drivers/block/drbd: remove erroneous semicolon

2013-04-03 Thread Chen Gang
Hello maintainers: when you have time, please help to check this patch whether is OK. thanks. gchen. On 2013年03月27日 14:56, Chen Gang wrote: > > need remove it, or always return -EBUSY. > it is found by compiler with 'EXTRA_CFLAG=-W'. > > Signed-off-by: Chen Gang > --- >

Re: [PATCH] To add NULL pointer check

2013-04-03 Thread Jaegeuk Kim
Hi, 2013-04-03 (수), 12:30 +0530, P J P: > +-- On Wed, 3 Apr 2013, Jaegeuk Kim wrote --+ > | diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c > | index 47a2d7c..cf9ff5f 100644 > | --- a/fs/f2fs/data.c > | +++ b/fs/f2fs/data.c > | @@ -559,6 +559,10 @@ static int f2fs_write_data_pages(struct > |

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

2013-04-03 Thread Dmitry Monakhov
On Wed, 3 Apr 2013 03:14:44 -0400 (EDT), CAI Qian wrote: > > > > [Text Documents:disable-es_lookup_extent.patch] > With this patch, I cannot reproduce it any more. Ok that is second confirmation that bug caused by issue in es_cache, This is not a fix though. So still try to investigate that. >

systemtap broken by removal of register_timer_hook

2013-04-03 Thread Mel Gorman
Commit ba6fdda4 (profiling: Remove unused timer hook) removed [un]register_timer_hook due to a lack of upstream users and a belief that there were no out-of-tree users. However, systemtap uses it and with that patch applied, some stap scripts fail with WARNING: "unregister_timer_hook"

Re: [PATCH -v2] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-03 Thread Li Zefan
On 2013/4/3 15:43, Michal Hocko wrote: > On Wed 03-04-13 11:49:29, Li Zefan wrote: Yes, indeed you are very right - and thanks for looking at such depth. >>> >>> So what about the patch bellow? It seems that I provoked all this mess >>> but my brain managed to push it away so I do not

Re: [PATCH v5 1/3] gpio: gpio-generic: Add 16 and 32 bit big endian byte order support

2013-04-03 Thread Andreas Larson
On 2013-03-27 09:58, Linus Walleij wrote: On Tue, Mar 19, 2013 at 1:40 AM, Anton Vorontsov wrote: On Fri, Mar 15, 2013 at 02:45:38PM +0100, Andreas Larsson wrote: There is no general support for 64-bit big endian accesses, so that is left unsupported. Signed-off-by: Andreas Larsson This

Re: [GIT PULL] at91: DT changes for 3.10 #2

2013-04-03 Thread Nicolas Ferre
On 04/02/2013 08:49 PM, Olof Johansson : > On Fri, Mar 29, 2013 at 03:59:39PM +0100, Nicolas Ferre wrote: >> Arnd, Olof, >> >> Here is a pull-request for AT91 that is dedicated to Device Tree >> modifications. It is stacked on the material that you already have >> for 3.10 in your arm-soc/at91/dt

Re: n_tty_write() going into schedule but NOT coming out

2013-04-03 Thread Vineet Gupta
Hi Ilya On 04/03/2013 11:14 AM, Ilya Zykov wrote: > Please, try this patch maybe it can help localize your problem. > > drivers/tty/n_tty.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c > index 05e72be..28f15d0 100644 > ---

Re: [PATCH -v2] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-03 Thread Michal Hocko
On Wed 03-04-13 11:49:29, Li Zefan wrote: > >> Yes, indeed you are very right - and thanks for looking at such depth. > > > > So what about the patch bellow? It seems that I provoked all this mess > > but my brain managed to push it away so I do not remember why I thought > > the parent needs

Re: [PATCH 2/3] resource: Add release_mem_region_adjustable()

2013-04-03 Thread Gu Zheng
On 04/03/2013 12:17 AM, Toshi Kani wrote: > Added release_mem_region_adjustable(), which releases a requested > region from a currently busy memory resource. This interface > adjusts the matched memory resource accordingly if the requested > region does not match exactly but still fits into. >

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Alex Shi
On 04/03/2013 03:18 PM, Michael Wang wrote: >> > the following patch include the renamed knob, and you can tune it under >> > /proc/sys/kernel/... to see detailed impact degree. > Could I make the conclusion that the improvement on pgbench was caused > by the new weighted_cpuload()? guess too. >

Re: [PATCH] ARM: at91/tc: fix clock source id for tc block > 1

2013-04-03 Thread Nicolas Ferre
On 04/03/2013 06:45 AM, Jean-Christophe PLAGNIOL-VILLARD : > On 18:46 Tue 02 Apr , Boris BREZILLON wrote: >> This patch fixes wrong clock request for TC block 2. >> The second block was using t0_clk, t1_clk and t2_clk clks instead of >> t3_clk, t4_clk and t5_clk clks. >> > this is intended as

Re: [GIT PULL] at91: soc for 3.10 #2

2013-04-03 Thread Nicolas Ferre
On 04/03/2013 02:26 AM, Olof Johansson : > On Wed, Mar 27, 2013 at 12:01 PM, Arnd Bergmann wrote: >> On Wednesday 27 March 2013, Nicolas Ferre wrote: >> >>> >>> Introduction of new Atmel Cortex-A5: SAMA5D3 family. >>> - Modify AT91

Re: [PATCH] timer: Fix possible issues with non serialized timer_pending( )

2013-04-03 Thread Vineet Gupta
Hi Thomas, Did you get a chance to look at this one ! It fixes a real problem for ARC platform - w/o it my stress test setup buckles up in ~20 mins. Thx, -Vineet On 03/29/2013 04:03 PM, Vineet Gupta wrote: > When stress testing ARC Linux from 3.9-rc3, we've hit a serialization > issue when

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Michael Wang
On 04/03/2013 02:53 PM, Alex Shi wrote: > On 04/03/2013 02:22 PM, Michael Wang wrote: 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%.

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

2013-04-03 Thread CAI Qian
> > [Text Documents:disable-es_lookup_extent.patch] With this patch, I cannot reproduce it any more. CAI Qian -- 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

Re: [PATCH] Kbuild: Avoid DTB rebuilds if source files are untouched

2013-04-03 Thread Vineet Gupta
forgot to CC linux-arch On 04/03/2013 12:42 PM, Vineet Gupta wrote: > Currently, for every ARC kernel build I see the following: > > --->8- > DTBarch/arc/boot/dts/angel4.dtb.S > AS arch/arc/boot/dts/angel4.dtb.o > LD arch/arc/boot/dts/built-in.o >

[PATCH] Kbuild: Avoid DTB rebuilds if source files are untouched

2013-04-03 Thread Vineet Gupta
Currently, for every ARC kernel build I see the following: --->8- DTBarch/arc/boot/dts/angel4.dtb.S AS arch/arc/boot/dts/angel4.dtb.o LD arch/arc/boot/dts/built-in.o rm arch/arc/boot/dts/angel4.dtb.S<-- forces rebuild next iter CHK

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-03 Thread Takao Indoh
(2013/04/02 23:05), Joerg Roedel wrote: > On Mon, Apr 01, 2013 at 02:45:18PM +0900, Takao Indoh wrote: >> >> enable_IR >>intel_enable_irq_remapping >> iommu_disable_irq_remapping <== IRES/QIES/TES disabled here >> dmar_disable_qi <== do nothing >> dmar_enable_qi

Re: [PATCH] sysfs: check if one entry has been removed before freeing

2013-04-03 Thread Ming Lei
On Wed, Apr 3, 2013 at 1:35 PM, Greg Kroah-Hartman wrote: > On Wed, Apr 03, 2013 at 11:52:39AM +0800, Ming Lei wrote: >> On Wed, Apr 3, 2013 at 11:04 AM, Dave Jones wrote: >> > On Wed, Apr 03, 2013 at 10:58:23AM +0800, Ming Lei wrote: >> > >> > > diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c >>

Re: [PATCH] To add NULL pointer check

2013-04-03 Thread P J P
+-- On Wed, 3 Apr 2013, Jaegeuk Kim wrote --+ | diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c | index 47a2d7c..cf9ff5f 100644 | --- a/fs/f2fs/data.c | +++ b/fs/f2fs/data.c | @@ -559,6 +559,10 @@ static int f2fs_write_data_pages(struct | address_space *mapping, | int ret; | long

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-03 Thread Sethi Varun-B16395
> -Original Message- > From: Joerg Roedel [mailto:j...@8bytes.org] > Sent: Tuesday, April 02, 2013 9:48 PM > To: Sethi Varun-B16395 > Cc: Yoder Stuart-B08248; Wood Scott-B07421; iommu@lists.linux- > foundation.org; linuxppc-...@lists.ozlabs.org; linux- > ker...@vger.kernel.org;

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Alex Shi
On 04/03/2013 02:22 PM, Michael Wang wrote: >> > >> > 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

Re: [RFC 4/4] mm: Enhance per process reclaim

2013-04-03 Thread Michael Kerrisk (man-pages)
Hi Minchan, On Wed, Apr 3, 2013 at 8:16 AM, Michael Kerrisk (man-pages) wrote: > Hello Minchan > > On Wed, Apr 3, 2013 at 2:23 AM, Minchan Kim wrote: >> Hey Michael, >> >> On Tue, Apr 02, 2013 at 03:25:25PM +0200, Michael Kerrisk wrote: >>> Minchan, >>> >>> On Mon, Mar 25, 2013 at 7:21 AM,

linux-next: Tree for Apr 3

2013-04-03 Thread Stephen Rothwell
Hi all, Changes since 20130402: The nfsd tree gained a conflict against Linus' tree and a build failure for which I reverted 2 commits. The vfs tree lost its build failure but gained another so I used the version from next-20130328. The v4l-dvb tree gained conflicts against the i2c tree. The

Re: NULL pointer at kset_find_obj

2013-04-03 Thread Rusty Russell
David Howells writes: > CAI Qian wrote: > >> Just booted the latest mainline, >> >> [ 35.217698] Request for unknown module key 'Magrathea: Glacier signing >> key: 8b7774b08bc4ee9637073434c10f0823f6fbe523' err -11 > > Can you check back earlier in the dmesg to see whether the kernel tried to

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-03 Thread Viresh Kumar
On 3 April 2013 12:01, stratosk wrote: > I'm sorry, I don't understand. > The goal of this patch is not energy saving. He probably misunderstood it... > The goal is to detect CPU load as soon as possible to increase frequency. > > Could you please clarify this? But he is looking for some

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

2013-04-03 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (arm defconfig) failed like this: fs/built-in.o: In function `nfsd_reply_cache_stats_show': super.c:(.text+0x87308): undefined reference to `__udivdi3' Probably caused by commit 187da2f90879 ("nfsd: keep track of the max and average

Re: [PATCH] To add NULL pointer check

2013-04-03 Thread P J P
Hello Jaegeuk, +-- On Wed, 3 Apr 2013, Jaegeuk Kim wrote --+ | Therefore, I think f2fs_write_data_pages() is better to handle this. Please | review the modified patch. Thanks, | | diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c | index 47a2d7c..cf9ff5f 100644 | --- a/fs/f2fs/data.c | +++

Re: [PATCH v4 0/6] Generic PHY Framework

2013-04-03 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 April 2013 12:01 PM, David Miller wrote: From: Kishon Vijay Abraham I Date: Wed, 3 Apr 2013 11:29:53 +0530 Hi, On Friday 29 March 2013 12:01 AM, David Miller wrote: You really need to CC: net...@vger.kernel.org rather than me explicitly on this patch set. I was

Re: [PATCH v4 0/6] Generic PHY Framework

2013-04-03 Thread David Miller
From: Kishon Vijay Abraham I Date: Wed, 3 Apr 2013 11:29:53 +0530 > Hi, > > On Friday 29 March 2013 12:01 AM, David Miller wrote: >> >> You really need to CC: net...@vger.kernel.org rather than me >> explicitly >> on this patch set. > > I was CC'ing whatever get_maintainer shows. I'll make

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-03 Thread stratosk
I'm sorry, I don't understand. The goal of this patch is not energy saving. The goal is to detect CPU load as soon as possible to increase frequency. Could you please clarify this? Thanks, Stratos "Rafael J. Wysocki" wrote: >On Tuesday, April 02, 2013 06:49:14 PM Stratos Karafotis wrote: >>

Re: [PATCH v2] arm: Add Broadcom BCM2835 RNG driver to bcm2835_defconfig

2013-04-03 Thread Stephen Warren
On 03/24/2013 08:41 AM, Lubomir Rintel wrote: > This enables a driver for random number generator present on Broadcom BCM2835 > SoC, > used in Raspberry Pi and Roku 2 devices. Squashed into bcm2835's for-3.10/defconfig branch. (Lubomir: defconfig updates get squashed to avoid too many patches

Re: [PATCH] bcm2835: Add Broadcom BCM2835 RNG to the device tree

2013-04-03 Thread Stephen Warren
On 03/28/2013 12:12 AM, Lubomir Rintel wrote: > This adds a device tree binding for random number generator present on > Broadcom > BCM2835 SoC, used in Raspberry Pi and Roku 2 devices. Applied to bcm2835's for-3.10/dt tree, with some slight fixups to the patch subject and description

[PATCHv5 2/7] of: Remove duplicated code for validating property and value

2013-04-03 Thread Tony Prisk
Several functions in of/base.c have the same code duplicated for finding and validating a property and value. struct property *prop = of_find_property(np, propname, NULL); if (!prop) return -EINVAL; if (!prop->value) return -ENODATA; if ( > prop->length) return -EOVERFLOW;

[PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
v5 changes: Changed as requested by Rob Herring: Added of_find_property_value_of_size() to drivers/of/base.c to remove some code that was being duplicated. Changed as requested by Stephen Warren: Redid the kfree(maps) code as devm_kzalloc would cause issues. We now kzalloc maps all at once, and

[PATCHv5 3/7] arm: vt8500: Increase available GPIOs on arch-vt8500

2013-04-03 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

[PATCHv5 6/7] arm: vt8500: Remove gpio devicetree nodes

2013-04-03 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 ---

[PATCHv5 7/7] gpio: vt8500: Remove arch-vt8500 gpio driver

2013-04-03 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

[PATCHv5 5/7] arm: dts: vt8500: Update Wondermedia SoC dtsi files for pinctrl driver

2013-04-03 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 +

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

2013-04-03 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: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Michael Wang
On 04/03/2013 12:28 PM, Alex Shi wrote: > On 04/03/2013 11:23 AM, Michael Wang wrote: >> On 04/03/2013 10:56 AM, Alex Shi wrote: >>> On 04/03/2013 10:46 AM, Michael Wang wrote: [snip] > > > From 4722a7567dccfb19aa5afbb49982ffb6d65e6ae5 Mon Sep 17 00:00:00 2001 > From: Alex Shi > Date: Tue, 2

Re: [PATCH v3 01/11] usb: phy: Add APIs for runtime power management

2013-04-03 Thread Vivek Gautam
Hi Kishon, On Wed, Apr 3, 2013 at 10:38 AM, Kishon Vijay Abraham I wrote: > Hi, > > > On Monday 01 April 2013 07:24 PM, Vivek Gautam wrote: >> >> Adding APIs to handle runtime power management on PHY >> devices. PHY consumers may need to wake-up/suspend PHYs >> when they work across

Re: [RFC 4/4] mm: Enhance per process reclaim

2013-04-03 Thread Michael Kerrisk (man-pages)
Hello Minchan On Wed, Apr 3, 2013 at 2:23 AM, Minchan Kim wrote: > Hey Michael, > > On Tue, Apr 02, 2013 at 03:25:25PM +0200, Michael Kerrisk wrote: >> Minchan, >> >> On Mon, Mar 25, 2013 at 7:21 AM, Minchan Kim wrote: >> > >> > Some pages could be shared by several processes. (ex, libc) >> >

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

2013-04-03 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in ipc/msg.c between commit 2dc958fa2fe6 ("ipc: set msg back to -EAGAIN if copy wasn't performed") from Linus' tree and commit "ipc: remove msg handling from queue scan" from the akpm tree. I fixed it up (I think - see below)

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

2013-04-03 Thread jonghwa3 . lee
On 2013년 04월 02일 20:18, Daniel Lezcano wrote: > On 04/02/2013 01:07 PM, jonghwa3@samsung.com wrote: >> On 2013년 04월 02일 19:08, Daniel Lezcano wrote: >> >>> On 04/02/2013 11:37 AM, jonghwa3@samsung.com wrote: On 2013년 04월 02일 16:34, Daniel Lezcano wrote: > On 04/02/2013 08:17

[PATCH v8 8/8] ARM: dts: add pinctrl property for spi node for atmel SoC

2013-04-03 Thread Wenyou Yang
Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/at91sam9260.dtsi | 22 ++ arch/arm/boot/dts/at91sam9263.dtsi | 22 ++ arch/arm/boot/dts/at91sam9g45.dtsi | 22 ++

Re: [PATCH v3 02/11] USB: dwc3: Adjust runtime pm to allow autosuspend

2013-04-03 Thread Vivek Gautam
Hi Felipe, On Tue, Apr 2, 2013 at 1:59 PM, Felipe Balbi wrote: > On Mon, Apr 01, 2013 at 07:24:01PM +0530, Vivek Gautam wrote: >> The current code in the dwc3 probe effectively disables runtime pm >> from ever working because it calls a get() that was never put() until >> device removal.

[PATCH v8 7/8] ARM: dts: add spi nodes for the atmel boards

2013-04-03 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: added spi nodes for the sam9263ek, sam9g20ek, sam9m10g45ek and sam9n12ek boards] [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang Cc: li...@arm.linux.org.uk Cc: linux-kernel@vger.kernel.org ---

[PATCH v8 6/8] ARM: dts: add spi nodes for atmel SoC

2013-04-03 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: add spi nodes for sam9260, sam9263, sam9g45 and sam9n12] [wenyou.y...@atmel.com: remove spi property "cs-gpios" to the board dts files] [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang Cc:

[PATCH v8 5/8] ARM: at91: add clocks for spi dt entries

2013-04-03 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud [ Cc: li...@arm.linux.org.uk Cc: li...@maxim.org.za Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-at91/at91sam9260.c |2 ++ arch/arm/mach-at91/at91sam9g45.c |2 ++ arch/arm/mach-at91/at91sam9n12.c |2 ++

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-03 Thread Alex Shi
On 04/03/2013 01:38 PM, Michael Wang wrote: > On 04/03/2013 12:28 PM, Alex Shi wrote: > [snip] >> >> but the patch may cause some unfairness if this/prev cpu are not burst at >> same time. So could like try the following patch? > > I will try it later, some doubt below :) > > [snip] >> + >> +

[PATCH v8 3/8] spi/spi-atmel: add dmaengine support

2013-04-03 Thread Wenyou Yang
From: Nicolas Ferre Add dmaengine support. Using "has_dma_support" member of struct is used to select the transfer mode: dmaengine or pdc. For the dmaengine transfer mode, it supports both 8 bits and 16 bits transfer. For the dmaengine transfer mode, if it fails to config dmaengine, or if the

[PATCH v8 4/8] spi/spi-atmel: BUG: fix doesn' support 16 bits transfers using PIO

2013-04-03 Thread Wenyou Yang
From: Richard Genoud Fix using PIO transfer mode only support 8 bits transfer, doesn't support 16 bits. Signed-off-by: Richard Genoud Cc: spi-devel-gene...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org [wenyou.y...@atmel.com: submit the patch] Signed-off-by: Wenyou Yang ---

Re: [PATCH v4 0/6] Generic PHY Framework

2013-04-03 Thread Kishon Vijay Abraham I
Hi, On Friday 29 March 2013 12:01 AM, David Miller wrote: You really need to CC: net...@vger.kernel.org rather than me explicitly on this patch set. I was CC'ing whatever get_maintainer shows. I'll make sure to CC net...@vger.kernel.org though there's nothing related to network in this

Re: [PATCH 4/9] f2fs: allocate new segment aligned with sections

2013-04-03 Thread Namjae Jeon
2013/4/1, Jaegeuk Kim : > When allocating a new segment under the LFS mode, we should keep the > section > boundary. > > Signed-off-by: Jaegeuk Kim You can add Reviewed-by: Namjae Jeon Thanks! > --- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH v8 2/8] spi/spi-atmel: add flag to controller data for lock operations

2013-04-03 Thread Wenyou Yang
From: Nicolas Ferre Will allow to drop the lock during DMA operations. Replacing non-irqsave versions with irqsave versions of the lock to make it correct in both pdc and dmaengine transfer mode Signed-off-by: Nicolas Ferre Cc: spi-devel-gene...@lists.sourceforge.net Cc:

[PATCH 3/7] workqueue: rename rebind_workers() to associate_cpu_pool()

2013-04-03 Thread Lai Jiangshan
merge the code of clearing POOL_DISASSOCIATED to rebind_workers(), and rename rebind_workers() to associate_cpu_pool(). It merges high related code together and simplify workqueue_cpu_up_callback(). Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 21

[PATCH 2/7] workqueue: set __WQ_FREEZING only when freezable

2013-04-03 Thread Lai Jiangshan
simplify pwq_adjust_max_active(). make freeze_workqueues_begin() and thaw_workqueues() fast skip non-freezable wq. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/kernel/workqueue.c

[PATCH 4/7] workqueue: simplify workqueue_cpu_up_callback(CPU_ONLINE)

2013-04-03 Thread Lai Jiangshan
If we have 4096 CPUs, workqueue_cpu_up_callback() will travel too much CPUs, to avoid it, we use for_each_cpu_worker_pool() for the cpu pools and use for_each_unbound_pool() for unbound pools. After it, for_each_pool() becomes unused, but we keep it for future possible usage. Signed-off-by: Lai

[PATCH 1/7] workqueue: add __WQ_FREEZING and remove POOL_FREEZING

2013-04-03 Thread Lai Jiangshan
freezing is nothing related to pools, but POOL_FREEZING adds a connection, and causes freeze_workqueues_begin() and thaw_workqueues() complicated. Since freezing is workqueue instance attribute, so we introduce __WQ_FREEZING to wq-flags instead and remove POOL_FREEZING. Signed-off-by: Lai

[PATCH 7/7] workqueue: avoid false negative WARN_ON()

2013-04-03 Thread Lai Jiangshan
it is very common wq-dfl_pwq-refcnt 1. [7.939873] WARNING: at kernel/workqueue.c:4201 destroy_workqueue+0x6a/0x13e() [7.943601] Hardware name: 4286C12 [7.947250] Modules linked in: sdhci_pci sdhci mmc_core usb_storage i915 drm_kms_helper drm i2c_algo_bit i2c_core video [

[PATCH 6/7] workqueue: node-awared allocation for unbound pool

2013-04-03 Thread Lai Jiangshan
calculate the node of the pool earlier, and allocate the pool from the node. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 29 +++-- 1 files changed, 15 insertions(+), 14 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c

[PATCH 5/7] workqueue, use default pwq when fail to allocate node pwd

2013-04-03 Thread Lai Jiangshan
When we fail to allocate the node pwq, we can use the default pwq for the node. Thus we can avoid failure after allocated default pwq, and remove some code for failure path. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 28 +++- 1 files

[patch v7 08/21] sched: scale_rt_power rename and meaning change

2013-04-03 Thread Alex Shi
The scale_rt_power() used to represent the left CPU utilization after reduce rt utilization. so named it as scale_rt_power has a bit inappropriate. Since we need to use the rt utilization in some incoming patches, we just change return value of this function to rt utilization, and rename it as

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

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

Re: GPS driver for Linux - kernel or user-space driver?

2013-04-03 Thread Greg KH
On Wed, Apr 03, 2013 at 06:44:51PM -0700, Marcel Holtmann wrote: Hi Greg, I've been approached by a developer at Sony who wants to publish an open source driver for a Sony GPS receiver module. What does the device look like? USB device? UART? Something else? I've looked in the

[PATCH 1/2] Revert af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Eric W. Biederman
This reverts commit 14134f6584212d585b310ce95428014b653dfaf6. The problem that the above patch was meant to address is that af_unix messages are not being coallesced because we are sending unnecesarry credentials. Not sending credentials in maybe_add_creds totally breaks unconnected unix domain

[PATCH 2/2] af_unix: If we don't care about credentials coallesce all messages

2013-04-03 Thread Eric W. Biederman
It was reported that the following LSB test case failed https://lsbbugs.linuxfoundation.org/attachment.cgi?id=2144 because we were not coallescing unix stream messages when the application was expecting us to. The problem was that the first send was before the socket was accepted and thus

Re: [PATCH] x86: add phys addr validity check for /dev/mem mmap

2013-04-03 Thread H. Peter Anvin
Because git didn't exist before then? Simon Jeons simon.je...@gmail.com wrote: On 04/04/2013 09:32 AM, H. Peter Anvin wrote: On 04/03/2013 06:17 PM, Simon Jeons wrote: e820 also contain mmio, correct? No. So cpu should not access address beyond e820 map(RAM+MMIO). No. -hpa One

linux-next: manual merge of the block tree with the vfs tree

2013-04-03 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in drivers/block/drbd/drbd_proc.c between commit 4dfac87dca02 (procfs: new helper - PDE_DATA(inode)) from the vfs tree and commit 193d01532a73 (drbd: add module_put() on error path in drbd_proc_open()) from the block tree. I

Re: [PATCH] x86: add phys addr validity check for /dev/mem mmap

2013-04-03 Thread Simon Jeons
On 04/04/2013 10:14 AM, H. Peter Anvin wrote: Because git didn't exist before then? Oh, I see, thanks! :-) Simon Jeons simon.je...@gmail.com wrote: On 04/04/2013 09:32 AM, H. Peter Anvin wrote: On 04/03/2013 06:17 PM, Simon Jeons wrote: e820 also contain mmio, correct? No. So cpu

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Eric W. Biederman
Andy Lutomirski l...@amacapital.net writes: On Wed, Apr 3, 2013 at 5:47 PM, Eric W. Biederman ebied...@xmission.com wrote: No. The patch is still bogus. If the problem is that we are not coallescing messages in stream_recvmsg we need a different fix. Probably something like:

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

2013-04-03 Thread Stephen Rothwell
Hi Larry, On Wed, 03 Apr 2013 20:17:01 -0500 Larry Finger larry.fin...@lwfinger.net wrote: On 04/03/2013 08:04 PM, Stephen Rothwell wrote: On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the wireless-next tree, today's linux-next build

Re: [PATCH] THP: Use explicit memory barrier

2013-04-03 Thread Simon Jeons
Hi Minchan, On 04/01/2013 07:45 AM, Minchan Kim wrote: __do_huge_pmd_anonymous_page depends on page_add_new_anon_rmap's spinlock for making sure that clear_huge_page write become visible after set set_pmd_at() write. 1. There are no pte modify, why take page_table_lock here? 2. What's the

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

2013-04-03 Thread Larry Finger
On 04/03/2013 09:36 PM, Stephen Rothwell wrote: Hi Larry, On Wed, 03 Apr 2013 20:17:01 -0500 Larry Finger larry.fin...@lwfinger.net wrote: On 04/03/2013 08:04 PM, Stephen Rothwell wrote: On Thu, 4 Apr 2013 12:00:43 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the

Re: NULL pointer at kset_find_obj

2013-04-03 Thread Rusty Russell
David Howells dhowe...@redhat.com writes: Btw, one thing I've noticed is that sysfs appears to be able to execute code in the module by way of parameter alterations before the module is completely set up. It's preceeded by the module parameter parsing, which can do the same thing, so I don't

Re: [PATCH] Add non-zero module sections to sysfs

2013-04-03 Thread Rusty Russell
Sebastian Wankerl sisew...@cip.cs.fau.de writes: Add non-zero module sections to sysfs on architectures unequal to PARISC. KGDB needs all module sections for proper module debugging. Therefore, commit 35dead4235e2b67da7275b4122fed37099c2f462 is revoked except for PARISC architecture. #ifdef

[PATCH 3/2] scm: Stop passing struct cred

2013-04-03 Thread Eric W. Biederman
Now that uids and gids are completely encapsulated in kuid_t and kgid_t we no longer need to pass struct cred which allowed us to test both the uid and the user namespace for equality. Passing struct cred potentially allows us to pass the entire group list as BSD does but I don't believe the

Re: [PATCH v1 4/9] uretprobes/ppc: Hijack return address

2013-04-03 Thread Ananth N Mavinakayanahalli
On Wed, Apr 03, 2013 at 06:00:34PM +0200, Anton Arapov wrote: Hijack the return address and replace it with a trampoline address. PowerPC implementation. Signed-off-by: Anton Arapov an...@redhat.com Acked-by: Ananth N Mavinakayanahalli ana...@in.ibm.com ---

Re: [PATCH v1 0/9] uretprobes: Return uprobes implementation

2013-04-03 Thread Ananth N Mavinakayanahalli
On Wed, Apr 03, 2013 at 07:45:52PM +0200, Oleg Nesterov wrote: On 04/03, Anton Arapov wrote: ... Looks fine to me. I am going to add this to git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core Ananth. 4/9 uretprobes/ppc looks obviously correct, but could you please review

Re: [PATCH v7 2/2] mm: replace hardcoded 3% with admin_reserve_pages knob

2013-04-03 Thread Simon Jeons
Hi Andrew, On 03/25/2013 09:42 PM, Andrew Shewmaker wrote: Add an admin_reserve_kbytes knob to allow admins to change the hardcoded memory reserve to something other than 3%, which may be multiple gigabytes on large memory systems. Only about 8MB is necessary to enable recovery in the default

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

2013-04-03 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/host/ehci-tegra.c between commit 369a9a9d2af7 (usb: host: ehci-tegra: Fix oops in error cleanup) from the usb tree and commit 4261b8f3538c (usb: host: ehci-tegra: fix PHY error handling) from the usb-gadget

Re: [PATCH 1/5] pinctrl: abx500: Staticize some symbols

2013-04-03 Thread Sachin Kamat
Hi Linus, On 19 March 2013 13:58, Patrice CHOTARD patrice.chot...@st.com wrote: On 03/19/2013 07:31 AM, Sachin Kamat wrote: These symbols are used only in this file. Without this patch we get the following warnings: drivers/pinctrl/pinctrl-abx500.c:520:5: warning: symbol

Re: [PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
On 04/04/13 10:23, Stephen Warren wrote: On 04/03/2013 07:40 AM, Linus Walleij wrote: On Wed, Apr 3, 2013 at 8:24 AM, Tony Prisk li...@prisktech.co.nz wrote: v5 changes: Changed as requested by Rob Herring: Added of_find_property_value_of_size() to drivers/of/base.c to remove some code that

linux-next: manual merge of the staging tree with the vfs tree

2013-04-03 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in drivers/staging/dgrp/dgrp_dpa_ops.c, drivers/staging/dgrp/dgrp_mon_ops.c, drivers/staging/dgrp/dgrp_net_ops.c and drivers/staging/dgrp/dgrp_ports_ops.c between commit 33633903f16f (dgrp procfs fixes, part 5: per-node files)

[PATCH v3 1/2] watchdog: improve w83627hf_wdt to timeout in minute

2013-04-03 Thread Tony Chung
Watchdog should support timeout in minutes. For example, crash dump will usually require 5+ minutes. This patch increase the timeout from 255 seconds to (255*60) seconds and should be good for older LTS releases. This patch need to be rewritten again when this driver migrate to new watchdog

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

2013-04-03 Thread Tony Chung
Observed that the Watchdog Timer Status bit can be set when the driver is loaded. Reset it during initialization. The time-out value must be set to 0 explicitly in this case to prevent an immediate reset. Depending on the motherboard and with watchdog disabled in the BIOS, this reset problem

linux-next: manual merge of the staging tree with the vfs tree

2013-04-03 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/dgrp/dgrp_specproc.c between commit 464b4fd02caa (dgrp procfs fixes, part 2) and various other commits from the vfs tree and commit 433121c6ef51 (staging: dgrp: cleanup sparse warnings) from the staging tree.

RE: [PATCH v3 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-04-03 Thread Philip, Avinash
On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for testing at [3]. Tested for back light support

linux-next: manual merge of the staging tree with the vfs tree

2013-04-03 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in drivers/staging/ccg/f_fs.c and drivers/staging/ccg/rndis.c between commits 465bced2e3ed (ccg: don't bother with fops-owner) and 4dfac87dca02 (procfs: new helper - PDE_DATA(inode)) from the vfs tree and commit 515e6dd20b3f

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-03 Thread Viresh Kumar
Hi Stratos, On 4 April 2013 05:00, Stratos Karafotis strat...@semaphore.gr wrote: I tried to do some measurements simulating a CPU load with a loop that simply counts an integer. The first test simulates a CPU load that lasts 2 x sampling_rate = ~ 2us. The second ~4us and the third

Re: [PATCH 0/3] Sync Android pstore updates

2013-04-03 Thread Anton Vorontsov
On Mon, Apr 01, 2013 at 12:16:57PM -0700, Kees Cook wrote: On Sun, Mar 31, 2013 at 8:22 PM, Anton Vorontsov an...@enomsg.org wrote: Hi all, Here are a few updates from the Android dev tree. Thanks to Arve Hjønnevåg for the code, and John Stultz for actually preparing commits for

Re: [PATCH 1/9] migrate: add migrate_entry_wait_huge()

2013-04-03 Thread Simon Jeons
Ping! On 03/21/2013 07:36 AM, Simon Jeons wrote: Hi Naoya, On 03/21/2013 05:53 AM, Naoya Horiguchi wrote: On Wed, Mar 20, 2013 at 07:57:32AM +0800, Simon Jeons wrote: Hi Naoya, On 02/22/2013 03:41 AM, Naoya Horiguchi wrote: When we have a page fault for the address which is backed by a

Re: [PATCHv5 0/7] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Stephen Warren
Tony Prisk li...@prisktech.co.nz wrote: ... Can you just confirm you want: pinctrl: bcm2835: make use of of_property_read_u32_index() to be included in the pull with this series. I'll get it sent out once you let me know. That sounds fine, thanks. -- Sent from my Android phone with K-9

Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-03 Thread Vivek Gautam
Hi Sarah, On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: Question: Do you still need this patch for 3.10? Felipe's 'next' is closed for 3.10, so this series won't be making it to 3.10 now, as a whole. :-( http://marc.info/?l=linux-usbm=136057666911621w=2

[GIT PULL] arm: vt8500: Add support for pinctrl/gpio module

2013-04-03 Thread Tony Prisk
The following changes since commit 8bb9660418e05bb1845ac1a2428444d78e322cc7: Linux 3.9-rc4 (2013-03-23 16:52:44 -0700) are available in the git repository at: git://server.prisktech.co.nz/git/linuxwmt.git tags/vt8500/pinctrl for you to fetch changes up to

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

2013-04-03 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/mach-imx/cpufreq.c between commits b43a7ffbf33b (cpufreq: Notify all policy-cpus in cpufreq_notify_transition()) and eb2f50ff93f0 (cpufreq: drivers: Remove unnecessary assignments of policy- members) from the pm

Re: linux-next: manual merge of the imx-mxs tree with the pm tree

2013-04-03 Thread Viresh Kumar
On 4 April 2013 10:48, Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/mach-imx/cpufreq.c between commits b43a7ffbf33b (cpufreq: Notify all policy-cpus in cpufreq_notify_transition()) and eb2f50ff93f0 (cpufreq: drivers:

<    3   4   5   6   7   8   9   10   11   12   >