Re: [PATCH 06/15] lpfc: Fix NMI watchdog assertions when running nvmet IOPS tests

Hannes Reinecke
2017-05-11T06:21:12Z

On 05/10/2017 09:07 PM, James Smart wrote:
> 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 it's 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>
> ---
> drivers/scsi/lpfc/lpfc_debugfs.c | 30 +++++++++++++++---------------
> drivers/scsi/lpfc/lpfc_sli.c | 8 ++------
> 2 files changed, 17 insertions(+), 21 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)