diff options
author | Justin Tee <justin.tee@broadcom.com> | 2024-03-05 12:04:54 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-03-10 18:56:43 -0400 |
commit | 4623713e7ade46bfc63a3eade836f566ccbcd771 (patch) | |
tree | c034b992511678fb270d6d1700a72452e37f8a7e /drivers/scsi/nsp32.c | |
parent | 4ddf01f2f1504fa08b766e8cfeec558e9f8eef6c (diff) | |
download | linux-stable-4623713e7ade46bfc63a3eade836f566ccbcd771.tar.gz linux-stable-4623713e7ade46bfc63a3eade836f566ccbcd771.tar.bz2 linux-stable-4623713e7ade46bfc63a3eade836f566ccbcd771.zip |
scsi: lpfc: Remove IRQF_ONESHOT flag from threaded IRQ handling
IRQF_ONESHOT is found to mask HBA generated interrupts when thread_fn is
running. As a result, some EQEs/CQEs miss timely processing resulting in
SCSI layer attempts to abort commands due to io_timeout. Abort CQEs are
also not processed leading to the observations of hangs and spam of "0748
abort handler timed out waiting for aborting I/O" log messages.
Remove the IRQF_ONESHOT flag. The cmpxchg and xchg atomic operations on
lpfc_queue->queue_claimed already protect potential parallel access to an
EQ/CQ should the thread_fn get interrupted by the primary irq handler.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20240305200503.57317-4-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/nsp32.c')
0 files changed, 0 insertions, 0 deletions