linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] implement arm64_adjust_dma_zone as arm32 does?
@ 2014-12-03  9:58 Jisheng Zhang
  2014-12-03 10:24 ` Catalin Marinas
  0 siblings, 1 reply; 6+ messages in thread
From: Jisheng Zhang @ 2014-12-03  9:58 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

end of thread, other threads:[~2014-12-04 10:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03  9:58 [RFC] implement arm64_adjust_dma_zone as arm32 does? Jisheng Zhang
2014-12-03 10:24 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).