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

From: Michal Simek
Date: Wed Jul 17 2013 - 03:49:14 EST


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 even this coherent memory is in ram.
That's why virt_addr_valid(buf) is failing.

Thanks for you input,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


Attachment: signature.asc
Description: OpenPGP digital signature