]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: idxd: add halt interrupt support
authorDave Jiang <dave.jiang@intel.com>
Wed, 8 Sep 2021 23:04:03 +0000 (16:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Dec 2021 08:32:38 +0000 (09:32 +0100)
commit1004fc5101f70e1c7414ed54a84a7b38ee735860
treef4b81d6f8727d41a6364a9231fff9ad942273144
parentaee621521abd1a0e137f56ebf449d99c1a7c8a0a
dmaengine: idxd: add halt interrupt support

[ Upstream commit 009cd6c80ca072ed126d487b5a661504f471e6df ]

Add halt interrupt support. Given that the misc interrupt handler already
check halt state, the driver just need to run the halt handling code when
receiving the halt interrupt.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/163114224352.846654.14334468363464318828.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/idxd/irq.c
drivers/dma/idxd/registers.h