[PATCH v2 1/4] dmaengine: xilinx_dma: populate dma caps properly

2018-01-02 Thread Kedareswara rao Appana
dma_device directions and addr_widths fields. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/dr

[PATCH v2 1/4] dmaengine: xilinx_dma: populate dma caps properly

2018-01-02 Thread Kedareswara rao Appana
dma_device directions and addr_widths fields. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.

[PATCH v2 3/4] dmaengine: xilinx_dma: Fix warning variable prev set but not used

2018-01-02 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilin

[PATCH v2 0/4] dmaengine: xilinx_dma: Bug fixes

2018-01-02 Thread Kedareswara rao Appana
This patch series does the below --> Fixes sparse warnings in the driver. --> properly configures the SG mode bit in the driver for cdma. --> populates dma caps properly. This patch series got created on top of linux tag 4.15-rc4 i.e slave-dma.git next branch Kedareswara rao

[PATCH v2 3/4] dmaengine: xilinx_dma: Fix warning variable prev set but not used

2018-01-02 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xil

[PATCH v2 0/4] dmaengine: xilinx_dma: Bug fixes

2018-01-02 Thread Kedareswara rao Appana
This patch series does the below --> Fixes sparse warnings in the driver. --> properly configures the SG mode bit in the driver for cdma. --> populates dma caps properly. This patch series got created on top of linux tag 4.15-rc4 i.e slave-dma.git next branch Kedareswara rao

[PATCH v2 2/4] dmaengine: xilinx_dma: properly configure the SG mode bit in the driver for cdma

2018-01-02 Thread Kedareswara rao Appana
the dmaengine. This patch updates the same. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 10 ++ 1 file changed, 10 insertions(+) d

[PATCH v2 2/4] dmaengine: xilinx_dma: properly configure the SG mode bit in the driver for cdma

2018-01-02 Thread Kedareswara rao Appana
the dmaengine. This patch updates the same. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> Improved commit message title and description as suggested by Vinod. drivers/dma/xilinx/xilinx_dma.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/dma/xil

