dmaengine: idxd: Clean up descriptors with fault error
mainline inclusion from mainline-v5.11 commit e4f4d8cd category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO CVE: NA Intel-SIG: commit e4f4d8cd dmaengine: idxd: Clean up descriptors with fault error. Incremental backporting patches for DSA/IAA on Intel Xeon platform. -------------------------------- Add code to "complete" a descriptor when the descriptor or its completion address hit a fault error when SVA mode is being used. This error can be triggered due to bad programming by the user. A lock is introduced in order to protect the descriptor completion lists since the fault handler will run from the system work queue after being scheduled in the interrupt handler. Signed-off-by:Dave Jiang <dave.jiang@intel.com> Reviewed-by:
Tony Luck <tony.luck@intel.com> Reviewed-by:
Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/160382008092.3911367.12766483427643278985.stgit@djiang5-desk3.ch.intel.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Xiaochen Shen <xiaochen.shen@intel.com>
Loading
Please sign in to comment