How to increase atomic DMA coherent pool? Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of How to increase atomic DMA coherent pool? without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I recently attempted to compile a device driver (Xilinx XAPP1052) on Fedora Workstation 20. It gave me the following error.

ERROR: 256 KiB atomic DMA coherent pool is too small!

Please increase it with coherent_pool= kernel parameter

How would I go about doing this? Is there a command that lets me change the coherent_pool parameter?


Like the message says, use coherent_pool=<size> kernel (boot) parameter.

With grub, select the desired kernel, press e to modify the boot entry, then append the line starting with kernel with the option. This change won’t be preserved across reboots.

If you want the change permanent, append the option to GRUB_CMDLINE_LINUX in /etc/default/grub:

GRUB_CMDLINE_LINUX="... coherent_pool=<size>"

Remeber to run update-grub to write the new configuration files.

We are here to answer your question about How to increase atomic DMA coherent pool? - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji