[PATCH 0/3] dw_dmac: add PCI driver and move dw stuff to its own folder

2012-10-30 Thread Andy Shevchenko
This is split of the dw_dmac to support different platform devices with one core driver. It uses platform_driver model and weak link to the parent driver. The pros and cons are still under discussion here: http://www.spinics.net/lists/kernel/msg1408495.html Andy Shevchenko (2): dma: move

[PATCH 3/3] MAINTAINERS: add recently created files to dw_dmac section

2012-10-30 Thread Andy Shevchenko
The DesignWare DMAC driver is moved to an own directory. The patch updates MAINTAINERS file accordingly. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH 2/3] dma: move dw_dmac driver to an own directory

2012-10-30 Thread Andy Shevchenko
The dw_dmac driver contains multiple files. To make a management of them more convenient move it to an own directory. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Felipe Balbi ba...@ti.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/Makefile

[PATCH 1/3] dmaengine: dw_dmac: add PCI part of the driver

2012-10-30 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware such as Medfield. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-10-30 Thread Andy Shevchenko
On Mon, 2012-10-08 at 18:57 +0530, Viresh Kumar wrote: On 8 October 2012 18:16, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Mon, 2012-10-08 at 16:19 +0530, Viresh Kumar wrote: First of all it will export IP-block relevant functions to the kernel namespace. I think

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-10-30 Thread Andy Shevchenko
On Tue, Oct 30, 2012 at 5:19 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 30 October 2012 20:35, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Mon, 2012-10-08 at 18:57 +0530, Viresh Kumar wrote: For me i don't agree with your approach. So, its a NACK. Point taken

Re: [PATCH] xhci: fix null-pointer dereference when destroying half-built segment rings

2012-11-01 Thread Andy Shevchenko
/majordomo-info.html -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-09-25 Thread Andy Shevchenko
Not all of the controllers support the 64 bit data width. Make it configurable via platform data. The driver will try to get a value from the component parameters, otherwise it will use the platform data. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- Since v2: - sometimes

[PATCHv1 0/6] dw_dmac: split the driver and introduce PCI part

2012-09-25 Thread Andy Shevchenko
duplicating a core driver functionality. Andy Shevchenko (2): MAINTAINERS: fix indentation for Viresh Kumar MAINTAINERS: add recently created files to dw_dmac section Heikki Krogerus (4): dmaengine: dw_dmac: Remove clk API dependency dmaengine: dw_dmac: add driver for Atmel AT32 dmaengine

[PATCHv1 3/6] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware such as Medfield. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche

[PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver should be usable on all platforms that depend on clk API. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/Kconfig|9

[PATCHv1 5/6] MAINTAINERS: fix indentation for Viresh Kumar

2012-09-25 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Viresh Kumar viresh.li...@gmail.com --- MAINTAINERS | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8fa0255..479a655 100644 --- a/MAINTAINERS +++ b

[PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 479a655..1a169f6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6007,10 +6007,13 @@ F: drivers/tty/serial SYNOPSYS

[PATCHv1 4/6] avr32: at32ap700x: rename DMA controller

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com There are no functional changes. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- arch/avr32/mach-at32ap/at32ap700x.c | 20 ++-- 1 file

[PATCHv1 1/6] dmaengine: dw_dmac: Remove clk API dependency

2012-09-25 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com Not all platforms support clk API. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/Kconfig|1 - drivers/dma/dw_dmac.c | 18

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-25 Thread Andy Shevchenko
On Tue, 2012-09-25 at 06:19 -0700, Joe Perches wrote: On Tue, 2012-09-25 at 15:13 +0300, Andy Shevchenko wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com You also added yourself as a maintainer. Congrats/sympathies, etc... Actually I prefer to be just a supporter

Re: [PATCHv1 6/6] MAINTAINERS: add recently created files to dw_dmac section

2012-09-26 Thread Andy Shevchenko
On Tue, 2012-09-25 at 09:57 -0700, Joe Perches wrote: On Tue, 2012-09-25 at 16:37 +0300, Andy Shevchenko wrote: On Tue, 2012-09-25 at 06:19 -0700, Joe Perches wrote: You also added yourself as a maintainer. Congrats/sympathies, etc... Actually I prefer to be just a supporter, because

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-26 Thread Andy Shevchenko
On Wed, 2012-09-26 at 09:20 +0530, viresh kumar wrote: On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver should be usable on all platforms that depend on clk API. This is not what

Re: [PATCHv1 2/6] dmaengine: dw_dmac: add driver for Atmel AT32

2012-09-26 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 9:51 AM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Sep 26, 2012 at 12:17 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: This separate driver makes no sense in case it is built properly without CLK framework. Let me check this and leave comments

Re: [PATCHv1 5/6] MAINTAINERS: fix indentation for Viresh Kumar

2012-09-26 Thread Andy Shevchenko
On Wed, 2012-09-26 at 09:06 +0530, viresh kumar wrote: On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Viresh Kumar viresh.li...@gmail.com --- MAINTAINERS | 16

Re: [PATCHv1 3/6] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-26 Thread Andy Shevchenko
On Wed, 2012-09-26 at 09:30 +0530, viresh kumar wrote: On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: diff --git a/drivers/dma/dw_dmac_at32.c b/drivers/dma/dw_dmac_at32.c index 7bc7ac4..5c9180e 100644 --- a/drivers/dma/dw_dmac_at32.c +++ b

Re: [PATCHv1 1/6] dmaengine: dw_dmac: Remove clk API dependency

2012-09-26 Thread Andy Shevchenko
On Wed, 2012-09-26 at 09:12 +0530, viresh kumar wrote: On Tue, Sep 25, 2012 at 5:43 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Not all platforms support clk API. But not these. There are dummy clk routines available

[PATCHv2 0/4] dw_dmac: split the driver and introduce PCI part

2012-09-26 Thread Andy Shevchenko
Andy Shevchenko (2): dma: move dw_dmac driver to an own directory MAINTAINERS: add recently created files to dw_dmac section Heikki Krogerus (2): dmaengine: dw_dmac: convert to platform driver dmaengine: dw_dmac: Add PCI part of the driver MAINTAINERS |4 +- drivers

[PATCHv2 1/4] dmaengine: dw_dmac: convert to platform driver

2012-09-26 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver could be used on different platforms. Thus, we converted it to be a platform driver. The HAVE_CLK dependency is dropped away as well. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko

[PATCHv2 4/4] MAINTAINERS: add recently created files to dw_dmac section

2012-09-26 Thread Andy Shevchenko
Append myself to mail subsection as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7dfd0eb..b87cbb1d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCHv2 2/4] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-26 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware such as Medfield. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche

Re: [PATCHv2 4/4] MAINTAINERS: add recently created files to dw_dmac section

2012-09-26 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 5:48 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Sep 26, 2012 at 8:15 PM, viresh kumar viresh.ku...@linaro.org wrote: SYNOPSYS DESIGNWARE DMAC DRIVER M: Viresh Kumar viresh.li...@gmail.com +M: Andy Shevchenko andriy.shevche...@linux.intel.com S

Re: [PATCHv2 3/4] dma: move dw_dmac driver to an own directory

2012-09-26 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 5:53 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Sep 26, 2012 at 6:10 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The dw_dmac driver contains multiple files. To make a managment of them more convenient move it to an own directory. git

Re: [PATCHv2 2/4] dmaengine: dw_dmac: Add PCI part of the driver

2012-09-26 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 5:33 PM, viresh kumar viresh.ku...@linaro.org wrote: Forgot earlier, please keep spear-devel in cc... They will be going to use dw_dmac driver :) Oh, my bad. v3 will be Cc'ed there as well. Sorry. On Wed, Sep 26, 2012 at 6:10 PM, Andy Shevchenko andriy.shevche

Re: [PATCHv2 1/4] dmaengine: dw_dmac: convert to platform driver

2012-09-26 Thread Andy Shevchenko
On Wed, Sep 26, 2012 at 5:13 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Sep 26, 2012 at 6:10 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver could be used on different platforms. Thus, we converted