[PATCH v2 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2018-01-02 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey <radh...@xilinx.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> None. drivers/dma/xilinx/xilinx_dma.c | 5 + 1

[PATCH v2 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2018-01-02 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/dma/xil

[LINUX PATCH 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2017-12-21 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey <radh...@xilinx.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --g

[LINUX PATCH 4/4] dmaengine: xilinx_dma: Free BD consistent memory

2017-12-21 Thread Kedareswara rao Appana
Free BD consistent memory while freeing the channel i.e in free_chan_resources. Signed-off-by: Radhey Shyam Pandey Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma

[LINUX PATCH 2/4] dmaengine: xilinx_dma: Fix race condition in the driver for cdma

2017-12-21 Thread Kedareswara rao Appana
when hardware is idle we need to toggle the SG bit in the control register, inorder to update new value to the current descriptor register other wise undefined results will occur. This patch updates the same. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/

[LINUX PATCH 2/4] dmaengine: xilinx_dma: Fix race condition in the driver for cdma

2017-12-21 Thread Kedareswara rao Appana
when hardware is idle we need to toggle the SG bit in the control register, inorder to update new value to the current descriptor register other wise undefined results will occur. This patch updates the same. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 10

[LINUX PATCH 1/4] dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures

2017-12-21 Thread Kedareswara rao Appana
-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 88d317d..21ac954 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/

[LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2017-12-21 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 8467671..845e638 100644 --- a/drivers/dma/

[LINUX PATCH 1/4] dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures

2017-12-21 Thread Kedareswara rao Appana
-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 88d317d..21ac954 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b/drivers/dma/xilinx/xilinx_dma.c

[LINUX PATCH 3/4] dmaengine: xilinx_dma: Fix compilation warning

2017-12-21 Thread Kedareswara rao Appana
= NULL; Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c index 8467671..845e638 100644 --- a/drivers/dma/xilinx/xilinx_dma.c +++ b

[LINUX PATCH 0/4] dmaengine: xilinx_dma: Bug fixes

2017-12-21 Thread Kedareswara rao Appana
quot;dmaengine: xilinx_dma: Fix typos" Kedareswara rao Appana (4): dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures dmaengine: xilinx_dma: Fix race condition in the driver for cdma dmaengine: xilinx_dma: Fix compilation warning dmaengine: xilinx_dma: Free BD consistent memory

[LINUX PATCH 0/4] dmaengine: xilinx_dma: Bug fixes

2017-12-21 Thread Kedareswara rao Appana
quot;dmaengine: xilinx_dma: Fix typos" Kedareswara rao Appana (4): dmaengine: xilinx_dma: Fix dma_get_slave_caps() API failures dmaengine: xilinx_dma: Fix race condition in the driver for cdma dmaengine: xilinx_dma: Fix compilation warning dmaengine: xilinx_dma: Free BD consistent memory

[RESEND PATCH v2] dmaengine: zynqmp_dma: Add runtime pm support

2017-12-06 Thread Kedareswara rao Appana
This patch adds runtime pm support in the driver. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Resending the patch as there are some issues with my git send-email, patch is not showing in the dmeengine mailing list. Changes for v2: --> Fixed error path in the probe.

[RESEND PATCH v2] dmaengine: zynqmp_dma: Add runtime pm support

2017-12-06 Thread Kedareswara rao Appana
This patch adds runtime pm support in the driver. Signed-off-by: Kedareswara rao Appana --- Resending the patch as there are some issues with my git send-email, patch is not showing in the dmeengine mailing list. Changes for v2: --> Fixed error path in the probe. drivers/dma/xil

[PATCH v2 1/4] dmaengine: zynqmp_dma: Fix kernel doc-format

2017-12-06 Thread Kedareswara rao Appana
.si...@xilinx.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> None. drivers/dma/xilinx/zynqmp_dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c index 4fa14bf.

[PATCH v2 1/4] dmaengine: zynqmp_dma: Fix kernel doc-format

2017-12-06 Thread Kedareswara rao Appana
-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/zynqmp_dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c index 4fa14bf..4376e4a 100644 --- a/drivers/dma/xilinx/zynqmp_dma.c +++ b/driv

[PATCH v2 4/4] dmaengine: zynqmp_dma: Fix race condition in the probe

2017-12-06 Thread Kedareswara rao Appana
Incase of interrupt property is not present, Driver is trying to free an invalid irq, This patch fixes it by adding a check before freeing the irq. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> New patch. drivers/dma/xilinx/zynqmp_dma.c | 3 ++

[PATCH v2 0/4] dmaengine: zynqmp_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
untime pm support" Changes for v2: --> New patch added "dmaengine: zynqmp_dma: Fix race condition in the probe" to the series. Kedareswara rao Appana (4): dmaengine: zynqmp_dma: Fix kernel doc-format dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used dmaengine: z

[PATCH v2 4/4] dmaengine: zynqmp_dma: Fix race condition in the probe

2017-12-06 Thread Kedareswara rao Appana
Incase of interrupt property is not present, Driver is trying to free an invalid irq, This patch fixes it by adding a check before freeing the irq. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> New patch. drivers/dma/xilinx/zynqmp_dma.c | 3 ++- 1 file changed, 2 inserti

[PATCH v2 0/4] dmaengine: zynqmp_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
untime pm support" Changes for v2: --> New patch added "dmaengine: zynqmp_dma: Fix race condition in the probe" to the series. Kedareswara rao Appana (4): dmaengine: zynqmp_dma: Fix kernel doc-format dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used dmaengine: z

[PATCH v2 3/4] dmaengine: zynqmp_dma: Fix issues with overflow interrupt

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below issues. --> Need to clear the channel data count register when overflow interrupts occurs. --> Reduce the log level from _info to _dbg when overflow interrupt occurs. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: --> None

[PATCH v2 2/4] dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below warning drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_handle_ovfl_int': drivers/dma/xilinx/zynqmp_dma.c:522:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes

[PATCH v2 3/4] dmaengine: zynqmp_dma: Fix issues with overflow interrupt

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below issues. --> Need to clear the channel data count register when overflow interrupts occurs. --> Reduce the log level from _info to _dbg when overflow interrupt occurs. Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> None. drivers/dma/xilinx/zyn

[PATCH v2 2/4] dmaengine: zynqmp_dma: Fix warning variable 'val' set but not used

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the below warning drivers/dma/xilinx/zynqmp_dma.c: In function 'zynqmp_dma_handle_ovfl_int': drivers/dma/xilinx/zynqmp_dma.c:522:6: warning: variable 'val' set but not used [-Wunused-but-set-variable] Signed-off-by: Kedareswara rao Appana --- Changes for v2: --> N

[PATCH v7 5/6] dmaengine: xilinx_dma: fix style issues from checkpatch

2017-12-06 Thread Kedareswara rao Appana
This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana <appa...@xilinx.

[PATCH v7 5/6] dmaengine: xilinx_dma: fix style issues from checkpatch

2017-12-06 Thread Kedareswara rao Appana
This patch fixes below. ERROR: open brace '{' following function definitions go on the next line +static int xilinx_dma_child_probe(struct xilinx_dma_device *xdev, + struct device_node *node) { Signed-off-by: Kedareswara rao Appana --- Changes for v7: -->

[PATCH v7 2/6] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-12-06 Thread Kedareswara rao Appana
configuration for frame buffers in s/w, so that driver can handle all cases for "k" frames where n%k==0 (n is a multiple of k) by simply replicating the frame pointers. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v7: ---> Used park mode as default configu

[PATCH v7 2/6] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-12-06 Thread Kedareswara rao Appana
configuration for frame buffers in s/w, so that driver can handle all cases for "k" frames where n%k==0 (n is a multiple of k) by simply replicating the frame pointers. Signed-off-by: Kedareswara rao Appana --- Changes for v7: ---> Used park mode as default configuration as suggested by M

[PATCH v7 4/6] dmaengine: xilinx_dma: Fix kernel doc warnings

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the kernel doc warnings in the driver. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) d

[PATCH v7 4/6] dmaengine: xilinx_dma: Fix kernel doc warnings

2017-12-06 Thread Kedareswara rao Appana
This patch fixes the kernel doc warnings in the driver. Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 37 - 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/drivers/dma/xil

[PATCH v7 3/6] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-12-06 Thread Kedareswara rao Appana
. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v7: ---> None. Changes for v6: ---> Updated Commit message as suggested by Vinod. Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers

[PATCH v7 6/6] dmaengine: xilinx_dma: Differentiate probe based on the ip type

2017-12-06 Thread Kedareswara rao Appana
This patch updates the probe banner info based on the ip probed. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/d

[PATCH v7 3/6] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-12-06 Thread Kedareswara rao Appana
. Signed-off-by: Kedareswara rao Appana --- Changes for v7: ---> None. Changes for v6: ---> Updated Commit message as suggested by Vinod. Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/

[PATCH v7 6/6] dmaengine: xilinx_dma: Differentiate probe based on the ip type

2017-12-06 Thread Kedareswara rao Appana
This patch updates the probe banner info based on the ip probed. Signed-off-by: Kedareswara rao Appana --- Changes for v7: --> New patch. drivers/dma/xilinx/xilinx_dma.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/

[PATCH v7 0/6] dmaengine: xilinx_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
cv) Side. ---> Fixed kernel doc warnings in the driver. ---> Fixed checkpatch errors in the driver. Kedareswara rao Appana (6): dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in v

[PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-06 Thread Kedareswara rao Appana
ed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v7: ---> None. Changes for v6: ---> Updated commit message as suggested by Vinod. ---> Added Channel idle variable description in the driver as suggested by Vinod. Changes for v5: ---> None. Changes for v4: ---> None

[PATCH v7 0/6] dmaengine: xilinx_dma: Bug fixes

2017-12-06 Thread Kedareswara rao Appana
cv) Side. ---> Fixed kernel doc warnings in the driver. ---> Fixed checkpatch errors in the driver. Kedareswara rao Appana (6): dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in v

[PATCH v7 1/6] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-12-06 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not submitted when dmaengine is in progress. This will avoid the polling for a bit in the status register to know dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana

[PATCH v6 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-13 Thread Kedareswara rao Appana
ed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v6: ---> Updated commit message as suggested by Vinod. ---> Added Channel idle variable description in the driver as suggested by Vinod. Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: -

[PATCH v6 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-13 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v6 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-13 Thread Kedareswara rao Appana
Add variable for checking channel idle state to ensure that dma descriptor is not Submitted when DMA engine is in progress. This will avoids the pollling for a bit in the status register to know Dma state in the driver hot path. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana

[PATCH v6 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-13 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v6 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-13 Thread Kedareswara rao Appana
of frames at one time As the h/w is configured for n number of frames. This patch fixes this issue. Acked-by: Rob Herring <r...@kernel.org> Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v6: --

[PATCH v6 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-13 Thread Kedareswara rao Appana
descriptor next descriptor field Points to a invalid location, resulting the invalid data or errors in the DMA engine. This patch fixes this issue by creating a Buffer Descritpor Chain during Channel allocation itself and use those Buffer Descriptors. Signed-off-by: Kedareswara rao Appana <a

[PATCH v6 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-13 Thread Kedareswara rao Appana
of frames at one time As the h/w is configured for n number of frames. This patch fixes this issue. Acked-by: Rob Herring Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v6: ---> Added Rob Acked-by ---> Updated commit message as suggested by Vinod. Changes

[PATCH v6 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-13 Thread Kedareswara rao Appana
descriptor next descriptor field Points to a invalid location, resulting the invalid data or errors in the DMA engine. This patch fixes this issue by creating a Buffer Descritpor Chain during Channel allocation itself and use those Buffer Descriptors. Signed-off-by: Kedareswara rao Appana --- Changes

[PATCH v5 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-06 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v5: ---> None. Changes for v4: ---> None. Changes

[PATCH v5 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-06 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> Ad

[PATCH v5 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-06 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v5 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-06 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v5 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-06 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/

[PATCH v5 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-06 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v5: ---> Updated xlnx,fstore-config property to xln

[PATCH v5 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-06 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> None. Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx

[PATCH v5 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-06 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v5: ---> Updated xlnx,fstore-config property to xlnx,fstore-enable and updated description as suggested by

[PATCH v4 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-04 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v3: ---> None. Changes for v2: ---> Add idle

[PATCH v4 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-04 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v4 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-04 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +---

[PATCH v4 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-04 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file ch

[PATCH v4 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-04 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> Add idle check in the reset as suggested by Jose Abreu --->

[PATCH v4 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-04 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v4 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-04 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v4: ---> Add Check for framestore configuration on Transm

[PATCH v4 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-04 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> Add Check for framestore configuration on Transmit case as well as suggested by Jose Ab

[PATCH v3 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-03 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v3: ---> None. Changes for v2: ---> Add idle

[PATCH v3 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2017-01-03 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> Add idle check in the reset as suggested by Jose Abreu --->

[PATCH v3 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-03 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 8

[PATCH v3 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2017-01-03 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> None. Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 del

[PATCH v3 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-03 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v3 0/3] dmaengine: xilinx_dma: Bug fixes

2017-01-03 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v3 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v3: ---> Added Checks for frame store configuration. If frame store Configuration is not present at the

[PATCH v3 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2017-01-03 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- Changes for v3: ---> Added Checks for frame store configuration. If frame store Configuration is not present at the h/w level and user Subm

[PATCH v2 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-23 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: ---> Fixed race conditions in the driver as suggested by Jose Abreu ---> Fixed unnecessray if

[PATCH v2 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-23 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> Fixed race conditions in the driver as suggested by Jose Abreu ---> Fixed unnecessray if else checks in the vdma_start_tr

[PATCH v2 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-23 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions

[PATCH v2 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-23 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- Changes for v2: ---> None. drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions(-) diff --git a/drivers/

[PATCH v2 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-23 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v2 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-23 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu <joab...@synopsys.com> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- Changes fro v2: ---> Add idle check in the reset as suggeste

[PATCH v2 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-23 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w Fix ---> bug in Multi frame sotres handling in VDMA Fix issues w.r.to multi ---> frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH v2 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-23 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Reviewed-by: Jose Abreu Signed-off-by: Kedareswara rao Appana --- Changes fro v2: ---> Add idle check in the reset as suggested by Jose Abreu ---> Removed xilinx_dma_is_r

[PATCH 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-15 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_d

[PATCH 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-15 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx

[PATCH 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-15 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-15 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions(-) diff --git a/drivers/dma/

[PATCH 0/3] dmaengine: xilinx_dma: Bug fixes

2016-12-15 Thread Kedareswara rao Appana
This patch series fixes below bugs in DMA and VDMA IP's ---> Do not start VDMA until frame buffer is processed by the h/w ---> Fix bug in Multi frame sotres handling in VDMA ---> Fix issues w.r.to multi frame descriptors submit with AXI DMA S2MM(recv) Side. Kedareswara rao

[PATCH 3/3] dmaengine: xilinx_dma: Fix race condition in the driver for multiple descriptor scenario

2016-12-15 Thread Kedareswara rao Appana
by creating a BD Chain during channel allocation itself and use those BD's. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 133 +--- 1 file changed, 83 insertions(+), 50 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers

[PATCH 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-15 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/dma/xilinx/xilinx_dma.c | 43 + 1 file changed, 26 insertions(+), 17 del

[PATCH 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-15 Thread Kedareswara rao Appana
of frames at one time as the h/w Is configured for n number of frames. This patch fixes this issue. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 43 + 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/drivers

[PATCH 2/2] net: phy: Fix race conditions in the driver

2016-08-19 Thread Kedareswara rao Appana
> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/net/phy/xilinx_gmii2rgmii.c | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers/net/phy/xilinx_gmii2rgmii.c index 7336fd0..cdd9d95 100

[PATCH 2/2] net: phy: Fix race conditions in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch fixes the below race conditions in the driver. ---> Fix Opps after unload the driver as a module ---> Use spin locks where relevant. ---> Take reference on the external phy to prevent issues when phy driver is unloaded. Reported-by: Andrew Lunn Signed-off-by: Kedareswara r

[PATCH 1/2] net: phy: Add error checks in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch adds the necessary error checks in the driver. Reported-by: Andrew Lunn <and...@lunn.ch> Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/net/phy/xilinx_gmii2rgmii.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a

[PATCH 1/2] net: phy: Add error checks in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch adds the necessary error checks in the driver. Reported-by: Andrew Lunn Signed-off-by: Kedareswara rao Appana --- drivers/net/phy/xilinx_gmii2rgmii.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b/drivers

[PATCH] net: phy: Update copyright info

2016-08-16 Thread Kedareswara rao Appana
For implementing this driver most of the inputs is provided by Andrew Lunn. Updating the driver with Andrew Copy right. Signed-off-by: Kedareswara rao Appana <appa...@xilinx.com> --- drivers/net/phy/xilinx_gmii2rgmii.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/n

[PATCH] net: phy: Update copyright info

2016-08-16 Thread Kedareswara rao Appana
For implementing this driver most of the inputs is provided by Andrew Lunn. Updating the driver with Andrew Copy right. Signed-off-by: Kedareswara rao Appana --- drivers/net/phy/xilinx_gmii2rgmii.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/phy/xilinx_gmii2rgmii.c b

  1   2   3   4   5   >