All of lore.kernel.org
 help / color / mirror / Atom feed
* help: dma_map_single() returning null in dom0
@ 2014-08-12 23:09 Gary M
  2014-08-13 12:50 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 2+ messages in thread
From: Gary M @ 2014-08-12 23:09 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 319 bytes --]

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().
Is there something I'm not setting correctly in dom0 kernel line ?
Does the dma_map_single() call work in dom0 ?

cheers
-g

[-- Attachment #1.2: Type: text/html, Size: 494 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help: dma_map_single() returning null in dom0
  2014-08-12 23:09 help: dma_map_single() returning null in dom0 Gary M
@ 2014-08-13 12:50 ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-08-13 12:50 UTC (permalink / raw)
  To: Gary M; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-13 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-12 23:09 help: dma_map_single() returning null in dom0 Gary M
2014-08-13 12:50 ` Konrad Rzeszutek Wilk

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.