]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dmaengine: idxd: add per DSA wq workqueue for processing cr faults
authorDave Jiang <dave.jiang@intel.com>
Fri, 7 Apr 2023 20:31:33 +0000 (13:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:40:19 +0000 (14:40 +0200)
commit22d907d7350a0790b5291880e66ee78cb9c28a67
tree6312b7c52c9bab517220fd1bf5b50bf3a110d42d
parente4cde54b46a87231c77256a633be1bef62687d69
dmaengine: idxd: add per DSA wq workqueue for processing cr faults

[ Upstream commit 2f30decd2f23a376d2ed73dfe4c601421edf501a ]

Add a workqueue for user submitted completion record fault processing.
The workqueue creation and destruction lifetime will be tied to the user
sub-driver since it will only be used when the wq is a user type.

Tested-by: Tony Zhu <tony.zhu@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Co-developed-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20230407203143.2189681-7-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Stable-dep-of: 8dfa57aabff6 ("dmaengine: idxd: Fix allowing write() from different address spaces")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/idxd/cdev.c
drivers/dma/idxd/idxd.h