Re: [PATCH 4/4] net/smsc911x: Provide common clock functionality

2013-01-09 Thread Lee Jones
On Wed, 19 Dec 2012, Lee Jones wrote: > Some platforms provide clocks which require enabling before the > SMSC911x chip will power on. This patch uses the new common clk > framework to do just that. If no clock is provided, it will just > be ignored and the driver will continue to assume that no

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Glauber Costa
Hi. I have a couple of small questions. On 01/04/2013 12:29 PM, Anton Vorontsov wrote: > This commit implements David Rientjes' idea of mempressure cgroup. > > The main characteristics are the same to what I've tried to add to vmevent > API; internally, it uses Mel Gorman's idea of

Re: [PATCH 3/4] clk: ux500: Provide an alias for the SMSC911x Ethernet chip

2013-01-09 Thread Lee Jones
On Wed, 19 Dec 2012, Lee Jones wrote: > In the case of some of the ux500 platforms, an Ethernet chip is > placed on an extended bus which is traditionally used as a NAND > flash chip placeholder. The p3_pclk0 clock is used to control it, > so we are required to provide and easy way to access it

Re: [PATCH 4/4 v3] net/smsc911x: Provide common clock functionality

2013-01-09 Thread Lee Jones
On Thu, 03 Jan 2013, Linus Walleij wrote: > On Thu, Jan 3, 2013 at 12:14 PM, Lee Jones wrote: > > > Some platforms provide clocks which require enabling before the > > SMSC911x chip will power on. This patch uses the new common clk > > framework to do just that. If no clock is provided, it will

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Eric Wong
Eric Wong wrote: > Oops, I had to restart my test :x. However, I was able to reproduce the > issue very quickly again with your patch. I've double-checked I'm > booting into the correct kernel, but I do have more load on this > laptop host now, so maybe that made it happen more quickly...

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Eric Wong
Eric Wong wrote: > Eric Dumazet wrote: > > On Tue, 2013-01-08 at 18:32 -0800, Eric Dumazet wrote: > > > Hmm, it seems sk_filter() can return -ENOMEM because skb has the > > > pfmemalloc() set. > > > > > > > > One TCP socket keeps retransmitting an SKB via loopback, and TCP stack > > > drops

[PATCH 3/3] staging: rtl8192u: fixed coding style issues in r8192U_core.c

2013-01-09 Thread Patrik Karlin
This patch fixes some coding style issuses in r8192U_core.c No logic is changed Signed-off-by: Patrik Kårlin --- drivers/staging/rtl8192u/r8192U_core.c | 35 ++-- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c

[PATCH 0/3] staging: rtl8192u: clean up

2013-01-09 Thread patrik karlin
This fixes some indentation adds some spaces and removes some not used else branches. [PATCH 1/3] staging: rtl8192u: fixed some coding style issues in r8192U_core.c [PATCH 2/3] staging: rtl8192u: removed some non used else's [PATCH 3/3] staging: rtl8192u: fixed coding style issues in

[PATCH 2/3] staging: rtl8192u: removed some non used else's

2013-01-09 Thread Patrik Karlin
This patch removes some else blocks that has no function in the code Signed-off-by: Patrik Kårlin --- drivers/staging/rtl8192u/r8192U_core.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c

[PATCH 1/3] staging: rtl8192u: fixed some coding style issues in r8192U_core.c

2013-01-09 Thread Patrik Karlin
This patch fixes some coding style issues. in r8192U_core.c No logic is changed. Signed-off-by: Patrik Kårlin --- drivers/staging/rtl8192u/r8192U_core.c | 80 +++- 1 file changed, 37 insertions(+), 43 deletions(-) diff --git

Re: [PATCH] staging: imx-drm: ipu-common: Remove unused variable

2013-01-09 Thread Sascha Hauer
On Wed, Jan 09, 2013 at 12:32:02AM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix the following warning when building with W=1 option: > > drivers/staging/imx-drm/ipu-v3/ipu-common.c: In function 'ipu_remove': > drivers/staging/imx-drm/ipu-v3/ipu-common.c:1145:19: warning: variable

Re: [PATCH 1/3] net: stmac: add gmac autonet set for SGMII, TBI, and RTBI

2013-01-09 Thread Giuseppe CAVALLARO
Hello Byungho On 1/9/2013 12:35 AM, Byungho An wrote: This patch adds gmac autoneg set function for SGMII, TBI, and RTBI interface. In case of PHY's autoneg is set, gmac's autoneg enable bit should set. After checking phy's autoneg if phydev's autoneg is '1' gmac's ANE bit set for those

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Alex Shi
On 01/09/2013 03:54 PM, Namhyung Kim wrote: > Hi Alex, > > On Wed, 09 Jan 2013 15:33:40 +0800, Alex Shi wrote: >> On 01/09/2013 02:50 PM, Namhyung Kim wrote: >>> From: Namhyung Kim >>> >>> AFAICS @target cpu of select_idle_sibling() is always either prev_cpu >>> or this_cpu. So no need to check

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-09 Thread Linus Walleij
On Wed, Jan 9, 2013 at 9:11 AM, Lee Jones wrote: > On Tue, 08 Jan 2013, Arnd Bergmann wrote: > >> On Tuesday 08 January 2013, Pantelis Antoniou wrote: >> > On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: >> > >> > > On Tuesday 08 January 2013, Lee Jones wrote: >> > >>> If there is not, there is

Re: [PATCH] writeback: fix writeback cache thrashing

2013-01-09 Thread Namjae Jeon
> > Yeah, that IO pattern is not good. Perhaps it's 6 small IOs in /one/ > second? However that's not quite in line with "sleep 2sec" in your > workload description. Note that I assume flush-8:0 works on a hard > disk, so each flush-8:0 line indicates roughly 1 second interval > elapsed. It would

Re: [RFC PATCH v8 0/5] IPC: checkpoint/restore in userspace enhancements

2013-01-09 Thread Stanislav Kinsbursky
22.12.2012 19:43, Sasha Levin пишет: On 12/21/2012 04:57 PM, Sasha Levin wrote: On 12/21/2012 03:46 PM, Stanislav Kinsbursky wrote: 21.12.2012 00:47, Andrew Morton пишет: On Thu, 20 Dec 2012 08:06:32 +0400 Stanislav Kinsbursky wrote: 19.12.2012 00:36, Andrew Morton __: On Wed, 24

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Preeti U Murthy
On 01/09/2013 12:20 PM, Namhyung Kim wrote: > From: Namhyung Kim > > AFAICS @target cpu of select_idle_sibling() is always either prev_cpu > or this_cpu. So no need to check it again and the conditionals can be > consolidated. > > Cc: Mike Galbraith > Cc: Preeti U Murthy > Cc: Vincent

[PATCH] Eliminate the forced speed reduction algorithm

2013-01-09 Thread Kirill Kapranov
NET/PHY: Eliminate the forced speed reduction algorithm. In case of the fixed speed set up for NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with ethernet cable plugged off, mentioned algorithm slows down NIC speed, so the further "hooking up" gives no result. AFAIK, this behaviour

[resend][PATCH 02/16] dw_dmac: absence of pdata isn't critical when autocfg is set

2013-01-09 Thread Andy Shevchenko
The patch allows to probe the device when platform data is absent and hardware auto configuration is enabled. In that case the default platform data is used where the channel allocation order is set to ascending, channel priority is set to ascending, and private property is set to true.

[resend][PATCH 00/16] dw_dmac related patchset

2013-01-09 Thread Andy Shevchenko
There is a patchset against dw_dmac driver. It has been resent for Vinod to review after he returned back from vacation and holidays. That's why there is no Cc list. Andy Shevchenko (15): dw_dmac: call .probe after we have a device in place dw_dmac: absence of pdata isn't critical when

[resend][PATCH 05/16] dma: dw_dmac: check direction properly in dw_dma_cyclic_prep

2013-01-09 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar ---

Re: [PATCH] ath9k_htc: Fix skb leaks

2013-01-09 Thread Sujith Manoharan
Larry Finger wrote: > > I'll come up with a patch and see if kmemleak still complains. > > Did I miss your posting on this issue? Nope, I haven't got to this yet, sorry. I'll try to send a patch by today. Sujith -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[resend][PATCH 04/16] dma: at_hdmac: check direction properly for cyclic transfers

2013-01-09 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Acked-by:

