summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-04-15 16:17:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-02 17:20:50 +0200
commitb7461a68199441b25145a9772bec9b7d60d018ac (patch)
treeb75eb470e58ca37a5f9d0af7fbef4339deb8c0e1 /lib/mpi/mpicoder.c
parentaae0633bb2f35048f874a2b5176c23f6397b4c4a (diff)
UAS: fix deadlock in error handling and PM flushing work
commit f6cc6093a729ede1ff5658b493237c42b82ba107 upstream. A SCSI error handler and block runtime PM must not allocate memory with GFP_KERNEL. Furthermore they must not wait for tasks allocating memory with GFP_KERNEL. That means that they cannot share a workqueue with arbitrary tasks. Fix this for UAS using a private workqueue. Signed-off-by: Oliver Neukum <oneukum@suse.com> Fixes: f9dc024a2da1f ("uas: pre_reset and suspend: Fix a few races") Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200415141750.811-2-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions