diff options
author | Shiraz Saleem <shiraz.saleem@intel.com> | 2023-07-11 20:52:51 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-07-17 08:01:22 +0300 |
commit | 4984eb51453ff7eddee9e5ce816145be39c0ec5c (patch) | |
tree | f9d69baeb34327823104ff9c0dab987876faf0e0 /scripts/gdb/linux/utils.py | |
parent | d64b1ee12a168030fbb3e0aebf7bce49e9a07589 (diff) | |
download | linux-4984eb51453ff7eddee9e5ce816145be39c0ec5c.tar.xz |
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: 3f49d6842569 ("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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions