How can I make dma_alloc to use the device's reserved memory?
Nov. 2, 2023
12:51 a.m.
Hi kernel experts, If some memory was reserved for a dma-able device using device tree's 'reserved-memory' property, if I do dma_alloc_coherent for the device, does it allocate memory in that reserved memory? I don't think so because dma_alloc_coherent works regardless of wether there is reserved memory for the device or not. Then how can I make the kernel reserve the dma memory from that reserved memory? Thank you. Chan Kim
1016
Age (days ago)
1016
Last active (days ago)
0 comments
1 participants
participants (1)
-
김찬