Hi Helen,
On Tue, Mar 29, 2016 at 08:49:47PM -0300, Helen Mae Koike Fornazier wrote:
> According to the V4L2 API, the VIDIOC_STREAMON ioctl should return EPIPE
> if there is a format mismatch in the pipeline configuration.
>
> As the .vidioc_streamon in the v4l2_ioctl_ops usually forwards the err
In order to support DMA operations in a clean way we need to extract some
of the logic coded in sunxi_nfc_hw_ecc_read/write_page() into their own
function.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand.c | 163 --
1 file changed, 108 inser
sunxi_nfc_hw_ecc_read_chunk() always retrieves the ECC and protected free
bytes, no matter if the user really asked for it or not. This can take a
non negligible amount of time, especially on NAND chips exposing large OOB
areas (> 1KB). Make it optional.
Signed-off-by: Boris Brezillon
---
driver
Allow for NULL cur_offs values when the caller does not know where the
NAND page register pointer point to.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/
The sunxi NAND controller is able to pipeline ECC operations only when
operated in DMA mode, which improves a lot NAND throughput while keeping
CPU usage low.
Signed-off-by: Boris Brezillon
---
drivers/mtd/nand/sunxi_nand.c | 324 +-
1 file changed, 320 in
Some NAND controller drivers are making use of DMA to transfer data from
the controller to the buffer passed by the MTD user.
Provide a generic mtd_map/unmap_buf() implementation to avoid open coded
(and sometime erroneous) implementations.
Signed-off-by: Boris Brezillon
---
drivers/mtd/mtdcore.
sg_alloc_table_from_buf() provides an easy solution to create an sg_table
from a virtual address pointer. This function takes care of dealing with
vmallocated buffers, buffer alignment, or DMA engine limitations (maximum
DMA transfer size).
Signed-off-by: Boris Brezillon
---
include/linux/scatte
Document dmas and dma-names properties.
Signed-off-by: Boris Brezillon
Acked-by: Rob Herring
---
Documentation/devicetree/bindings/mtd/sunxi-nand.txt | 4
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/mtd/sunxi-nand.txt
b/Documentation/devicetree/bindings
Hello,
This patch series aims at adding support for DMA assisted operations to
the sunxi_nand driver.
The first 3 patches are just reworks in the existing driver preparing
things for DMA ->read/write_page() operations. Those ones are mainly
re-arranging existing functions, and moving some code in
On Wed, Mar 30, 2016 at 05:39:51PM +0200, Boris Brezillon wrote:
> sg_alloc_table_from_buf() provides an easy solution to create an sg_table
> from a virtual address pointer. This function takes care of dealing with
> vmallocated buffers, buffer alignment, or DMA engine limitations (maximum
> DMA t
On Wed, 30 Mar 2016 09:51:43 -0700
Mark Brown wrote:
> On Wed, Mar 30, 2016 at 05:39:51PM +0200, Boris Brezillon wrote:
> > sg_alloc_table_from_buf() provides an easy solution to create an sg_table
> > from a virtual address pointer. This function takes care of dealing with
> > vmallocated buffer
On Wed, Mar 30, 2016 at 08:18:31PM +0200, Boris Brezillon wrote:
> BTW, do you see other things that should be added in sg_constraints?
It looked to do everything SPI does which is everything I know about.
signature.asc
Description: PGP signature
Add description of ENOLINK error
Signed-off-by: Helen Mae Koike Fornazier
---
The patch set is based on 'media/master' branch and available at
https://github.com/helen-fornazier/opw-staging media/devel
Changes since v2:
* this is a new commit in the set
Documentation/DocBook/m
According to the V4L2 API, the VIDIOC_STREAMON ioctl should return EPIPE
if there is a format mismatch in the pipeline configuration.
As the .vidioc_streamon in the v4l2_ioctl_ops usually forwards the error
caused by the v4l2_subdev_link_validate_default (if it is in use), it
should return -EPIPE
Fix error code on streamon
The patch set is based on 'media/master' branch and available at
https://github.com/helen-fornazier/opw-staging media/devel
Changes since v2:
[media] media: change pipeline validation return error
* Added Ack by Sakari
Updated the DocBook in the co
Hi Helen,
Helen Mae Koike Fornazier wrote:
Add description of ENOLINK error
Signed-off-by: Helen Mae Koike Fornazier
---
The patch set is based on 'media/master' branch and available at
https://github.com/helen-fornazier/opw-staging media/devel
Changes since v2:
* this is a
Add description of ENOLINK error
Signed-off-by: Helen Mae Koike Fornazier
Acked-by: Sakari Ailus
---
Changes since v3:
* ..."pipeline configuration"... to ..."pipeline link configuration"...
* Added Acked-by
The patch is based on 'media/master' branch and available at
h
Fix error code on streamon
Changes since v3:
[media] media: change pipeline validation return error
* Nothing has changed
[media] DocBook: update error code in videoc-streamon
* Added "link" word
* Added Ack-by
The patch set is bas
According to the V4L2 API, the VIDIOC_STREAMON ioctl should return EPIPE
if there is a format mismatch in the pipeline configuration.
As the .vidioc_streamon in the v4l2_ioctl_ops usually forwards the error
caused by the v4l2_subdev_link_validate_default (if it is in use), it
should return -EPIPE
This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.
Results of the daily build of media_tree:
date: Thu Mar 31 04:00:18 CEST 2016
git branch: test
git hash: d3f5193019443ef8e556b64f3cd359773c4d377b
gcc versi
Hi,
On 03/30/2016 09:09 PM, Boris BREZILLON wrote:
[...]
> +int sg_alloc_table_from_buf(struct sg_table *sgt, const void *buf, size_t
> len,
> + const struct sg_constraints *constraints,
> + gfp_t gfp_mask)
> +{
> + struct sg_constraints cons
21 matches
Mail list logo