summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-09-21 07:30:08 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-09-22 00:22:12 -0400
commitefe1dc571a5b808baa26682eef16561be2e356fd (patch)
tree9e48c40426b87794c2cd1834ef8aaa42c062990b /tools/perf/scripts
parentcbd9a3347c757383f3d2b50cf7cfd03eb479c481 (diff)
downloadlinux-efe1dc571a5b808baa26682eef16561be2e356fd.tar.gz
linux-efe1dc571a5b808baa26682eef16561be2e356fd.zip
scsi: lpfc: Fix mailbox command failure during driver initialization
Contention for the mailbox interface may occur during driver initialization (immediately after a function reset), between mailbox commands initiated via ioctl (bsg) and those driver requested by the driver. After setting SLI_ACTIVE flag for a port, there is a window in which the driver will allow an ioctl to be initiated while the adapter is initializing and issuing mailbox commands via polling. The polling logic then gets confused. Correct by having thread setting SLI_ACTIVE spot an active mailbox command and allow it complete before proceeding. Link: https://lore.kernel.org/r/20210921143008.64212-1-jsmart2021@gmail.com Co-developed-by: Nigel Kirkland <nkirkland2304@gmail.com> Signed-off-by: Nigel Kirkland <nkirkland2304@gmail.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions