linux-imx/drivers/infiniband/hw
Kalesh AP 4a8390f96b RDMA/bnxt_re: Correct the sequence of device suspend
[ Upstream commit 68b3bca2df00f0a63f0aa2db2b2adc795665229e ]

When in fatal error condition, mark device as detached first
and then complete all pending HWRM commands as firmware is not
going to process them and eventually time out. Move the device
to error only if suspend is called when device is in Fatal state.

Also, remove some outdated comments. Remove the stop_irq call
which is no longer required.

Fixes: cc5b9b48d4 ("RDMA/bnxt_re: Recover the device when FW error is detected")
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1731660464-27838-4-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 14:02:16 +01:00
..
bnxt_re RDMA/bnxt_re: Correct the sequence of device suspend 2024-12-05 14:02:16 +01:00
cxgb4 RDMA/cxgb4: Dump vendor specific QP details 2024-10-21 13:22:33 -03:00
efa RDMA/efa: Add support for node guid 2024-08-23 11:52:45 -03:00
erdma RDMA/erdma: Return QP state in erdma_query_qp 2024-09-09 21:17:09 +03:00
hfi1 [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
hns RDMA/hns: Fix different dgids mapping to the same dip_idx 2024-12-05 14:02:14 +01:00
irdma RDMA/irdma: Fix misspelling of "accept*" 2024-10-11 14:06:09 -03:00
mana RDMA/mana_ib: use the correct page size for mapping user-mode doorbell page 2024-09-02 10:32:08 +03:00
mlx4 RDMA/mlx4: Simplify an alloc_ordered_workqueue() invocation 2024-08-23 11:37:49 -03:00
mlx5 RDMA/mlx5: Move events notifier registration to be after device registration 2024-12-05 14:02:14 +01:00
mthca RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
ocrdma RDMA/ocrdma: Don't inline statistics functions 2024-07-11 13:25:11 +03:00
qedr RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
qib IB/qib: Remove unused declarations in header file 2024-09-10 16:41:03 +03:00
usnic IOMMU Updates for Linux v6.11 2024-07-19 09:59:58 -07:00
vmw_pvrdma RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
Makefile