Re: [PATCH] dma: mmp_pdma: support for getting residual bytes

2013-06-02 Thread Xiang Wang
2013/5/31 Andy Shevchenko andy.shevche...@gmail.com: On Fri, May 31, 2013 at 11:21 AM, Xiang Wang wangx...@gmail.com wrote: In some of our drivers (e.g. UART) we may stop a running DMA before it finishes. So we need to know how many bytes have been transferred. Couple of comments below.

Re: [PATCH 02/10] clocksource: dw_apb_timer_of: add clock-handling

2013-06-02 Thread Baruch Siach
Hi Heiko, On Mon, Jun 03, 2013 at 12:56:37AM +0200, Heiko Stübner wrote: Add the possibility to get the clock-frequency from a timer clock instead of specifying it as dt property. Additionally also add the possibility to also define a controlling periphal clock for the timer block. The

Re: [RFC PATCH] sched: smart wake-affine

2013-06-02 Thread Michael Wang
On 06/03/2013 11:09 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 10:28 +0800, Michael Wang wrote: On 05/28/2013 01:05 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring benefit if waker's cpu cached hot data for wakee, or the

Re: [PATCH 08/10] clk: add basic Rockchip rk3066a clock support

2013-06-02 Thread Olof Johansson
On Mon, Jun 03, 2013 at 01:00:31AM +0200, Heiko Stübner wrote: This adds basic support for clocks on Rockchip rk3066 SoCs. The clock handling thru small dt nodes is heavily inspired by the sunxi clk code. The clock specifiers are named as x-cortex-a9-x, because the clock semantics are the

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 20:12:49 -0700 On Sun, 2013-06-02 at 19:58 -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 16:31:35 -0700 On Thu, 2013-05-30 at 12:25 +0400, Roman Gushchin wrote: On 29.05.2013

[GIT PULL] libata fixes for v3.10-rc4

2013-06-02 Thread Tejun Heo
Hello, Linus. libata changes for v3.10-rc4. Nothing too interesting. PCI ID additions, some sata_rcar fixes and a fringe bug fix for DMADIR handling which shouldn't affect any device remotely modern. The changes are available in the following git branch

[Announce] sg3_utils-1.36 available

2013-06-02 Thread Douglas Gilbert
sg3_utils is a package of command line utilities for sending SCSI and some ATA commands to devices. This package targets the Linux 3, 2.6 and 2.4 kernel series. It also has ports to FreeBSD, Tru64, Solaris, and Windows (cygwin and mingw). Mainly small changes and fixes in this version including

[GIT PULL] cgroup fixes for v3.10-rc4

2013-06-02 Thread Tejun Heo
Hello, Linus. This pull request contains * Fix for yet another xattr bug which may lead to NULL deref. * A subtle bug in for_each_descendant_pre(). This bug requires quite specific conditions to trigger and isn't too likely to actually happen in the wild, but maybe that just makes it that

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread Paul E. McKenney
On Sun, Jun 02, 2013 at 07:58:26PM -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 16:31:35 -0700 On Thu, 2013-05-30 at 12:25 +0400, Roman Gushchin wrote: On 29.05.2013 23:06, Eric Dumazet wrote: On Wed, 2013-05-29 at 14:09 +0400, Roman

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread Paul E. McKenney
On Sun, Jun 02, 2013 at 08:27:03PM -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 20:12:49 -0700 On Sun, 2013-06-02 at 19:58 -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 16:31:35 -0700 On

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread Eric Dumazet
On Sun, 2013-06-02 at 20:42 -0700, Paul E. McKenney wrote: Or if you would like to take it: Acked-by: Paul E. McKenney paul...@linux.vnet.ibm.com Thanks guys ! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread Paul E. McKenney
On Sun, Jun 02, 2013 at 08:12:49PM -0700, Eric Dumazet wrote: On Sun, 2013-06-02 at 19:58 -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 16:31:35 -0700 On Thu, 2013-05-30 at 12:25 +0400, Roman Gushchin wrote: On 29.05.2013 23:06, Eric

