]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dmaengine: idxd: Refactor halt handler
authorFenghua Yu <fenghua.yu@intel.com>
Fri, 22 Nov 2024 23:30:27 +0000 (15:30 -0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 24 Dec 2024 10:38:04 +0000 (16:08 +0530)
commit3e114fa0fd1506c9e75aa0e2eb6a9050eb16b2f8
tree2f1f564fad8f97237c6e0b809c981b0ed459e999
parent6078a315aec15e0776fa90347cf4eba7478cdbd7
dmaengine: idxd: Refactor halt handler

Define a halt handling helper idxd_halt(). Refactor the halt interrupt
handler to call the helper. This will simplify the Function Level
Reset (FLR) code.

No functional change.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20241122233028.2762809-5-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/idxd/irq.c