Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-23 Thread Michal Simek
On 07/23/2013 12:37 PM, Russell King - ARM Linux wrote: > On Tue, Jul 23, 2013 at 12:00:30PM +0930, Rusty Russell wrote: >> Michal Simek writes: >>> Let me take some code from virtio_rpmsg_bus.c to show that problematic part. >>> >>> bufs_va = dma_alloc_coherent(vdev->dev.parent->parent, >>>

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-23 Thread Russell King - ARM Linux
On Tue, Jul 23, 2013 at 12:00:30PM +0930, Rusty Russell wrote: > Michal Simek writes: > > Let me take some code from virtio_rpmsg_bus.c to show that problematic part. > > > > bufs_va = dma_alloc_coherent(vdev->dev.parent->parent, > > RPMSG_TOTAL_BUF_SPACE, > >

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-23 Thread Russell King - ARM Linux
On Tue, Jul 23, 2013 at 12:00:30PM +0930, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Let me take some code from virtio_rpmsg_bus.c to show that problematic part. bufs_va = dma_alloc_coherent(vdev-dev.parent-parent, RPMSG_TOTAL_BUF_SPACE,

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-23 Thread Michal Simek
On 07/23/2013 12:37 PM, Russell King - ARM Linux wrote: On Tue, Jul 23, 2013 at 12:00:30PM +0930, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Let me take some code from virtio_rpmsg_bus.c to show that problematic part. bufs_va = dma_alloc_coherent(vdev-dev.parent-parent,

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Rusty Russell
Michal Simek writes: > + Ohad > > On 07/22/2013 03:47 AM, Rusty Russell wrote: >> Michal Simek writes: >>> Hi Rusty and Jens, >>> >>> I am getting problem with your patch which you have added to the kernel. >>> The problem is with my arm zynq remoteproc driver where >>> I use

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Michal Simek
+ Ohad On 07/22/2013 03:47 AM, Rusty Russell wrote: > Michal Simek writes: >> Hi Rusty and Jens, >> >> I am getting problem with your patch which you have added to the kernel. >> The problem is with my arm zynq remoteproc driver where >> I use dma_declare_coherent_memory() to specify memory for

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Michal Simek
+ Ohad On 07/22/2013 03:47 AM, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use dma_declare_coherent_memory() to specify memory

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-22 Thread Rusty Russell
Michal Simek mon...@monstr.eu writes: + Ohad On 07/22/2013 03:47 AM, Rusty Russell wrote: Michal Simek mon...@monstr.eu writes: Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-21 Thread Rusty Russell
Michal Simek writes: > Hi Rusty and Jens, > > I am getting problem with your patch which you have added to the kernel. > The problem is with my arm zynq remoteproc driver where > I use dma_declare_coherent_memory() to specify memory for remoteproc > which is ioremap to the vmalloc area. > > Based

Re: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-21 Thread Rusty Russell
Michal Simek mon...@monstr.eu writes: Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use dma_declare_coherent_memory() to specify memory for remoteproc which is ioremap to the vmalloc area.

scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-17 Thread Michal Simek
Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use dma_declare_coherent_memory() to specify memory for remoteproc which is ioremap to the vmalloc area. Based on that buf addr is not inside ram

scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)

2013-07-17 Thread Michal Simek
Hi Rusty and Jens, I am getting problem with your patch which you have added to the kernel. The problem is with my arm zynq remoteproc driver where I use dma_declare_coherent_memory() to specify memory for remoteproc which is ioremap to the vmalloc area. Based on that buf addr is not inside ram