Re: [PATCH v2] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-06-02 Thread David Miller
From: Paul E. McKenney paul...@linux.vnet.ibm.com Date: Sun, 2 Jun 2013 20:42:54 -0700 On Sun, Jun 02, 2013 at 08:27:03PM -0700, David Miller wrote: From: Eric Dumazet eric.duma...@gmail.com Date: Sun, 02 Jun 2013 20:12:49 -0700 On Sun, 2013-06-02 at 19:58 -0700, David Miller wrote:

Re: [PATCH v1 2/2] ARM:prima2:move postcore_initcalls to init_machine.

2013-06-02 Thread Barry Song
hi Srinivas, 2013/5/31 Srinivas KANDAGATLA srinivas.kandaga...@st.com: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves all postcore_initcalls to very first calls in init_machine. This should achieve the same sequencing as done via postcore_initcalls. Without this

Re: Please add to stable: module: don't unlink the module until we've removed all exposure.

2013-06-02 Thread Joe Lawrence
On Sun, 2 Jun 2013, Rusty Russell wrote: Ben Greear gree...@candelatech.com writes: It turns out, the bug I spent yesterday chasing in various 3.9 kernels is apparently fixed by the commit in the title (c9c390bb5535380d40614571894ef0c00bc026ff). Apparently being the operative word.

Re: [RFC PATCH] sched: smart wake-affine

2013-06-02 Thread Mike Galbraith
On Mon, 2013-06-03 at 11:26 +0800, Michael Wang wrote: On 06/03/2013 11:09 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 10:28 +0800, Michael Wang wrote: On 05/28/2013 01:05 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this

Re: [PATCH] firewire: introduce fw_driver.probe and .remove methods

2013-06-02 Thread Takashi Sakamoto
Hi Stefan and Greg, I test Stefan's patches and it works well with my devices. This is one of two(?) drivers on which he is currently working on; Yes. I'm developing for two driver modules for some firewire sound device. One is snd-fireworks as Stefan mentioned and another is snd-bebob for

Re: 3.9.4 Oops running xfstests (WAS Re: 3.9.3: Oops running xfstests)

2013-06-02 Thread Dave Chinner
On Sun, Jun 02, 2013 at 11:04:11PM -0400, CAI Qian wrote: There's memory corruption all over the place. It is most likely that trinity is causing this - it's purpose is to trigger corruption issues, but they aren't always immediately seen. If you can trigger this xfs trace without

Re: [PATCH V3] irqchip: Add TB10x interrupt controller driver

