public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: Rusty Russell <rusty@rustcorp.com.au>, Jens Axboe <axboe@kernel.dk>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f)
Date: Wed, 17 Jul 2013 09:48:59 +0200	[thread overview]
Message-ID: <51E64C6B.3080306@monstr.eu> (raw)

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 263 bytes --]

             reply	other threads:[~2013-07-17  7:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-17  7:48 Michal Simek [this message]
2013-07-22  1:47 ` scatterlist: sg_set_buf() argument must be in linear mapping (sha1: ac4e97abce9b80c020e7113325f49e58b7b15e3f) Rusty Russell
2013-07-22 12:58   ` Michal Simek
2013-07-23  2:30     ` Rusty Russell
2013-07-23 10:37       ` Russell King - ARM Linux
2013-07-23 12:12         ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51E64C6B.3080306@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox