Manish Rangankar
0b1ce92fab
scsi: qla2xxx: Remove unused nvme_ls_waitq wait queue
...
commit 20fce500b232b970e40312a9c97e7f3b6d7a709c upstream.
System crash when qla2x00_start_sp(sp) returns error code EGAIN and wake_up
gets called for uninitialized wait queue sp->nvme_ls_waitq.
qla2xxx [0000:37:00.1]-2121:5: Returning existing qpair of ffff8ae2c0513400 for idx=0
qla2xxx [0000:37:00.1]-700e:5: qla2x00_start_sp failed = 11
BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
PGD 0 P4D 0
Oops: 0000 [#1 ] SMP NOPTI
Hardware name: HPE ProLiant DL360 Gen10/ProLiant DL360 Gen10, BIOS U32 09/03/2021
Workqueue: nvme-wq nvme_fc_connect_ctrl_work [nvme_fc]
RIP: 0010:__wake_up_common+0x4c/0x190
RSP: 0018:ffff95f3e0cb7cd0 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff8b08d3b26328 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000003 RDI: ffff8b08d3b26320
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffffffffffe8
R10: 0000000000000000 R11: ffff95f3e0cb7a60 R12: ffff95f3e0cb7d20
R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8b2fdf6c0000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000002f1e410002 CR4: 00000000007706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
__wake_up_common_lock+0x7c/0xc0
qla_nvme_ls_req+0x355/0x4c0 [qla2xxx]
? __nvme_fc_send_ls_req+0x260/0x380 [nvme_fc]
? nvme_fc_send_ls_req.constprop.42+0x1a/0x45 [nvme_fc]
? nvme_fc_connect_ctrl_work.cold.63+0x1e3/0xa7d [nvme_fc]
Remove unused nvme_ls_waitq wait queue. nvme_ls_waitq logic was removed
previously in the commits tagged Fixed: below.
Fixes: 219d27d7147e ("scsi: qla2xxx: Fix race conditions in the code for aborting SCSI commands")
Fixes: 5621b0dd7453 ("scsi: qla2xxx: Simpify unregistration of FC-NVMe local/remote ports")
Cc: stable@vger.kernel.org
Signed-off-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link: https://lore.kernel.org/r/20230615074633.12721-1-njavali@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-07-27 08:44:33 +02:00
..
2020-12-30 11:53:02 +01:00
2021-07-25 14:36:16 +02:00
2023-03-11 16:39:37 +01:00
2021-07-20 16:05:39 +02:00
2020-10-14 15:15:35 -07:00
2022-04-20 09:23:16 +02:00
2022-04-13 21:00:55 +02:00
2022-02-08 18:30:39 +01:00
2022-04-20 09:23:16 +02:00
2021-11-18 14:04:18 +01:00
2022-04-20 09:23:16 +02:00
2020-10-16 12:21:15 -07:00
2023-04-05 11:23:33 +02:00
2020-03-11 23:07:59 -04:00
2020-10-14 15:15:35 -07:00
2023-01-14 10:15:52 +01:00
2021-02-07 15:37:14 +01:00
2023-04-05 11:23:38 +02:00
2022-12-02 17:39:58 +01:00
2022-04-20 09:23:21 +02:00
2021-07-25 14:36:16 +02:00
2022-04-13 21:00:59 +02:00
2022-10-26 13:25:37 +02:00
2023-05-30 12:57:48 +01:00
2023-04-26 11:27:37 +02:00
2023-03-22 13:29:56 +01:00
2022-04-20 09:23:24 +02:00
2021-09-18 13:40:14 +02:00
2022-04-20 09:23:15 +02:00
2023-07-27 08:43:56 +02:00
2023-05-17 11:48:10 +02:00
2023-07-27 08:44:33 +02:00
2022-04-20 09:23:16 +02:00
2022-08-21 15:15:59 +02:00
2023-01-14 10:15:52 +01:00
2020-10-23 16:19:02 -07:00
2023-04-05 11:23:38 +02:00
2020-03-25 11:50:48 +01:00
2022-10-26 13:25:52 +02:00
2023-07-27 08:43:56 +02:00
2020-10-23 16:19:02 -07:00
2020-09-25 06:20:43 +02:00
2020-06-09 09:39:13 -07:00
2020-06-09 09:39:13 -07:00
2021-11-26 10:39:10 +01:00
2022-04-13 21:00:58 +02:00
2020-03-26 21:10:53 -04:00
2019-11-12 22:21:34 -05:00
2019-11-12 22:21:35 -05:00
2021-09-18 13:40:35 +02:00
2021-06-03 09:00:43 +02:00
2020-02-24 14:54:25 -05:00
2020-04-01 22:03:04 -04:00
2022-06-09 10:21:24 +02:00
2023-06-09 10:30:18 +02:00
2023-06-09 10:30:18 +02:00
2020-08-23 17:36:59 -05:00
2019-12-19 22:08:51 -05:00
2020-09-02 22:49:07 -04:00
2020-07-08 01:12:44 -04:00
2021-07-14 16:56:40 +02:00
2020-08-23 17:36:59 -05:00
2020-03-17 13:36:10 -04:00
2020-10-07 21:48:28 -04:00
2020-06-09 09:39:13 -07:00
2023-03-22 13:29:57 +01:00
2020-09-02 22:49:06 -04:00
2023-02-01 08:23:21 +01:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2020-10-07 21:48:28 -04:00
2023-03-11 16:40:14 +01:00
2020-07-15 17:26:58 -04:00
2020-07-24 22:32:00 -04:00
2020-06-02 21:23:47 -04:00
2023-04-20 12:10:23 +02:00
2022-10-26 13:25:37 +02:00
2021-05-14 09:50:27 +02:00
2023-06-09 10:30:18 +02:00
2020-06-09 09:39:13 -07:00
2020-10-02 15:27:08 -07:00
2022-04-20 09:23:15 +02:00
2020-06-09 09:39:13 -07:00
2020-10-02 21:52:53 -04:00
2019-11-12 22:21:34 -05:00
2023-05-17 11:47:49 +02:00
2020-08-23 17:36:59 -05:00
2020-06-09 09:39:13 -07:00
2020-10-02 21:42:22 -04:00
2020-03-11 23:07:56 -04:00
2022-06-14 18:32:43 +02:00
2020-01-02 21:57:44 -05:00
2022-02-16 12:54:20 +01:00
2020-01-02 21:57:44 -05:00
2020-08-23 17:36:59 -05:00
2020-08-23 17:36:59 -05:00
2020-09-15 17:34:18 -04:00
2022-06-22 14:13:15 +02:00
2020-03-11 23:07:56 -04:00
2020-08-23 17:36:59 -05:00
2020-09-09 22:37:48 -04:00
2020-01-15 23:09:11 -05:00
2020-10-14 15:15:35 -07:00
2023-01-14 10:15:52 +01:00
2022-01-27 10:54:29 +01:00
2023-04-05 11:23:39 +02:00
2020-07-08 01:16:23 -04:00
2023-01-14 10:15:46 +01:00
2020-08-23 17:36:59 -05:00
2023-06-09 10:30:12 +02:00
2020-07-24 22:09:57 -04:00
2019-12-19 22:08:54 -05:00
2022-01-27 10:54:08 +01:00
2020-10-02 18:53:06 -04:00
2020-02-04 03:05:26 +00:00
2023-02-15 17:22:11 +01:00
2022-11-10 18:14:22 +01:00
2020-03-16 22:08:36 -04:00
2020-09-02 22:49:07 -04:00
2023-02-01 08:23:16 +01:00
2022-12-02 17:39:56 +01:00
2021-01-12 20:18:15 +01:00
2021-04-21 13:00:52 +02:00
2023-04-26 11:27:37 +02:00
2020-03-24 07:57:08 -06:00
2021-09-30 10:11:01 +02:00
2022-11-03 23:57:54 +09:00
2020-10-14 15:15:35 -07:00
2020-09-15 20:28:06 -04:00
2023-04-20 12:10:27 +02:00
2022-08-21 15:15:24 +02:00
2020-09-25 06:20:44 +02:00
2021-05-14 09:50:27 +02:00
2022-01-27 10:54:23 +01:00
2022-01-27 10:54:23 +01:00
2020-02-24 15:01:57 -05:00
2021-04-07 15:00:05 +02:00
2023-06-09 10:30:14 +02:00
2023-05-30 12:57:53 +01:00
2020-08-23 17:36:59 -05:00
2021-05-14 09:50:27 +02:00
2020-10-02 21:52:55 -04:00
2021-10-17 10:43:33 +02:00
2022-01-05 12:40:33 +01:00
2022-06-22 14:13:14 +02:00
2020-08-23 17:36:59 -05:00
2022-03-11 12:11:54 +01:00
2020-01-06 09:45:59 +01:00
2022-04-13 21:01:04 +02:00
2020-06-09 09:39:13 -07:00