dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question on DMA mask
@ 2021-02-15 16:27 Noam Liron
  0 siblings, 0 replies; only message in thread
From: Noam Liron @ 2021-02-15 16:27 UTC (permalink / raw)
  To: dmaengine

Hi everyone,

I am working on a SOC which it's RAM starts at 0x200M.
For some reason I need to limit the DMA allocations up to 0x220M, so I called  - dma_set_mask_and_coherent(mmc_dev(mmc), 0x21FFFFFFF).
I noticed that dev->dma_mask  was not set, while dev->coherent_dma_mask was set.
Still, calling dma_alloc_coherent returns buffers above the requested limit.
How can I limit the buffer address?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-15 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 16:27 Question on DMA mask Noam Liron

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).