All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Gary M <garym@oedata.com>
Cc: xen-devel@lists.xen.org
Subject: Re: help: dma_map_single() returning null in dom0
Date: Wed, 13 Aug 2014 08:50:31 -0400	[thread overview]
Message-ID: <20140813125031.GA15045@laptop.dumpdata.com> (raw)
In-Reply-To: <CAGwOJnxzmURH0X_6B7MDRNMKZRpeXOxob+CQW0dK=t0LRp88mg@mail.gmail.com>

On Tue, Aug 12, 2014 at 05:09:22PM -0600, Gary M wrote:
> Hi,
> 
> I'm in a gap in my understanding need some help..
> 
> I'm porting a driver from bare metal to Dom0, xen 4.3, debian jessie kernel
> 3.14
> 
> I do a kmalloc and get a null returned dma_map_single().

Could paste your code please?
> Is there something I'm not setting correctly in dom0 kernel line ?
> Does the dma_map_single() call work in dom0 ?

Yes.
> 
> cheers
> -g

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel

      reply	other threads:[~2014-08-13 12:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 23:09 help: dma_map_single() returning null in dom0 Gary M
2014-08-13 12:50 ` Konrad Rzeszutek Wilk [this message]

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=20140813125031.GA15045@laptop.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=garym@oedata.com \
    --cc=xen-devel@lists.xen.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.