]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Fix NMI watchdog assertions when running nvmet IOPS tests
authorJames Smart <jsmart2021@gmail.com>
Mon, 15 May 2017 22:20:43 +0000 (15:20 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 17 May 2017 01:20:41 +0000 (21:20 -0400)
commit67065af4aab9c2d69e8642669c897edee7fb7488
treee80a029b8b4ba0814a245f915729770e95e6e640
parent6261ff5f9123fb04228af913e7aab987d6544cd4
scsi: lpfc: Fix NMI watchdog assertions when running nvmet IOPS tests

After running IOPS test for 30 second we get kernel:NMI watchdog:
Watchdog detected hard LOCKUP on cpu 0

The driver is speend too much time in its ISR.

In ISR EQ and CQ processing routines, if we hit the entry_repost numbers
of EQE/CQEs just break out of the routine as opposed to hitting the
doorbell with NOARM and continue processing.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_sli.c