diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2017-11-07 23:59:02 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-11-09 02:25:12 +0300 |
commit | 341b2aa83368e6f23bf0cc3d04604896337ad7cb (patch) | |
tree | e7858cc574c7a7e1c7ac3eab3536f7fef90a5e16 /drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv49.c | |
parent | 268eb4989410619c39b041d453a05a71b26b24c6 (diff) | |
download | linux-341b2aa83368e6f23bf0cc3d04604896337ad7cb.tar.xz |
scsi: lpfc: Fix hard lock up NMI in els timeout handling.
System crashed due to a hard lockup at lpfc_els_timeout_handler+0x128.
The els ring's txcmplq list is corrupted: the last element in the list
does not point back the the head causing a loop. Issue is the els
processing path for sli4 hbas are using the hbalock instead of the
ring_lock for removing elements from the txcmplq list.
Use the adapter SLI_REV to determine which lock should be used for
removing iocbqs from the els rings txcmplq.
note: the future refactoring will address this so that we don't have
this ugly type-based lock code.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv49.c')
0 files changed, 0 insertions, 0 deletions