[resend][PATCH 11/16] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-09 Thread Andy Shevchenko
The same information could be exctracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 27 --- drivers/dma/dw_dmac_regs.h |3 ---

[resend][PATCH 08/16] dma: ste_dma40: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Reviewed-by: Linus Walleij --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c

[resend][PATCH 16/16] dma: dw_dmac: clear suspend bit during termination

2013-01-09 Thread Andy Shevchenko
From: Heikki Krogerus The DMA transfer could not be established if previously it was paused and terminated. In that case the channel's suspend bit remains set that prevents to transfer anything until channel is resumed. The patch adds a code that clears the DWC_CFGL_CH_SUSP bit during

[resend][PATCH 14/16] dw_dmac: update tx_node_active in dwc_do_single_block

2013-01-09 Thread Andy Shevchenko
The "else" keyword in the dw_dma_tasklet is removed as well. All together simplifies the logic of the code and understanding of what is happening there. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 14 ++ 1 file changed, 6 insertions(+), 8

[resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-09 Thread Andy Shevchenko
If we don't yet have the platform device for the driver when it is being loaded we fail to probe the driver. So instead of calling probe() directly we call platform_driver_register(). It will call the probe() immediately if we have the device but also makes the driver to work on platforms where

[resend][PATCH 09/16] dw_dmac: store direction in the custom channel structure

2013-01-09 Thread Andy Shevchenko
Currently the direction value comes from the generic slave configuration structure and explicitly as a preparation function parameter. The first one is kinda obsoleted. Thus, we have to store the value passed to the preparation function somewhere in our structures to be able to use it later. The

[resend][PATCH 15/16] dma: dw_dmac: add dwc_chan_pause and dwc_chan_resume

2013-01-09 Thread Andy Shevchenko
We will use at least the dwc_chan_resume() later. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index

[resend][PATCH 10/16] dw_dmac: make usage of dw_dma_slave optional

2013-01-09 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

[resend][PATCH 07/16] dma: ipu_idmac: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Cc: Guennadi Liakhovetski --- drivers/dma/ipu/ipu_idmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ipu/ipu_idmac.c

[resend][PATCH 06/16] dma: ep93xx_dma: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Acked-by: Mika Westerberg --- drivers/dma/ep93xx_dma.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/ep93xx_dma.c

[resend][PATCH 13/16] dw_dmac: remove redundant check

2013-01-09 Thread Andy Shevchenko
There is no need to check the callback_required parameter, due to we check the callback pointer to be a non-NULL. Signed-off-by: Andy Shevchenko Acked-by: Viresh Kumar --- drivers/dma/dw_dmac.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/dw_dmac.c

[resend][PATCH 12/16] dw_dmac: check for mapping errors

2013-01-09 Thread Andy Shevchenko
Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y [ 45.775943] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() [ 45.782369] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map error[device address=0x356efcc0] [size=28 bytes] [mapped as single]

[resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Andy Shevchenko
This function helps to distinguish the slave type of transfer by checking the direction parameter. Signed-off-by: Andy Shevchenko Reviewed-by: Viresh Kumar Reviewed-by: Mika Westerberg Reviewed-by: Linus Walleij Cc: Nicolas Ferre Cc: Guennadi Liakhovetski --- include/linux/dmaengine.h |

Re: [PATCH v2] drivers/pinctrl: grab default handles from device core

2013-01-09 Thread Linus Walleij
On Wed, Jan 2, 2013 at 2:42 PM, Linus Walleij wrote: > On Wed, Dec 12, 2012 at 10:54 PM, Greg Kroah-Hartman > wrote: >> On Wed, Dec 12, 2012 at 09:25:07PM +0100, Linus Walleij wrote: >>> From: Linus Walleij >>> >>> This makes the device core auto-grab the pinctrl handle and set >>> the

Re: [PATCH] pwm: add Exynos PWM driver

2013-01-09 Thread Thierry Reding
On Thu, Dec 13, 2012 at 07:16:36PM +0900, Joonyoung Shim wrote: > This is PWM driver to support 4 pwm for Exynos SoCs. Also this supports > device tree node. Maybe something like the following would read better: This is a PWM driver to support 4 PWM devices for Exynos SoCs. The

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2013-01-09 Thread Gerd Hoffmann
On 01/09/13 03:22, Dmitry Torokhov wrote: > On Tue, Jan 08, 2013 at 05:46:01PM -0800, David Miller wrote: >> I'd much rather see a hypervisor neutral solution than a hypervisor >> specific one which this certainly is. > > Objectively speaking neither solution is hypervisor neutral as there are >

[PATCH] Fix build error due to bio_endio_batch

2013-01-09 Thread Minchan Kim
This patch fixes build error of recent mmotm. Cc: Kent Overstreet Signed-off-by: Minchan Kim --- I don't know who already fix it. include/linux/bio.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/bio.h b/include/linux/bio.h index ad62bdb..5f5491767

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-09 Thread Lee Jones
On Tue, 08 Jan 2013, Arnd Bergmann wrote: > On Tuesday 08 January 2013, Pantelis Antoniou wrote: > > On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: > > > > > On Tuesday 08 January 2013, Lee Jones wrote: > > >>> If there is not, there is no way to automatically load the overlays; > > >>> you

Re: [PATCH] usb: gadget: FunctionFS: Fix missing braces in parse_opts

2013-01-09 Thread Michal Nazarewicz
On Wed, Jan 09 2013, Benoit Goby wrote: > Add missing braces around an if block in ffs_fs_parse_opts. This broke > parsing the uid/gid mount options and causes mount to fail when using > uid/gid. This has been introduced by commit b9b73f7c (userns: Convert usb > functionfs to use kuid/kgid where

Re: 3.2.35 problem with M5A97 PRO ram: bad_page free_pages_prepare mem_init

2013-01-09 Thread l...@tigusoft.pl
On 08/01/13 16:59, Borislav Petkov wrote: > On Tue, Jan 08, 2013 at 01:21:26AM +0100, l...@tigusoft.pl wrote: >> On 08/01/13 01:13, l...@tigusoft.pl wrote: >> >>> linux kernel >>> 3.2.0-0.bpo.4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.35-2~bpo60+1 x86_64 >>> GNU/Linux >> >> will post later how it

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Namhyung Kim
On Wed, 09 Jan 2013 15:38:11 +0800, Alex Shi wrote: >> >> Uh, we don't know if the target is this_cpu or previous cpu, If we just >> check the target idle status, we may miss another idle cpu. So this >> patch change the logical in this function. > > But, you can fold wake_affine into

Re: mmap regression on power7?

2013-01-09 Thread CAI Qian
- Original Message - > From: "CAI Qian" > To: "linux-mm" > Cc: "linux-kernel" > Sent: Tuesday, January 8, 2013 5:46:32 PM > Subject: mmap regression on power7? > > Noticed that this test is failing at the moment up to v3.8.0-rc1, This turned out to be a possible gcc regression

Re: mmap regression on power7?

2013-01-09 Thread CAI Qian
- Original Message - From: CAI Qian caiq...@redhat.com To: linux-mm linux...@kvack.org Cc: linux-kernel linux-kernel@vger.kernel.org Sent: Tuesday, January 8, 2013 5:46:32 PM Subject: mmap regression on power7? Noticed that this test is failing at the moment up to v3.8.0-rc1,

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Namhyung Kim
On Wed, 09 Jan 2013 15:38:11 +0800, Alex Shi wrote: Uh, we don't know if the target is this_cpu or previous cpu, If we just check the target idle status, we may miss another idle cpu. So this patch change the logical in this function. But, you can fold wake_affine into

Re: 3.2.35 problem with M5A97 PRO ram: bad_page free_pages_prepare mem_init

2013-01-09 Thread l...@tigusoft.pl
On 08/01/13 16:59, Borislav Petkov wrote: On Tue, Jan 08, 2013 at 01:21:26AM +0100, l...@tigusoft.pl wrote: On 08/01/13 01:13, l...@tigusoft.pl wrote: linux kernel 3.2.0-0.bpo.4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.35-2~bpo60+1 x86_64 GNU/Linux will post later how it behaves on vanilla

Re: [PATCH] usb: gadget: FunctionFS: Fix missing braces in parse_opts

2013-01-09 Thread Michal Nazarewicz
On Wed, Jan 09 2013, Benoit Goby ben...@android.com wrote: Add missing braces around an if block in ffs_fs_parse_opts. This broke parsing the uid/gid mount options and causes mount to fail when using uid/gid. This has been introduced by commit b9b73f7c (userns: Convert usb functionfs to use

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-09 Thread Lee Jones
On Tue, 08 Jan 2013, Arnd Bergmann wrote: On Tuesday 08 January 2013, Pantelis Antoniou wrote: On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: On Tuesday 08 January 2013, Lee Jones wrote: If there is not, there is no way to automatically load the overlays; you can always use

[PATCH] Fix build error due to bio_endio_batch

2013-01-09 Thread Minchan Kim
This patch fixes build error of recent mmotm. Cc: Kent Overstreet koverstr...@google.com Signed-off-by: Minchan Kim minc...@kernel.org --- I don't know who already fix it. include/linux/bio.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/bio.h

Re: [Pv-drivers] [PATCH 0/6] VSOCK for Linux upstreaming

2013-01-09 Thread Gerd Hoffmann
On 01/09/13 03:22, Dmitry Torokhov wrote: On Tue, Jan 08, 2013 at 05:46:01PM -0800, David Miller wrote: I'd much rather see a hypervisor neutral solution than a hypervisor specific one which this certainly is. Objectively speaking neither solution is hypervisor neutral as there are

Re: [PATCH] pwm: add Exynos PWM driver

2013-01-09 Thread Thierry Reding
On Thu, Dec 13, 2012 at 07:16:36PM +0900, Joonyoung Shim wrote: This is PWM driver to support 4 pwm for Exynos SoCs. Also this supports device tree node. Maybe something like the following would read better: This is a PWM driver to support 4 PWM devices for Exynos SoCs. The

Re: [PATCH v2] drivers/pinctrl: grab default handles from device core

2013-01-09 Thread Linus Walleij
On Wed, Jan 2, 2013 at 2:42 PM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Dec 12, 2012 at 10:54 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Dec 12, 2012 at 09:25:07PM +0100, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org This makes the

[resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Andy Shevchenko
This function helps to distinguish the slave type of transfer by checking the direction parameter. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com Reviewed-by: Linus

[resend][PATCH 13/16] dw_dmac: remove redundant check

2013-01-09 Thread Andy Shevchenko
There is no need to check the callback_required parameter, due to we check the callback pointer to be a non-NULL. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c |2 +- 1 file changed, 1 insertion(+), 1

[resend][PATCH 12/16] dw_dmac: check for mapping errors

2013-01-09 Thread Andy Shevchenko
Otherwise we get a warning in case of CONFIG_DMA_API_DEBUG=y [ 45.775943] WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac() [ 45.782369] dw_dmac dw_dmac.0: DMA-API: device driver failed to check map error[device address=0x356efcc0] [size=28 bytes] [mapped as single]

[resend][PATCH 06/16] dma: ep93xx_dma: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Acked-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/dma/ep93xx_dma.c |3 +-- 1 file changed, 1

[resend][PATCH 10/16] dw_dmac: make usage of dw_dma_slave optional

2013-01-09 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

[resend][PATCH 07/16] dma: ipu_idmac: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/dma/ipu/ipu_idmac.c |2 +- 1 file changed, 1

[resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-09 Thread Andy Shevchenko
If we don't yet have the platform device for the driver when it is being loaded we fail to probe the driver. So instead of calling probe() directly we call platform_driver_register(). It will call the probe() immediately if we have the device but also makes the driver to work on platforms where

[resend][PATCH 09/16] dw_dmac: store direction in the custom channel structure

2013-01-09 Thread Andy Shevchenko
Currently the direction value comes from the generic slave configuration structure and explicitly as a preparation function parameter. The first one is kinda obsoleted. Thus, we have to store the value passed to the preparation function somewhere in our structures to be able to use it later. The

[resend][PATCH 15/16] dma: dw_dmac: add dwc_chan_pause and dwc_chan_resume

2013-01-09 Thread Andy Shevchenko
We will use at least the dwc_chan_resume() later. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git

[resend][PATCH 14/16] dw_dmac: update tx_node_active in dwc_do_single_block

2013-01-09 Thread Andy Shevchenko
The else keyword in the dw_dma_tasklet is removed as well. All together simplifies the logic of the code and understanding of what is happening there. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c | 14

[resend][PATCH 08/16] dma: ste_dma40: reuse is_slave_xfer helper

2013-01-09 Thread Andy Shevchenko
The is_slave_xfer helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Reviewed-by: Linus Walleij linus.wall...@linaro.org --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1

[resend][PATCH 16/16] dma: dw_dmac: clear suspend bit during termination

2013-01-09 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com The DMA transfer could not be established if previously it was paused and terminated. In that case the channel's suspend bit remains set that prevents to transfer anything until channel is resumed. The patch adds a code that clears the

[resend][PATCH 04/16] dma: at_hdmac: check direction properly for cyclic transfers

2013-01-09 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com

[resend][PATCH 11/16] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-09 Thread Andy Shevchenko
The same information could be exctracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c | 27

Re: [PATCH] ath9k_htc: Fix skb leaks

2013-01-09 Thread Sujith Manoharan
Larry Finger wrote: I'll come up with a patch and see if kmemleak still complains. Did I miss your posting on this issue? Nope, I haven't got to this yet, sorry. I'll try to send a patch by today. Sujith -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[resend][PATCH 05/16] dma: dw_dmac: check direction properly in dw_dma_cyclic_prep

2013-01-09 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com

[resend][PATCH 00/16] dw_dmac related patchset

2013-01-09 Thread Andy Shevchenko
There is a patchset against dw_dmac driver. It has been resent for Vinod to review after he returned back from vacation and holidays. That's why there is no Cc list. Andy Shevchenko (15): dw_dmac: call .probe after we have a device in place dw_dmac: absence of pdata isn't critical when

[resend][PATCH 02/16] dw_dmac: absence of pdata isn't critical when autocfg is set

2013-01-09 Thread Andy Shevchenko
The patch allows to probe the device when platform data is absent and hardware auto configuration is enabled. In that case the default platform data is used where the channel allocation order is set to ascending, channel priority is set to ascending, and private property is set to true.

[PATCH] Eliminate the forced speed reduction algorithm

2013-01-09 Thread Kirill Kapranov
NET/PHY: Eliminate the forced speed reduction algorithm. In case of the fixed speed set up for NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with ethernet cable plugged off, mentioned algorithm slows down NIC speed, so the further hooking up gives no result. AFAIK, this behaviour

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Preeti U Murthy
On 01/09/2013 12:20 PM, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com AFAICS @target cpu of select_idle_sibling() is always either prev_cpu or this_cpu. So no need to check it again and the conditionals can be consolidated. Cc: Mike Galbraith efa...@gmx.de Cc: Preeti U

Re: [RFC PATCH v8 0/5] IPC: checkpoint/restore in userspace enhancements

2013-01-09 Thread Stanislav Kinsbursky
22.12.2012 19:43, Sasha Levin пишет: On 12/21/2012 04:57 PM, Sasha Levin wrote: On 12/21/2012 03:46 PM, Stanislav Kinsbursky wrote: 21.12.2012 00:47, Andrew Morton пишет: On Thu, 20 Dec 2012 08:06:32 +0400 Stanislav Kinsburskyskinsbur...@parallels.com wrote: 19.12.2012 00:36, Andrew Morton

Re: [PATCH] writeback: fix writeback cache thrashing

2013-01-09 Thread Namjae Jeon
Yeah, that IO pattern is not good. Perhaps it's 6 small IOs in /one/ second? However that's not quite in line with sleep 2sec in your workload description. Note that I assume flush-8:0 works on a hard disk, so each flush-8:0 line indicates roughly 1 second interval elapsed. It would be much

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-09 Thread Linus Walleij
On Wed, Jan 9, 2013 at 9:11 AM, Lee Jones lee.jo...@linaro.org wrote: On Tue, 08 Jan 2013, Arnd Bergmann wrote: On Tuesday 08 January 2013, Pantelis Antoniou wrote: On Jan 8, 2013, at 2:12 PM, Arnd Bergmann wrote: On Tuesday 08 January 2013, Lee Jones wrote: If there is not, there is

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-09 Thread Alex Shi
On 01/09/2013 03:54 PM, Namhyung Kim wrote: Hi Alex, On Wed, 09 Jan 2013 15:33:40 +0800, Alex Shi wrote: On 01/09/2013 02:50 PM, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com AFAICS @target cpu of select_idle_sibling() is always either prev_cpu or this_cpu. So no need to

Re: [PATCH 1/3] net: stmac: add gmac autonet set for SGMII, TBI, and RTBI

2013-01-09 Thread Giuseppe CAVALLARO
Hello Byungho On 1/9/2013 12:35 AM, Byungho An wrote: This patch adds gmac autoneg set function for SGMII, TBI, and RTBI interface. In case of PHY's autoneg is set, gmac's autoneg enable bit should set. After checking phy's autoneg if phydev's autoneg is '1' gmac's ANE bit set for those

Re: [PATCH] staging: imx-drm: ipu-common: Remove unused variable

2013-01-09 Thread Sascha Hauer
On Wed, Jan 09, 2013 at 12:32:02AM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following warning when building with W=1 option: drivers/staging/imx-drm/ipu-v3/ipu-common.c: In function 'ipu_remove':

[PATCH 1/3] staging: rtl8192u: fixed some coding style issues in r8192U_core.c

2013-01-09 Thread Patrik Karlin
This patch fixes some coding style issues. in r8192U_core.c No logic is changed. Signed-off-by: Patrik Kårlin patrik.kar...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c | 80 +++- 1 file changed, 37 insertions(+), 43 deletions(-) diff --git

[PATCH 2/3] staging: rtl8192u: removed some non used else's

2013-01-09 Thread Patrik Karlin
This patch removes some else blocks that has no function in the code Signed-off-by: Patrik Kårlin patrik.kar...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c

[PATCH 3/3] staging: rtl8192u: fixed coding style issues in r8192U_core.c

2013-01-09 Thread Patrik Karlin
This patch fixes some coding style issuses in r8192U_core.c No logic is changed Signed-off-by: Patrik Kårlin patrik.kar...@gmail.com --- drivers/staging/rtl8192u/r8192U_core.c | 35 ++-- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git

[PATCH 0/3] staging: rtl8192u: clean up

2013-01-09 Thread patrik karlin
This fixes some indentation adds some spaces and removes some not used else branches. [PATCH 1/3] staging: rtl8192u: fixed some coding style issues in r8192U_core.c [PATCH 2/3] staging: rtl8192u: removed some non used else's [PATCH 3/3] staging: rtl8192u: fixed coding style issues in

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Eric Wong
Eric Wong normalper...@yhbt.net wrote: Eric Dumazet erdnet...@gmail.com wrote: On Tue, 2013-01-08 at 18:32 -0800, Eric Dumazet wrote: Hmm, it seems sk_filter() can return -ENOMEM because skb has the pfmemalloc() set. One TCP socket keeps retransmitting an SKB via loopback, and

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Eric Wong
Eric Wong normalper...@yhbt.net wrote: Oops, I had to restart my test :x. However, I was able to reproduce the issue very quickly again with your patch. I've double-checked I'm booting into the correct kernel, but I do have more load on this laptop host now, so maybe that made it happen more

Re: [PATCH 4/4 v3] net/smsc911x: Provide common clock functionality

2013-01-09 Thread Lee Jones
On Thu, 03 Jan 2013, Linus Walleij wrote: On Thu, Jan 3, 2013 at 12:14 PM, Lee Jones lee.jo...@linaro.org wrote: Some platforms provide clocks which require enabling before the SMSC911x chip will power on. This patch uses the new common clk framework to do just that. If no clock is

Re: [PATCH 3/4] clk: ux500: Provide an alias for the SMSC911x Ethernet chip

2013-01-09 Thread Lee Jones
On Wed, 19 Dec 2012, Lee Jones wrote: In the case of some of the ux500 platforms, an Ethernet chip is placed on an extended bus which is traditionally used as a NAND flash chip placeholder. The p3_pclk0 clock is used to control it, so we are required to provide and easy way to access it from

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Glauber Costa
Hi. I have a couple of small questions. On 01/04/2013 12:29 PM, Anton Vorontsov wrote: This commit implements David Rientjes' idea of mempressure cgroup. The main characteristics are the same to what I've tried to add to vmevent API; internally, it uses Mel Gorman's idea of

Re: [PATCH 4/4] net/smsc911x: Provide common clock functionality

2013-01-09 Thread Lee Jones
On Wed, 19 Dec 2012, Lee Jones wrote: Some platforms provide clocks which require enabling before the SMSC911x chip will power on. This patch uses the new common clk framework to do just that. If no clock is provided, it will just be ignored and the driver will continue to assume that no

Re: [PATCH V3 5/8] memcg: add per cgroup writeback pages accounting

2013-01-09 Thread Sha Zhengju
On Mon, Jan 7, 2013 at 4:07 AM, Greg Thelen gthe...@google.com wrote: On Tue, Dec 25 2012, Sha Zhengju wrote: From: Sha Zhengju handai@taobao.com Similar to dirty page, we add per cgroup writeback pages accounting. The lock rule still is: mem_cgroup_begin_update_page_stat()

Re: [PATCH v3 0/6] Update PCI notification patchset to latest kernel version

2013-01-09 Thread Yijing Wang
On 2013/1/9 2:30, Yinghai Lu wrote: On Tue, Jan 8, 2013 at 8:52 AM, Jiang Liu liu...@gmail.com wrote: Hi Bjorn, Rafael has developed a patchset targetting 3.9 merging window which outdates the fourth and fifth patches in my previous version, so I have just drop those two patches and

RE: [PATCH 7/9] Thermal: Make PER_ZONE values configurable

2013-01-09 Thread R, Durgadoss
Hi Greg, -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, January 08, 2013 12:54 AM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; eduardo.valen...@ti.com; hongbo.zh...@linaro.org; w...@nvidia.com Subject:

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Andrew Morton
On Wed, 9 Jan 2013 12:56:46 +0400 Glauber Costa glom...@parallels.com wrote: +#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_MEMPRESSURE) +SUBSYS(mpc_cgroup) +#endif It might be just me, but if one does not know what this is about, mpc immediately fetches something communication-related to mind. I

[PATCH 1/2] usb: gadget: FunctionFS: Use kstrtoul()

2013-01-09 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com kstrtoul() checks for overflow which simple_strtoul() does not pluss it has “*end == 0” check in it as well. As a side effect, a new line character is now accepted, but this should not be an issue. Signed-off-by: Michal Nazarewicz min...@mina86.com ---

[PATCH 2/2] usb: gadget: FunctionFS: Refactor option parsing

2013-01-09 Thread Michal Nazarewicz
From: Michal Nazarewicz min...@mina86.com The use of memcmp() is clever and all and maybe even it makes parsing a bit faster (since only options with given length need to be checked) but option parsing is hardly a critical path and the additional code complexity is not worth it. Signed-off-by:

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-09 Thread Dmitry Torokhov
On Wed, Jan 09, 2013 at 08:07:45AM +0100, Thierry Reding wrote: On Sun, Jan 06, 2013 at 11:57:48AM -0800, Dmitry Torokhov wrote: On Sun, Jan 06, 2013 at 08:27:39PM +0100, Thierry Reding wrote: On Sat, Jan 05, 2013 at 12:06:58AM -0800, Dmitry Torokhov wrote: On Sat, Jan 05, 2013 at

RE: [PATCH 3/9] Thermal: Add APIs to bind cdev to new zone structure

2013-01-09 Thread R, Durgadoss
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, January 08, 2013 12:56 AM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; eduardo.valen...@ti.com; hongbo.zh...@linaro.org; w...@nvidia.com Subject: Re:

Re: [PATCHv2 0/5] serial: 8250: 8250_dw changes and dynamic capabilities

2013-01-09 Thread Heikki Krogerus
Hi, On Mon, Dec 03, 2012 at 01:17:54PM +0200, Heikki Krogerus wrote: Changes since v1: - rebased on top of Greg's tty-next These are mainly small 8250_dw.c changes. The interesting patch is probable the first one that changes 8250.c so the drivers are able to deliver their UART's

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-09 Thread Thierry Reding
On Wed, Jan 09, 2013 at 01:19:39AM -0800, Dmitry Torokhov wrote: On Wed, Jan 09, 2013 at 08:07:45AM +0100, Thierry Reding wrote: On Sun, Jan 06, 2013 at 11:57:48AM -0800, Dmitry Torokhov wrote: On Sun, Jan 06, 2013 at 08:27:39PM +0100, Thierry Reding wrote: On Sat, Jan 05, 2013 at

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