diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-05-24 21:50:23 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-26 18:21:10 +0200 |
commit | 7049de65c9e520886f06d6f9deceaaed5d93fb7c (patch) | |
tree | a6830c3cf1d7de51014c16aa3ca2645961cefa95 /include | |
parent | IB/hfi1: Add tracing support for send with invalidate opcode (diff) | |
download | linux-7049de65c9e520886f06d6f9deceaaed5d93fb7c.tar.xz linux-7049de65c9e520886f06d6f9deceaaed5d93fb7c.zip |
IB/hfi1: Fix hard lockup due to not using save/restore spin lock
Commit b9b06cb6feda
("IB/hfi1: Fix missing lock/unlock in verbs drain callback")
added a spin lock.
Unfortunately, the new lock code can be called from a base
level interrupt state, and an interrupt that can get stacked
will attempt to get the same lock.
Fix by using the flag save/restore spin lock variation.
Cc: stable@vger.kernel.org # 4.6+
Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions