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

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin Tissoires wrote: Hi Mika, On Tue, Jan 8, 2013 at 2:05 PM, Mika Westerberg

Re: [RFC PATCH 0/2] sched: simplify the select_task_rq_fair()

2013-01-09 Thread Michael Wang
On 12/27/2012 02:08 PM, Michael Wang wrote: This patch set is trying to simplify the select_task_rq_fair() with schedule balance map. After get rid of the complex code and reorganize the logical, pgbench show the improvement. Prev: | db_size | clients | tps |

[PATCH v6 09/15] memory-hotplug: remove page table of x86_64 architecture

2013-01-09 Thread Tang Chen
This patch searches a page table about the removed memory, and clear page table for x86_64 architecture. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Jianguo Wu wujian...@huawei.com Signed-off-by: Jiang Liu jiang@huawei.com Signed-off-by: Tang Chen tangc...@cn.fujitsu.com

[PATCH v6 14/15] memory-hotplug: free node_data when a node is offlined

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com We call hotadd_new_pgdat() to allocate memory to store node_data. So we should free it when removing a node. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Reviewed-by: Kamezawa Hiroyuki kamezawa.hir...@jp.fujitsu.com --- mm/memory_hotplug.c | 30

[PATCH v6 05/15] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls __remove_pages(). Note: __remove_pages() for some archtecuture is not implemented

[PATCH v6 13/15] memory-hotplug: remove sysfs file of node

2013-01-09 Thread Tang Chen
This patch introduces a new function try_offline_node() to remove sysfs file of node when all memory sections of this node are removed. If some memory sections of this node are not removed, this function does nothing. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen

[PATCH v6 12/15] memory-hotplug: memory_hotplug: clear zone when removing the memory

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert them when the memory is removed. The patch adds a new function __remove_zone() to do this. Signed-off-by:

[PATCH v6 10/15] memory-hotplug: remove memmap of sparse-vmemmap

2013-01-09 Thread Tang Chen
This patch introduces a new API vmemmap_free() to free and remove vmemmap pagetables. Since pagetable implements are different, each architecture has to provide its own version of vmemmap_free(), just like vmemmap_populate(). Note: vmemmap_free() are not implemented for ia64, ppc, s390, and

[PATCH v6 02/15] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com We remove the memory like this: 1. lock memory hotplug 2. offline a memory block 3. unlock memory hotplug 4. repeat 1-3 to offline all memory blocks 5. lock memory hotplug 6. remove memory(TODO) 7. unlock memory hotplug All memory blocks

[PATCH v6 04/15] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to remove them. Note: The code does not free

[PATCH v6 06/15] memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap

2013-01-09 Thread Tang Chen
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com For removing memmap region of sparse-vmemmap which is allocated bootmem, memmap region of sparse-vmemmap needs to be registered by get_page_bootmem(). So the patch searches pages of virtual mapping and registers the pages by

[PATCH v6 08/15] memory-hotplug: Common APIs to support page tables hot-remove

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com When memory is removed, the corresponding pagetables should alse be removed. This patch introduces some common APIs to support vmemmap pagetable and x86_64 architecture pagetable removing. All pages of virtual mapping in removed memory cannot be freedi if

[PATCH v6 07/15] memory-hotplug: move pgdat_resize_lock into sparse_remove_one_section()

2013-01-09 Thread Tang Chen
In __remove_section(), we locked pgdat_resize_lock when calling sparse_remove_one_section(). This lock will disable irq. But we don't need to lock the whole function. If we do some work to free pagetables in free_section_usemap(), we need to call flush_tlb_all(), which need irq enabled. Otherwise

[PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-09 Thread Tang Chen
Here is the physical memory hot-remove patch-set based on 3.8rc-2. This patch-set aims to implement physical memory hot-removing. The patches can free/remove the following things: - /sys/firmware/memmap/X/{end, start, type} : [PATCH 4/15] - memmap of sparse-vmemmap : [PATCH

[PATCH] nfsd: fix unused nn variable warning in free_client()

2013-01-09 Thread Stanislav Kinsbursky
If CONFIG_LOCKDEP is disabled, then there would be a warning like this: CC [M] fs/nfsd/nfs4state.o fs/nfsd/nfs4state.c: In function ‘free_client’: fs/nfsd/nfs4state.c:1051:19: warning: unused variable ‘nn’ [-Wunused-variable] So, let's add maybe_unused tag to this variable. Signed-off-by:

Re: [PATCH] nfsd: fix unused nn variable warning in free_client()

2013-01-09 Thread Stanislav Kinsbursky
Bruce, sorry, forgot to add: Reported-by: Toralf Förster toralf.foers...@gmx.de 09.01.2013 13:38, Stanislav Kinsbursky пишет: If CONFIG_LOCKDEP is disabled, then there would be a warning like this: CC [M] fs/nfsd/nfs4state.o fs/nfsd/nfs4state.c: In function ‘free_client’:

[PATCH v6 03/15] memory-hotplug: remove redundant codes

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen tangc...@cn.fujitsu.com

[PATCH v6 01/15] memory-hotplug: try to offline the memory twice to avoid dependence

2013-01-09 Thread Tang Chen
From: Wen Congyang we...@cn.fujitsu.com memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, and memory11 under the directory

Re: [PATCH V3 4/8] memcg: add per cgroup dirty 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 This patch adds memcg routines to count dirty pages, which allows memory controller to maintain an accurate view of the amount of its dirty

Re: [PATCHSET] cpuset: decouple cpuset locking from cgroup core, take#2

2013-01-09 Thread Glauber Costa
On 01/04/2013 01:35 AM, Tejun Heo wrote: Note that this leaves memcg as the only external user of cgroup_mutex. Michal, Kame, can you guys please convert memcg to use its own locking too? I've already done this, I just have to rework it according to latest feedback and repost it. It should be

[PATCH RESEND] dma: tegra: implement flags parameters for cyclic transfer

2013-01-09 Thread Laxman Dewangan
The flag parameter is added in the cyclic transfer request. Use the flag option of: - DMA_PREP_INTERRUPT for enabling interrupt. - DMA_CTRL_ACK for deciding whether ack is requred or not for descriptor. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Vinod, This patch was sent before

[PATCH v6 15/15] memory-hotplug: Do not allocate pdgat if it was not freed when offline.

2013-01-09 Thread Tang Chen
Since there is no way to guarentee the address of pgdat/zone is not on stack of any kernel threads or used by other kernel objects without reference counting or other symchronizing method, we cannot reset node_data and free pgdat when offlining a node. Just reset pgdat to 0 and reuse the memory

[PATCH v6 11/15] memory-hotplug: Integrated __remove_section() of CONFIG_SPARSEMEM_VMEMMAP.

2013-01-09 Thread Tang Chen
Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. Signed-off-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Tang Chen

Re: [3.6.9 - 3.7.1 regression] sound: snd_hda_intel codec probing issue?

2013-01-09 Thread Takashi Iwai
At Tue, 08 Jan 2013 21:25:21 +0100, Vincent Blut wrote: Le mardi 08 janvier 2013 à 13:56 +0100, Takashi Iwai a écrit : At Tue, 08 Jan 2013 13:28:55 +0100, From: Takashi Iwai ti...@suse.de Subject: [PATCH] ALSA: hda - Disable runtime D3 for Intel CPT co We've got a few bug reports

[PATCH 1/3] mfd: Fix compile errors and warnings when !CONFIG_AB8500_BM

2013-01-09 Thread Lee Jones
drivers/mfd/ab8500-core.c:1015:21: error: ‘ab8500_bm_data’ undeclared here include/linux/mfd/abx500/ab8500-bm.h:445:13: warning: ‘ab8500_fg_reinit’ defined but not used include/linux/mfd/abx500/ab8500-bm.h:448:13: warning: ‘ab8500_charger_usb_state_changed’ defined but not used

[PATCH 3/3] ARM: ux500: Add Snowball pin configuration for user LED

2013-01-09 Thread Lee Jones
Here we setup the GPIO pin responsible for illuminating the user LED on the Snowball low-cost development board. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/board-mop500-pins.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
As Snowball is a community board it should have its default LED trigger set in 'heartbeat' mode, meaning that it double flashes ~1HZ. This provides an excellent debugging tool when community members are hacking. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/Kconfig |2

Re: [PATCH 2/7] uprobes: Fold xol_alloc_area() into get_xol_area()

2013-01-09 Thread Anton Arapov
On Mon, Dec 31, 2012 at 06:52:16PM +0100, Oleg Nesterov wrote: Currently only xol_get_insn_slot() does get_xol_area() + xol_alloc_area(), but this will have more users and we do not want to copy-and-paste this code. This patch simply moves xol_alloc_area() into get_xol_area() to simplify the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -43,6 +43,8 @@ config MACH_HREFV60 config MACH_SNOWBALL bool

[LTP] [ANNOUNCE] The Linux Test Project has been released for JANUARY 2013

2013-01-09 Thread shubham
Hello all, The first release of New year 2013 has been done for Linux Test Project test suite. The latest version of the test-suite contains 3000+ tests for the Linux OS and can be found at: http://ltp.sourceforge.net/ You can explore our new github page at:

Re: [PATCH 0/7] uprobes: alloc utask/xol_area cleanups and minor fix

2013-01-09 Thread Anton Arapov
On Mon, Dec 31, 2012 at 06:51:50PM +0100, Oleg Nesterov wrote: Hello. This series fixes the minor bug and cleanups the usage of add_utask() and xol_alloc_area(). Plus it cleanups the initializaion of -utask in handle_swbp() paths. Anton, this conflicts with your uretprobe patches, but I

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:06:16AM +0900, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT, gpiod_get cannot return NULL, so you should not check for

Re: [PATCH] PCI: Make pci_find_upstream_pcie_bridge() handle non PCIE VFs well

2013-01-09 Thread Tadeusz Struk
On 01/08/2013 05:05 PM, Don Dutile wrote: (a) no such thing as a non-PCIe VF -- all VFs are PCIe-based. The sriov spec says that a VF doesn't necessarily has to have PCIE cap: 3.5 PCI Express Capability: ... PFs and VFs are required to implement this capability ... subject to the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 --- a/arch/arm/mach-ux500/Kconfig +++ b/arch/arm/mach-ux500/Kconfig @@ -43,6

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT, gpiod_get cannot return NULL, so you should not check for that.

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Benjamin Tissoires
On Wed, Jan 9, 2013 at 10:28 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 10:55:59PM +0100, Benjamin Tissoires wrote: On Tue, Jan 8, 2013 at 7:09 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Tue, Jan 08, 2013 at 02:51:53PM +0100, Benjamin

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:35:22AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of IS_ERR_OR_NULL(), especially on interfaces you introduce yourself. AFAICT,

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 10:06 PM, Arnd Bergmann a...@arndb.de wrote: I like the interface, good idea! Great! This was initially suggested by Linus W. A few questions: Is there a plan for migrating all the existing users of the

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-09 Thread Mika Westerberg
On Tue, Jan 08, 2013 at 10:33:55PM +0100, Rafael J. Wysocki wrote: On 1/8/2013 2:10 PM, Mark Brown wrote: On Tue, Jan 08, 2013 at 02:41:53PM +0200, Mika Westerberg wrote: On Tue, Jan 08, 2013 at 11:02:28AM +, Mark Brown wrote: No, the way to do this is to fix x86 to enable the clock API

Re: [PATCH v5] pwm: atmel: add Timer Counter Block PWM driver

2013-01-09 Thread Boris BREZILLON
On 09/01/2013 08:46, Thierry Reding wrote: On Tue, Jan 08, 2013 at 04:36:42PM +0100, Boris BREZILLON wrote: Hi, This patch adds a PWM driver based on Atmel Timer Counter Block. Timer Counter Block is used in Waveform generator mode. A Timer Counter Block provides up to 6 PWM devices grouped

Re: [PATCH] of: add missing documentation for of_platform_populate()

2013-01-09 Thread Jiri Kosina
On Fri, 23 Nov 2012, Javi Merino wrote: 15c3597d (dt/platform: allow device name to be overridden) added a lookup parameter to of_platform_populate() but did not update the documentation. This patch adds the missing documentation entry. Cc: Grant Likely grant.lik...@secretlab.ca Cc: Jiri

Re: [PATCH] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
On Wed, Jan 09, 2013 at 11:38:24AM +0100, Benjamin Tissoires wrote: If they have reset GPIO or something like that, how else we should we handle this if not in the driver? The i2c-hid core doesn't know for what purpose a given GPIO line is. But the hid protocol aims at reducing the

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig b/arch/arm/mach-ux500/Kconfig index 5dea906..0f25b07 100644 ---

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:44:14AM +, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:35:22AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Alexandre Courbot wrote: On Tue, Jan 8, 2013 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: Please avoid the use of

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 11:08:40AM +, Lee Jones wrote: On Wed, 09 Jan 2013, Russell King - ARM Linux wrote: On Wed, Jan 09, 2013 at 10:18:54AM +, Arnd Bergmann wrote: On Wednesday 09 January 2013, Lee Jones wrote: diff --git a/arch/arm/mach-ux500/Kconfig

  1   2   3   4   5   6   7   8   9   10   >