dmaengine: idxd: Add descriptor definitions for translation fetch operation
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 3 Mar 2023 21:34:13 +0000 (13:34 -0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 31 Mar 2023 11:55:26 +0000 (17:25 +0530)
commit6fec8938b7b4fe2b2c503fe87b2783a50bff0415
tree97986b15f4be05f5e2b8ea18b9d8bf8b8bf69802
parent12bbc2c2605516e781cd86e3cde9fe1f889b72cc
dmaengine: idxd: Add descriptor definitions for translation fetch operation

The translation fetch operation (0x0A) fetches address translations for the
address range specified in the descriptor by issuing address translation
(ATS) requests to the IOMMU.

Add descriptor definitions for the operation so that user can use DSA
to accelerate translation fetch.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20230303213413.3357431-4-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
include/uapi/linux/idxd.h