dmaengine: idxd: remove interrupt disable for dev_lock
mainline inclusion from mainline-v5.15 commit cf84a4b9 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596WO CVE: NA Intel-SIG: commit cf84a4b9 dmaengine: idxd: remove interrupt disable for dev_lock. Incremental backporting patches for DSA/IAA on Intel Xeon platform. -------------------------------- The spinlock is not being used in hard interrupt context. There is no need to disable irq when acquiring the lock. The interrupt thread handler also is not in bottom half context, therefore we can also remove disabling of the bh. Convert all dev_lock acquisition to plain spin_lock() calls. Reviewed-by:Dan Williams <dan.j.williams@intel.com> Signed-off-by:
Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/162984026772.1939166.11504067782824765879.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