public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: jszhang@marvell.com (Jisheng Zhang)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] implement arm64_adjust_dma_zone as arm32 does?
Date: Wed, 3 Dec 2014 17:58:55 +0800	[thread overview]
Message-ID: <20141203175855.114d6717@xhacker> (raw)

Dear Will, Catalin,

If one platform has one limitation only some banks are DMA-able, for example
0-2GB. Under arm32, we can set the dma_zone_size, then arm_adjust_dma_zone()
will set the correct dma zone for us. But under arm64, we can't do it.


Or set dma-range in dts, then use swiotlb to bounce?

Could you kindly please give one suggestion about how to handle this
situation?

Thanks in advance,
Jisheng

             reply	other threads:[~2014-12-03  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03  9:58 Jisheng Zhang [this message]
2014-12-03 10:24 ` [RFC] implement arm64_adjust_dma_zone as arm32 does? Catalin Marinas
2014-12-03 11:02   ` Jisheng Zhang
2014-12-03 12:17     ` Catalin Marinas
2014-12-03 13:46       ` Arnd Bergmann
2014-12-04 10:17         ` Jisheng Zhang

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=20141203175855.114d6717@xhacker \
    --to=jszhang@marvell.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox