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)
commit05d2cc973cf5225fe542494ef4ac1bc2537a1eef
treef4b81d6f8727d41a6364a9231fff9ad942273144
parentf2aebdaa3d3caf2f0bc4991188128cb017fb473a
dmaengine: idxd: add halt interrupt support

[ Upstream commit 88d97ea82cbe352851a8654ee952d3a694c8c2c6 ]

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