Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1128 Discussions

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

Eldad_Z
Beginner
425 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 Kudos
0 Replies
Reply