linux/drivers/infiniband/hw/irdma
Shiraz Saleem 4984eb5145 RDMA/irdma: Add missing read barriers
On code inspection, there are many instances in the driver where
CEQE and AEQE fields written to by HW are read without guaranteeing
that the polarity bit has been read and checked first.

Add a read barrier to avoid reordering of loads on the CEQE/AEQE fields
prior to checking the polarity bit.

Fixes: 3f49d68425 ("RDMA/irdma: Implement HW Admin Queue OPs")
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Link: https://lore.kernel.org/r/20230711175253.1289-2-shiraz.saleem@intel.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2023-07-17 08:01:22 +03:00
..
cm.c v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
cm.h RDMA/irdma: Increase iWARP CM default rexmit count 2023-03-19 11:37:56 +02:00
ctrl.c RDMA/irdma: Add missing read barriers 2023-07-17 08:01:22 +03:00
defs.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
hmc.c RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
hmc.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
hw.c v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
i40iw_hw.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
i40iw_hw.h
i40iw_if.c RDMA/irdma: Fix Passthrough mode in VM 2022-02-28 12:07:40 -04:00
icrdma_hw.c RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
icrdma_hw.h
irdma.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
Kconfig RDMA/irdma: Use correct kconfig symbol for AUXILIARY_BUS 2021-08-19 10:28:49 -03:00
main.c RDMA/irdma: Add support for address handle re-use 2022-03-15 16:22:55 -03:00
main.h RDMA/irdma: Change name of interrupts 2023-03-19 11:36:26 +02:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
osdep.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
pble.c RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
pble.h RDMA/irdma: Refactor PBLE functions 2023-03-19 11:36:33 +02:00
protos.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
puda.c RDMA/irdma: Add missing read barriers 2023-07-17 08:01:22 +03:00
puda.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
trace_cm.h RDMA: Constify netdev->dev_addr accesses 2021-10-25 14:33:09 -03:00
trace.c RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
trace.h RDMA/irdma: Add dynamic tracing for CM 2021-06-02 19:55:19 -03:00
type.h RDMA/irdma: Refactor HW statistics 2023-03-19 11:36:03 +02:00
uda_d.h RDMA/irdma: Add RoCEv2 UD OP support 2021-06-02 19:55:18 -03:00
uda.c RDMA/irdma: Make irdma_create_mg_ctx return a void 2022-02-28 11:32:42 -04:00
uda.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
uk.c RDMA/irdma: Add missing read barriers 2023-07-17 08:01:22 +03:00
user.h RDMA/irdma: Fix RQ completion opcode 2022-11-17 10:41:28 +02:00
utils.c v6.4 merge window RDMA pull request 2023-04-29 17:21:24 -07:00
verbs.c Linux 6.4 2023-06-27 14:06:29 -03:00
verbs.h RDMA/irdma: Fix RQ completion opcode 2022-11-17 10:41:28 +02:00
ws.c RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00
ws.h RDMA/irdma: Remove enum irdma_status_code 2022-02-23 15:24:18 -04:00