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

Questions Regarding DDIO and Cache Control Bit in DSA with DMA engine API

yun3319
Novice
309 Views

Hello,

 

I am currently performing DMA memcpy operations using the DMAengine API in the Linux kernel and have learned that DSA allows enabling and disabling DDIO on a per-request basis. The DSA specification mentions that the Cache Control bit can be used to manage DDIO behavior. I have two questions regarding this:

  1. The Cache Control bit is present in both the descriptor field and the GENCAP register. What is the functional difference between these two Cache Control bits in terms of DDIO management?

  2. It seems that there is no code to set the cache control flag(IDXD_OP_FLAG_CC) in the linux kernel 6.6.0, and by default, the cache control flag is set to 0. In this case, does only DDIO setting determine whether the LLC is used in the system?

I would appreciate any guidance on this. Thank you!

0 Kudos
0 Replies
Reply