dmaengine: idxd: add module parameter to force disable of SVA
authorDave Jiang <dave.jiang@intel.com>
Fri, 22 Jan 2021 18:46:00 +0000 (11:46 -0700)
committerVinod Koul <vkoul@kernel.org>
Tue, 26 Jan 2021 17:28:55 +0000 (22:58 +0530)
commit03d939c7e3d8800a9feb54808929c5776ac510eb
tree007b7998d6618bd6423be049e5e5661fc8907173
parent9f3c14d4433b98c87f958128045539f297a2fa6d
dmaengine: idxd: add module parameter to force disable of SVA

Add a module parameter that overrides the SVA feature enabling. This keeps
the driver in legacy mode even when intel_iommu=sm_on is set. In this mode,
the descriptor fields must be programmed with dma_addr_t from the Linux DMA
API for source, destination, and completion descriptors.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/161134110457.4005461.13171197785259115852.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
drivers/dma/idxd/init.c