2013-06-02 Thread Vineet Gupta
On 06/01/2013 03:48 AM, Grant Likely wrote: On Fri, 31 May 2013 19:32:34 +0200 (CEST), Thomas Gleixner t...@linutronix.de wrote: irq chip. +static void tb10x_irq_cascade(unsigned int irq, struct irq_desc *desc) +{ + struct irq_domain *domain = irq_desc_get_handler_data(desc); + +

Re: [PATCH] powerpc/pci: Improve device hotplug initialization

2013-06-02 Thread Guenter Roeck
On Mon, Jun 03, 2013 at 10:28:47AM +0800, Chen Yuanquan-B41889 wrote: On 06/01/2013 09:58 PM, Guenter Roeck wrote: On Fri, May 31, 2013 at 03:44:07PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2013-05-30 at 22:14 -0700, Guenter Roeck wrote: On Wed, May 29, 2013 at 05:30:41PM +0800, Chen

Re: [PATCH v3] backlight: Convert from Legacy pm ops to dev_pm_ops

2013-06-02 Thread Jingoo Han
On Sunday, June 02, 2013 8:07 AM, Shuah Khan wrote: Convert drivers/video/backlight/class to use dev_pm_ops for power management and remove Legacy PM ops hooks. With this change, backlight class registers suspend/resume callbacks via class-pm (dev_pm_ops) instead of Legacy

Re: [PATCH 3/3] ARM: S5P64X0: Remove duplicate uncompress code

2013-06-02 Thread Tushar Behera
On 06/01/2013 02:11 PM, Sylwester Nawrocki wrote: Hi, On 05/31/2013 01:49 PM, Tushar Behera wrote: The uncompress code in S5P64X0 is almost same as the uncompress code defined in plat-samsung. Better to reuse that code. Signed-off-by: Tushar Beheratushar.beh...@linaro.org ---

[PATCH] writeback: make wb_do_writeback() as static

2013-06-02 Thread Haicheng Li
It's not used globally and could be static. Cc: Jan Kara j...@suse.cz Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/fs-writeback.c |2 +- include/linux/writeback.h |1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/fs-writeback.c

[PATCH v2 3/4] perf report: Add --time-filter option

2013-06-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --time-filter option is for limiting samples within a range of time. A time range looks like time1-time2 and at most one of them can be omitted. This can be useful when analyzing a part of a huge data only. Cc: Joonsoo Kim iamjoonsoo@lge.com Cc:

[PATCH v2 2/4] perf script: Add --time-filter option

2013-06-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --time-filter option is for limiting samples within a range of time. A time range looks like time1-time2 and at most one of them can be omitted. For instance: $ perf script --time-filter -2178446.12 ... xchat 1772 [002] 2178446.070330:

[PATCH/RFC v2 4/4] perf inject: Add --time-filter option

2013-06-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --time-filter option is for limiting samples within a range of time. A time range looks like time1-time2 and at most one of them can be omitted. This can be useful when analyzing a part of a huge data only. It's unclear how to specify a time range

[PATCH v2 1/4] perf util: Add parse_nsec_time() function

2013-06-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The parse_nsec_time() function is for parsing a string of time into 64-bit nsec value. It's a preparation of time filtering in some of perf commands. Cc: David Ahern dsah...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [RFC PATCH] sched: smart wake-affine

2013-06-02 Thread Michael Wang
On 06/03/2013 11:53 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 11:26 +0800, Michael Wang wrote: On 06/03/2013 11:09 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 10:28 +0800, Michael Wang wrote: On 05/28/2013 01:05 PM, Michael Wang wrote: wake-affine stuff is always trying to pull

Re: [RFC PATCH v0 1/2] dma: move dw_dmac driver to an own directory

2013-06-02 Thread Viresh Kumar
On 31 May 2013 21:20, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: diff --git a/drivers/dma/Makefile b/drivers/dma/Makefile +obj-$(CONFIG_DW_DMAC) += dw/ +++ b/drivers/dma/dw/Makefile +obj-$(CONFIG_DW_DMAC) += dw_dmac.o The lower one should be obj-y += dw_dmac.o as this will

Re: [PATCH 1/3] ARM: EXYNOS: uncompress - print debug messages if DEBUG_LL is defined

2013-06-02 Thread Tushar Behera
On 06/01/2013 09:29 AM, Olof Johansson wrote: On Fri, May 31, 2013 at 05:19:02PM +0530, Tushar Behera wrote: Printing low-level debug messages make an assumption that the specified UART port has been preconfigured by the bootloader. Incorrectly specified UART port results in system getting

Re: [RFC PATCH v0 0/2] dw_dmac: move to own folder and split

2013-06-02 Thread Viresh Kumar
On 31 May 2013 21:20, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: This is first attempt to do split as suggested by Arnd et al. First patch moves driver to its own folder. Second one does the actual split. During this files are renamed: mostly means that dw_dmac prefix is

Re: [net-next rfc V2 7/8] macvtap: add TUNSETQUEUE ioctl

2013-06-02 Thread Jason Wang
On 06/02/2013 07:22 PM, Michael S. Tsirkin wrote: On Fri, May 31, 2013 at 05:53:24PM +0800, Jason Wang wrote: This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or enable a queue of macvtap. This is used to be compatible at API layer of tuntap to simplify the

Re: [RFC PATCH] sched: smart wake-affine

2013-06-02 Thread Mike Galbraith
On Mon, 2013-06-03 at 12:52 +0800, Michael Wang wrote: On 06/03/2013 11:53 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 11:26 +0800, Michael Wang wrote: On 06/03/2013 11:09 AM, Mike Galbraith wrote: On Mon, 2013-06-03 at 10:28 +0800, Michael Wang wrote: On 05/28/2013 01:05 PM,

[GIT PULL] extcon-next for 3.10

2013-06-02 Thread Chanwoo Choi
Hi Greg, This is extcon-next pull request for 3.10. Please pull extcon with following updates. Best regards and Thanks, Chanwoo Choi The following changes since commit e4aa937ec75df0eea0bee03bffa3303ad36c986b: Linux 3.10-rc3 (2013-05-26 16:00:47 -0700) are available in the git repository

RE: A bug about system call on ARM

2013-06-02 Thread Wang, Yalin
Hi Will, I have a question about this patch . If the user space is thumb mode, The PC should be rewind by 2 bytes, So the fix_up code should be Sub lr, lr, #2 . Am I right ? Thanks for your help . -Original Message- From: Wang, Yalin Sent: Friday, May 31, 2013 7:31 PM To: 'Will

Re: [PATCH V3] irqchip: Add TB10x interrupt controller driver (2)

2013-06-02 Thread Vineet Gupta
On 06/01/2013 04:31 PM, Christian Ruppert wrote: On Fri, May 31, 2013 at 11:18:14PM +0100, Grant Likely wrote: On Fri, 31 May 2013 19:32:34 +0200 (CEST), Thomas Gleixner t...@linutronix.de wrote: On Fri, 31 May 2013, Christian Ruppert wrote: The SOC interrupt controller driver for the

Re: [v4][PATCH 1/6] mm: swap: defer clearing of page_private() for swap cache pages

2013-06-02 Thread Minchan Kim
On Fri, May 31, 2013 at 11:38:56AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This patch defers the destruction of swapcache-specific data in 'struct page'. This simplifies the code because we do not have to keep extra copies of the data during the removal of

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

2013-06-02 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/mach-mxs/mach-mxs.c between commit 6aaab172c99b (ARM: mxs: remove the .map_io declaration) from the arm-soc tree and commit fe7149dfa886 (ARM: mxs: Remove init_irq declaration in machine description) from the

Re: [PATCH] kprobes: handle empty/invalid input to debugfs enabled file

2013-06-02 Thread Masami Hiramatsu
(2013/06/01 6:15), Mathias Krause wrote: When writing invalid input to 'debug/kprobes/enabled' it'll silently be ignored. Even worse, when writing an empty string to this file, the outcome is purely random as the switch statement will make its decision based on the value of an uninitialized

Re: [PATCH] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-06-02 Thread Josh Wu
On 5/31/2013 10:34 PM, Richard Genoud wrote: We don't have to issue a warning when a stronger error correting capability is chosen. Signed-off-by: Richard Genoud richard.gen...@gmail.com Acked-by: Josh Wu josh...@atmel.com Best Regards, Josh Wu --- drivers/mtd/nand/atmel_nand.c |2 +-

Re: [RFC PATCH] sched: smart wake-affine

2013-06-02 Thread Michael Wang
On 06/03/2013 01:22 PM, Mike Galbraith wrote: [snip] I agree that this idea, in other work, 'stop wake-affine when current is busy with wakeup' may miss the chance to bring benefit, although I could not find such workload, but I can't do promise... Someday we'll find the perfect balance...

Re: [PATCH v4 00/22] x86, ACPI, numa: Parse numa info early

2013-06-02 Thread Tang Chen
Hi HPA, Would you please tell me if this patch-set has been merged into any tree or branch ? If not merged, I'll rebased it to the latest kernel and resend it again. Hope the rebasing will help to push this patch-set. Thanks. :) On 05/22/2013 01:18 PM, H. Peter Anvin wrote: Sorry, just have

<    1   2   3   4