Re: [PATCHv2 4/4] MAINTAINERS: add recently created files to dw_dmac section

2012-09-27 Thread Andy Shevchenko
On Wed, 2012-09-26 at 20:15 +0530, viresh kumar wrote: On Wed, Sep 26, 2012 at 6:10 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Append myself to mail subsection as well. Mail subsection? You are adding yourself as Maintainer of dw_dmac... Yes and odd, accordingly

[PATCHv3 3/7] dmaengine: dw_dmac: remove CLK dependency

2012-09-27 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver could be used on different platforms. Thus, the HAVE_CLK dependency is dropped away. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma

[PATCHv3 7/7] MAINTAINERS: add recently created files to dw_dmac section

2012-09-27 Thread Andy Shevchenko
Append myself to the mail entry of the section as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7dfd0eb..b87cbb1d 100644 --- a/MAINTAINERS +++ b

[PATCHv3 0/7] dw_dmac: split the driver and introduce PCI part

2012-09-27 Thread Andy Shevchenko
duplicating a core driver functionality. Since v2: - use git format-patch -C -M to avoid long useless patches - substitute DRIVER macro to a normal structure definition in the dw_dmac_pci.c - split patch 1/4 to few independent pieces with their own descriptions Andy Shevchenko (2): dma: move

[PATCHv3 1/7] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-09-27 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git

[PATCHv3 4/7] dmaengine: dw_dmac: amend description and indentation

2012-09-27 Thread Andy Shevchenko
heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index bbb2a82..9f0129d 100644 --- a/drivers/dma/dw_dmac.c

[PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-09-27 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware such as Medfield. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche

[PATCHv3 6/7] dma: move dw_dmac driver to an own directory

2012-09-27 Thread Andy Shevchenko
The dw_dmac driver contains multiple files. To make a managment of them more convenient move it to an own directory. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/Makefile|3 +-- drivers/dma/dw/Makefile |2 ++ drivers/dma

[PATCHv3 2/7] dmaengine: dw_dmac: add module alias

2012-09-27 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com It's good to have a quasistatic name for the platform driver. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c |1 + 1 file changed

Re: [PATCHv3 3/7] dmaengine: dw_dmac: remove CLK dependency

2012-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2012 at 10:42 AM, Felipe Balbi ba...@ti.com wrote: - depends on HAVE_CLK as is, this will break compilation of any arch which doesn't set HAVE_CLK. As Viresh suggested and I checked it's not. He wrote nice patch that adds stubs for such case. -- With Best Regards, Andy

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2012 at 10:49 AM, Felipe Balbi ba...@ti.com wrote: On Thu, Sep 27, 2012 at 10:31:59AM +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com This is the PCI part of the DesignWare DMAC driver. The controller is usually used in the Intel hardware

Re: [PATCHv3 7/7] MAINTAINERS: add recently created files to dw_dmac section

2012-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2012 at 10:51 AM, Felipe Balbi ba...@ti.com wrote: On Thu, Sep 27, 2012 at 10:32:01AM +0300, Andy Shevchenko wrote: Append myself to the mail entry of the section as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- MAINTAINERS |4 ++-- 1 file

Re: [PATCHv3 4/7] dmaengine: dw_dmac: amend description and indentation

2012-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2012 at 11:19 AM, viresh kumar viresh.ku...@linaro.org wrote: On Thu, Sep 27, 2012 at 1:15 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Sep 27, 2012 at 10:31:58AM +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com The driver will be used

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-09-27 Thread Andy Shevchenko
I didn't get you comment. -- Andy Shevchenko andriy.shevche...@linux.intel.com Intel Finland Oy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-09-27 Thread Andy Shevchenko
On Thu, 2012-09-27 at 16:03 +0530, Vinod Koul wrote: On Thu, 2012-09-27 at 15:36 +0530, Vinod Koul wrote: On Tue, 2012-09-25 at 14:39 +0300, Andy Shevchenko wrote: Not all of the controllers support the 64 bit data width. Make it configurable via platform data. The driver will try

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-09-27 Thread Andy Shevchenko
On Thu, Sep 27, 2012 at 1:06 PM, Vinod Koul vinod.k...@linux.intel.com wrote: On Tue, 2012-09-25 at 14:39 +0300, Andy Shevchenko wrote: Not all of the controllers support the 64 bit data width. Make it configurable via platform data. The driver will try to get a value from the component

Re: [PATCH 6/7] usb: core: reuse kbasename()

2012-10-03 Thread Andy Shevchenko
On Tue, Oct 2, 2012 at 6:00 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: --- a/drivers/usb/core/file.c +++ b/drivers/usb/core/file.c @@ -200,14 +200,9 @@ int usb_register_dev(struct usb_interface *intf, /* create a usb class device for this usb interface

[PATCHv2 1/6] string: introduce helper to get base file name from given path

2012-10-03 Thread Andy Shevchenko
There are several places in the kernel that use functionality like basename(3) with the exception: in case of '/foo/bar/' we expect to get an empty string. Let's do it common helper for them. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- include/linux/string.h | 11

[PATCHv2 3/6] staging: rts_pstor: reuse kbasename()

2012-10-03 Thread Andy Shevchenko
The custom filename function mostly repeats the kernel's kbasename. This patch simplifies it. The updated filename() will not check for the '\' in the filenames. It seems redundant in Linux. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: YAMANE Toshiaki yamaneto...@gmail.com

[PATCHv2 4/6] mm: reuse kbasename() functionality

2012-10-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: linux...@kvack.org --- mm/memory.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 0e3a516..6b101a2 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -58,6 +58,7

[PATCHv2 6/6] trace: reuse kbasename() functionality

2012-10-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Steven Rostedt rost...@goodmis.org (maintainer:TRACING) Cc: Frederic Weisbecker fweis...@gmail.com (maintainer:TRACING) --- kernel/trace/trace_uprobe.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCHv2 5/6] procfs: reuse kbasename() functionality

2012-10-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- fs/proc/proc_devtree.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index df7dd08..3d9fd66 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc

[PATCHv2 2/6] lib: dynamic_debug: reuse kbasename()

2012-10-03 Thread Andy Shevchenko
Remove the custom implementation of the functionality similar to kbasename(). Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Jason Baron jba...@redhat.com --- lib/dynamic_debug.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib

[PATCHv2 0/6] lib/string: introduce kbasename helper

2012-10-03 Thread Andy Shevchenko
There are several places in kernel that duplicate code to get last part of the pathname. This patchset introduces a helper. Since v1: - fix changelog of the patch 1 - we are doing basname(3) alike helper - usb related patch temporary excluded from series (under discussion with Greg) Andy

[PATCHv2.5] trace: reuse kbasename() functionality

2012-10-03 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com --- kernel/trace/trace_uprobe.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace_uprobe.c b/kernel

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-10-03 Thread Andy Shevchenko
the idea. Will implement soon. -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH 1/7] string: introduce helper to get base file name from given path

2012-10-04 Thread Andy Shevchenko
On Wed, 2012-10-03 at 14:39 -0400, Nick Bowler wrote: On 2012-10-02 11:12 -0700, Greg KH wrote: On Tue, Oct 02, 2012 at 08:52:05PM +0300, Andy Shevchenko wrote: On Tue, Oct 2, 2012 at 8:34 PM, Greg KH gre...@linuxfoundation.org wrote: [...] Well, if you want your kbasename

Re: [PATCHv2.5] trace: reuse kbasename() functionality

2012-10-05 Thread Andy Shevchenko
On Fri, Oct 5, 2012 at 7:49 PM, Steven Rostedt rost...@goodmis.org wrote: On Wed, 2012-10-03 at 11:53 +0300, Andy Shevchenko wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com --- kernel

Re: [PATCHv2.5] trace: reuse kbasename() functionality

2012-10-05 Thread Andy Shevchenko
On Fri, Oct 5, 2012 at 8:12 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 2012-10-05 at 20:02 +0300, Andy Shevchenko wrote: I don't see kbasename() anywhere. Is this based off of other patches? It's introduced by first patch in the series. Usually a series has the format of: [PATCH

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-10-08 Thread Andy Shevchenko
is exposed as PCI device on fake PCI bus. In that case the initialization sequence matters and the easier way is to provide independent drivers for platform device. -- Andy Shevchenko andriy.shevche...@linux.intel.com Intel Finland Oy -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCHv3 5/7] dmaengine: dw_dmac: add PCI part of the driver

2012-10-08 Thread Andy Shevchenko
On Mon, 2012-10-08 at 16:19 +0530, Viresh Kumar wrote: On 8 October 2012 15:47, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: This approach has the significant differences to proposed before. I am afraid i didn't get your mail completely. Still i will try based on my

[PATCH, resend] of: re-use kernel's kbasename()

2012-11-05 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Grant Likely grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com --- drivers/of/fdt.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index

[PATCH] dw_dmac: call .probe after we have a device in place

2012-11-06 Thread Andy Shevchenko
the platform device is created later. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 2c8096d..b0b301b 100644 --- a/drivers/dma

Re: [PATCH 2/4] dmaengine: dw_dmac: add module alias

2012-10-10 Thread Andy Shevchenko
On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com It's good to have a quasistatic name for the platform driver. Please, do not push this one. It makes no sense now. Better we have it after a split. Signed-off-by: Heikki

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Andy Shevchenko
On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2 we have nice macro to define the platform driver's init and exit calls. This patch simplifies the dw_dmac driver by using that macro. Actually we can't do

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Andy Shevchenko
On Wed, Oct 10, 2012 at 12:08 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Oct 10, 2012 at 2:34 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Tue, 2012-10-02 at 14:41 +0300, Andy Shevchenko wrote: From: Heikki Krogerus heikki.kroge...@linux.intel.com Since v3.2

Re: [PATCH 1/4] dmaengine: dw_dmac: use helper macro module_platform_driver()

2012-10-10 Thread Andy Shevchenko
On Wed, Oct 10, 2012 at 3:40 PM, Felipe Balbi ba...@ti.com wrote: On Wed, Oct 10, 2012 at 12:21:04PM +0300, Andy Shevchenko wrote: On Wed, Oct 10, 2012 at 12:08 PM, viresh kumar viresh.ku...@linaro.org wrote: On Wed, Oct 10, 2012 at 2:34 PM, Andy Shevchenko andriy.shevche

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
(struct dma_chan *chan); dma_addr_t dw_dma_get_dst_addr(struct dma_chan *chan); +bool dw_generic_filter(struct dma_chan *chan, void *param); #endif /* DW_DMAC_H */ -- Andy Shevchenko andriy.shevche...@linux.intel.com Intel Finland Oy -- To unsubscribe from this list: send the line

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 11:34 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 12 October 2012 13:53, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: diff --git a/Documentation/devicetree/bindings/dma/snps-dma.txt b

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 1:36 PM, viresh kumar viresh.ku...@linaro.org wrote: On Fri, Oct 12, 2012 at 1:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 11:14 +0530, Viresh Kumar wrote: + while (++i dw-sd_count) { + if (!strcmp(dw-sd[i

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 2:01 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 12 October 2012 16:10, Andy Shevchenko andy.shevche...@gmail.com wrote: + if (!found) { + last_dw = dw; + last_bus_id = param; + return false; Because of return here you

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
; +} -- Andy Shevchenko andriy.shevche...@linux.intel.com Intel Finland Oy -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH V2 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
) +{ + struct device_node *sn, *cn, *np = pdev-dev.of_node; + struct dw_dma_platform_data *pdata; + struct dw_dma_slave *sd; + u32 val, arr[4]; Let me weekend to think about naming. I really can't offer anything else right now. -- Andy Shevchenko andriy.shevche...@linux.intel.com

Re: [PATCH V2 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-12 Thread Andy Shevchenko
On Fri, Oct 12, 2012 at 6:18 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 12 October 2012 20:28, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: On Fri, 2012-10-12 at 20:01 +0530, Viresh Kumar wrote: + if (last_dw) { + if ((last_bus_id == param) (last_dw == dw

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

2012-11-12 Thread Andy Shevchenko
-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 2c8096d..0ec5c84 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers/dma

Re: [PATCH] dw_dmac: absence of pdata isn't critical when autocfg is set

2012-11-12 Thread Andy Shevchenko
On Mon, 2012-11-12 at 19:24 +0530, viresh kumar wrote: On Mon, Nov 12, 2012 at 4:53 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c static int __devinit dw_probe(struct platform_device *pdev) { struct

[PATCHv2] dw_dmac: absence of pdata isn't critical when autocfg is set

2012-11-12 Thread Andy Shevchenko
-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- Since v1: - allocate memory for pdata dynamically drivers/dma/dw_dmac.c | 23 --- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index 2c8096d..a4a5c80

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-14 Thread Andy Shevchenko
), (__dw_regs(dw)-name)) + dma_writel_native((val), (__dw_regs(dw)-name)) #define channel_set_bit(dw, reg, mask) \ dma_writel(dw, reg, ((mask) 8) | (mask)) Why did you not change this one? -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH REGRESSION FIX] dw_dmac: make driver's endianness configurable

2012-10-15 Thread Andy Shevchenko
On Mon, 2012-10-15 at 08:39 +0800, Hein Tibosch wrote: Hi Andy, On 10/15/2012 4:08 AM, Andy Shevchenko wrote: On Sun, Oct 14, 2012 at 10:54 AM, Hein Tibosch hein_tibo...@yahoo.es wrote: From: Hein Tibosch hein_tibo...@yahoo.es The dw_dmac was originally developed for avr32 to be used

Re: [PATCH V2 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-15 Thread Andy Shevchenko
On Mon, 2012-10-15 at 08:59 +0530, Viresh Kumar wrote: On 12 October 2012 20:28, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: + if (last_dw) { + if ((last_bus_id == param) (last_dw == dw)) + return false; + } Just came to my mind

[PATCH] dmatest: terminate all ongoing transfers before submitting new one

2012-10-16 Thread Andy Shevchenko
) [ 90.697073] dma0chan6-copy0: terminating after 50 tests, 1 failures (status 0) [ 90.893422] dma0chan7-copy0: terminating after 50 tests, 1 failures (status 0) Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dmatest.c |3 +++ 1 file changed, 3 insertions

Re: [PATCH] dmatest: terminate all ongoing transfers before submitting new one

2012-10-16 Thread Andy Shevchenko
On Tue, Oct 16, 2012 at 11:56 AM, viresh kumar viresh.ku...@linaro.org wrote: On Tue, Oct 16, 2012 at 2:15 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The following error messages come if we have software LLP emulation enabled and enough threads running. modprobe dmatest

Re: [PATCH] dmatest: terminate all ongoing transfers before submitting new one

2012-10-16 Thread Andy Shevchenko
, to make them timeout safe. Yeah, seems the patch is not necessary. In case of software emulation we just have a test passed much slow... -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

[PATCHv3 1/6] lib/string: introduce helper to get base file name from given path

2012-10-16 Thread Andy Shevchenko
There are several places in the kernel that use functionality like basename(3) with an exception: in case of '/foo/bar/' we expect to get an empty string. Let's do it common helper for them. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Jason Baron jba...@redhat.com Cc

[PATCHv3 5/6] procfs: reuse kbasename() functionality

2012-10-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- fs/proc/proc_devtree.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fs/proc/proc_devtree.c b/fs/proc/proc_devtree.c index df7dd08..3d9fd66 100644 --- a/fs/proc/proc_devtree.c +++ b/fs/proc

[PATCHv3 1/6] string: introduce helper to get base file name from given path

2012-10-16 Thread Andy Shevchenko
There are several places in the kernel that use functionality like basename(3) with the exception: in case of '/foo/bar/' we expect to get an empty string. Let's do it common helper for them. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- include/linux/string.h | 11

[PATCHv3 6/6] trace: reuse kbasename() functionality

2012-10-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com --- kernel/trace/trace_uprobe.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace_uprobe.c b/kernel

[PATCHv3 3/6] staging: rts_pstor: reuse kbasename()

2012-10-16 Thread Andy Shevchenko
there as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: YAMANE Toshiaki yamaneto...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/staging/rts_pstor/trace.h | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git

[PATCHv3 2/6] lib: dynamic_debug: reuse kbasename()

2012-10-16 Thread Andy Shevchenko
Remove the custom implementation of the functionality similar to kbasename(). Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: Jason Baron jba...@redhat.com --- lib/dynamic_debug.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib

[PATCHv3 0/6] lib/string: introduce kbasename helper

2012-10-16 Thread Andy Shevchenko
to the series - rebase against recent linux-next Since v1: - fix changelog of the patch 1 - we are doing basename(3) alike helper - usb related patch temporary excluded from series (under discussion with Greg) Andy Shevchenko (6): lib/string: introduce helper to get base file name from given

[PATCHv3 4/6] mm: reuse kbasename() functionality

2012-10-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Cc: linux...@kvack.org --- mm/memory.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 5823f29..06158b7 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -58,6 +58,7

Re: [PATCH 6/7] usb: core: reuse kbasename()

2012-10-17 Thread Andy Shevchenko
On Wed, Oct 3, 2012 at 6:08 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Oct 03, 2012 at 11:27:27AM +0300, Andy Shevchenko wrote: On Tue, Oct 2, 2012 at 6:00 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: --- a/drivers/usb/core/file.c +++ b/drivers/usb

[PATCHv2 0/4] dw_dmac: few cleanups to the driver

2012-10-17 Thread Andy Shevchenko
There are few cleanups to the driver which partialy acked and reviewed. Since v1: - patch 1/4 (use helper macro module_platform_driver()) is removed from the series: it brings issues rather than cleans up - patch 2/4 (add module alias) is postponed Andy Shevchenko (2): dw_dmac: change {dev_

[PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-17 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index c27c125..60b172a 100644 --- a/drivers/dma/dw_dmac.c +++ b/drivers

[PATCHv2 2/4] dmaengine: dw_dmac: amend description and indentation

2012-10-17 Thread Andy Shevchenko
heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c index c4b0eb3

[PATCHv2 1/4] dmaengine: dw_dmac: remove CLK dependency

2012-10-17 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com This driver could be used on different platforms. Thus, the HAVE_CLK dependency is dropped away. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed

Re: [PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-17 Thread Andy Shevchenko
On Wed, 2012-10-17 at 16:09 +0300, Felipe Balbi wrote: Hi, On Wed, Oct 17, 2012 at 01:31:17PM +0300, Andy Shevchenko wrote: Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions

Re: [PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-18 Thread Andy Shevchenko
On Wed, 2012-10-17 at 16:53 +0300, Felipe Balbi wrote: On Wed, Oct 17, 2012 at 04:36:58PM +0300, Andy Shevchenko wrote: On Wed, 2012-10-17 at 16:09 +0300, Felipe Balbi wrote: Hi, diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c @@ -492,10 +491,8 @@ static void

Re: [PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-18 Thread Andy Shevchenko
On Thu, 2012-10-18 at 13:34 +0300, Felipe Balbi wrote: On Thu, Oct 18, 2012 at 11:15:31AM +0300, Andy Shevchenko wrote: On Wed, 2012-10-17 at 16:53 +0300, Felipe Balbi wrote: On Wed, Oct 17, 2012 at 04:36:58PM +0300, Andy Shevchenko wrote: On Wed, 2012-10-17 at 16:09 +0300, Felipe

Re: [PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-18 Thread Andy Shevchenko
On Thu, Oct 18, 2012 at 4:59 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Oct 18, 2012 at 02:09:43PM +0300, Andy Shevchenko wrote: On Thu, 2012-10-18 at 13:34 +0300, Felipe Balbi wrote: On Thu, Oct 18, 2012 at 11:15:31AM +0300, Andy Shevchenko wrote: On Wed, 2012-10-17 at 16:53 +0300

  1   2   3   4   5   6   7   8   9   10   >