dmaengine: idxd: fix misc interrupt handler thread unmasking
authorDave Jiang <dave.jiang@intel.com>
Thu, 25 Jun 2020 19:16:54 +0000 (12:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:07 +0000 (09:34 +0200)
commitf19eeb88a54abdfdee39766000c88c9b37f0bd89
tree8a8962670237b39dabc47630e445a983c543ec2d
parent2a2df2bd10de44c3804661ed15157817c12d6291
dmaengine: idxd: fix misc interrupt handler thread unmasking

[ Upstream commit e3122822a74033ba8d6d9af855078f9ab741e33f ]

Fix unmasking of misc interrupt handler when completing normal. It exits
early and skips the unmasking with the current implementation. Fix to
unmask interrupt when exiting normally.

Fixes: bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/159311256528.855.11527922406329728512.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