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
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
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
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
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
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
/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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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
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
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
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
;
+}
--
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
)
+{
+ 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
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
-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
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
-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
), (__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
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
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
)
[ 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
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
, 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
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
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
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
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
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
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
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
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
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
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_
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
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
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
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
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
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
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 - 100 of 17500 matches
Mail list logo