Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
1135 Discussions

how to configure DSA so async_memcpy() will use it (in Linux kernel)

Eldad_Z
Beginner
2,649 Views

Hi
I want to use DSA with the async_memcpy() kernel API.
I configured a group, an engine, and a wq of type=kernel and mode=dedicated.
I then bound the dsa device to idxd driver and the wq device to dmaengine driver.
I see that dma0chan0 was created but async_memcpy() doesn't use it.

From looking at the code, I see the problem:
idxd_register_dma_device() sets DMA_PRIVATE, which prevents the device from being used for async_memcpy().

Do you know how to make DSA work with async_memcpy()?

Thanks.

0 Replies
Reply