aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2021-02-01 08:26:14 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-17 11:02:25 +0100
commit40e3b5c128645d2ddad12310c7be98758cafb2b0 (patch)
tree0ef42e2e968579adfd229373ad36ce6816b02919 /kernel/futex.c
parent143b87907788e18326de5f0afa694ec633b56d85 (diff)
downloadkernel_replicant_linux-40e3b5c128645d2ddad12310c7be98758cafb2b0.tar.gz
kernel_replicant_linux-40e3b5c128645d2ddad12310c7be98758cafb2b0.tar.bz2
kernel_replicant_linux-40e3b5c128645d2ddad12310c7be98758cafb2b0.zip
dmaengine: idxd: check device state before issue command
[ Upstream commit 89e3becd8f821e507052e012d2559dcda59f538e ] Add device state check before executing command. Without the check the command can be issued while device is in halt state and causes the driver to block while waiting for the completion of the command. Reported-by: Sanjay Kumar <sanjay.k.kumar@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Tested-by: Sanjay Kumar <sanjay.k.kumar@intel.com> Fixes: 0d5c10b4c84d ("dmaengine: idxd: add work queue drain support") Link: https://lore.kernel.org/r/161219313921.2976211.12222625226450097465.stgit@djiang5-desk3.ch.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions