All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zoltan Kiss <zoltan.kiss@linaro.org>
To: xen-devel@lists.xenproject.org
Subject: dma_map_single returns 0 on ARM
Date: Fri, 24 Oct 2014 17:40:17 +0100	[thread overview]
Message-ID: <544A80F1.5080203@linaro.org> (raw)

Hi,

I'm trying to fire up the Ethernet port of a Hisilicon D01 board, and it 
fails when it wants to map the buffers to the device:

		phys = dma_map_single(&ndev->dev, priv->rx_buf[i],
				RX_BUF_SIZE, DMA_FROM_DEVICE);

This returns 0, while running on bare metal it works. Does anyone has an 
advice where should I look?

Regards,

Zoltan

             reply	other threads:[~2014-10-24 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 16:40 Zoltan Kiss [this message]
2014-10-25 14:11 ` dma_map_single returns 0 on ARM Stefano Stabellini
2014-10-26 20:39   ` Julien Grall
2014-10-27  4:42     ` manish jaggi
2014-10-27 15:45       ` Stefano Stabellini
2014-10-27 15:30   ` Zoltan Kiss
2014-10-27 15:44     ` Stefano Stabellini
2014-10-27 15:58       ` Zoltan Kiss

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=544A80F1.5080203@linaro.org \
    --to=zoltan.kiss@linaro.org \
    --cc=xen-devel@lists.xenproject.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.